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 596b49015c0a8..bbdf7f067d2c9 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 @@ -334,6 +334,9 @@ public static QueryRunner createNativeQueryRunner( .put("hive.allow-drop-table", "true") .build(); + ImmutableMap.Builder coordinatorProperties = ImmutableMap.builder(); + coordinatorProperties.put("native-execution-enabled", "true"); + // Make query runner with external workers for tests return HiveQueryRunner.createQueryRunner( ImmutableList.of(), @@ -344,7 +347,7 @@ public static QueryRunner createNativeQueryRunner( .putAll(getNativeWorkerSystemProperties()) .putAll(isCoordinatorSidecarEnabled ? getNativeSidecarProperties() : ImmutableMap.of()) .build(), - ImmutableMap.of(), + coordinatorProperties.build(), "legacy", hiveProperties, workerCount,