Skip to content

Commit

Permalink
[native] Fix native e2e test coordinator session property
Browse files Browse the repository at this point in the history
To include native-execution-enabled as true in native e2e testing
  • Loading branch information
kewang1024 committed Dec 2, 2024
1 parent 99757d1 commit 6306c99
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ public static QueryRunner createNativeQueryRunner(
.put("hive.allow-drop-table", "true")
.build();

ImmutableMap.Builder<String, String> coordinatorProperties = ImmutableMap.builder();
coordinatorProperties.put("native-execution-enabled", "true");

// Make query runner with external workers for tests
return HiveQueryRunner.createQueryRunner(
ImmutableList.of(),
Expand All @@ -344,7 +347,7 @@ public static QueryRunner createNativeQueryRunner(
.putAll(getNativeWorkerSystemProperties())
.putAll(isCoordinatorSidecarEnabled ? getNativeSidecarProperties() : ImmutableMap.of())
.build(),
ImmutableMap.of(),
coordinatorProperties.build(),
"legacy",
hiveProperties,
workerCount,
Expand Down

0 comments on commit 6306c99

Please sign in to comment.