diff --git a/presto-native-execution/presto_cpp/main/thrift/thrift2json.py b/presto-native-execution/presto_cpp/main/thrift/thrift2json.py index 16aaff969eac1..83aa828b04e70 100755 --- a/presto-native-execution/presto_cpp/main/thrift/thrift2json.py +++ b/presto-native-execution/presto_cpp/main/thrift/thrift2json.py @@ -38,7 +38,9 @@ def preprocess(file_path, output_temp_path): lines = file.readlines() modified_lines = [] for line in lines: - modified_line = re.sub(r"\s*,*\s*drift\.recursive_reference=true\s*", "", line) + modified_line = re.sub( + r"\s*,*\s*drift\.recursive_reference\s*=\s*true\s*,*\s*", "", line + ) modified_line = re.sub(r"\(\s*\)$", "", modified_line) modified_lines.append(modified_line) with open(output_temp_path, "w") as file: diff --git a/presto-native-execution/scripts/setup-centos.sh b/presto-native-execution/scripts/setup-centos.sh index 015ee736be1fc..575d715c3ee46 100755 --- a/presto-native-execution/scripts/setup-centos.sh +++ b/presto-native-execution/scripts/setup-centos.sh @@ -33,7 +33,7 @@ export NPROC=${NPROC:-$(getconf _NPROCESSORS_ONLN)} function install_presto_deps_from_package_managers { dnf install -y maven java clang-tools-extra jq perl-XML-XPath # This python version is installed by the Velox setup scripts - pip install regex pyyaml chevron black + pip install regex pyyaml chevron black ptsd-jbroll } function install_gperf {