From bd0aab114d44d62ab095fe4f2a84a2b8dfb99c67 Mon Sep 17 00:00:00 2001 From: Christian Zentgraf Date: Fri, 21 Nov 2025 09:47:27 -0500 Subject: [PATCH] fix(ci): Use PrestoC++ license check script for protocol The protocol generation used the Velox license check script to remove the license headers from special files. But presto-native-execution has its own license check that should be used. This decouples PrestoC++ and Velox. --- .../presto_cpp/presto_protocol/java-to-struct-json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presto-native-execution/presto_cpp/presto_protocol/java-to-struct-json.py b/presto-native-execution/presto_cpp/presto_protocol/java-to-struct-json.py index 9ac2d4eb4e2dd..68238a6b7ffa2 100755 --- a/presto-native-execution/presto_cpp/presto_protocol/java-to-struct-json.py +++ b/presto-native-execution/presto_cpp/presto_protocol/java-to-struct-json.py @@ -169,7 +169,7 @@ def member_name(name): def special(filepath, current_class, key, classes, depends): classes[current_class].class_name = current_class (status, stdout, stderr) = classes[current_class][key] = util.run( - "../../velox/scripts/checks/license-header.py --header ../../license.header --remove " + "../../scripts/license-header.py --header ../../license.header --remove " + filepath ) classes[current_class][key] = stdout