diff --git a/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/NativeQueryRunnerUtils.java b/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/NativeQueryRunnerUtils.java index 23428173a753d..550a60b8b2bc5 100644 --- a/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/NativeQueryRunnerUtils.java +++ b/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/NativeQueryRunnerUtils.java @@ -33,6 +33,7 @@ public static Map getNativeWorkerHiveProperties(String storageFo public static Map getNativeWorkerSystemProperties() { return ImmutableMap.builder() + .put("native-execution-enabled", "true") .put("optimizer.optimize-hash-generation", "false") .put("parse-decimal-literals-as-double", "true") .put("regex-library", "RE2J") diff --git a/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/PrestoNativeQueryRunnerUtils.java b/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/PrestoNativeQueryRunnerUtils.java index bbd9256d14bd7..1bbd9b7dcb436 100644 --- a/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/PrestoNativeQueryRunnerUtils.java +++ b/presto-native-execution/src/test/java/com/facebook/presto/nativeworker/PrestoNativeQueryRunnerUtils.java @@ -158,7 +158,6 @@ public static QueryRunner createNativeQueryRunner( ImmutableMap.builder() .put("http-server.http.port", "8080") .put("experimental.internal-communication.thrift-transport-enabled", String.valueOf(useThrift)) - .put("native-execution-enabled", "true") .putAll(getNativeWorkerSystemProperties()) .build(), ImmutableMap.of(), diff --git a/presto-native-execution/src/test/java/com/facebook/presto/spark/PrestoSparkNativeQueryRunnerUtils.java b/presto-native-execution/src/test/java/com/facebook/presto/spark/PrestoSparkNativeQueryRunnerUtils.java index 025614d61046c..b219268583112 100644 --- a/presto-native-execution/src/test/java/com/facebook/presto/spark/PrestoSparkNativeQueryRunnerUtils.java +++ b/presto-native-execution/src/test/java/com/facebook/presto/spark/PrestoSparkNativeQueryRunnerUtils.java @@ -81,7 +81,6 @@ public static Map getNativeExecutionSessionConfigs() // Do not use default Prestissimo config files. Presto-Spark will generate the configs on-the-fly. .put("catalog.config-dir", "/") .put("task.info-update-interval", "100ms") - .put("native-execution-enabled", "true") .put("spark.initial-partition-count", "1") .put("register-test-functions", "true") .put("native-execution-program-arguments", "--logtostderr=1 --minloglevel=3")