Skip to content

Commit 085a9bd

Browse files
updated presto.xml to include sidecar plugin
1 parent 3dc9014 commit 085a9bd

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

presto-native-execution/src/test/java/com/facebook/presto/nativeworker/TestPrestoContainerNativeClusterSidecarInfrastructure.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ protected ContainerNativeQueryRunnerWithSidecar createQueryRunner()
2121
@Test
2222
public void Test1(){
2323
// assertQuery("SHOW FUNCTIONS");
24-
// assertQuery("SHOW SESSION");
25-
// assertQuery("SELECT 1");
26-
assertQuery("SELECT array_sort(ARRAY [5, 20, null, 5, 3, 50])","SELECT ARRAY [3, 5, 5, 20, 50, null]");
27-
28-
assertQuery("SELECT array_sort(ARRAY [5, 20, null, 5, 3, 50])");
24+
System.out.println(computeActual("SHOW SESSION"));
25+
System.out.println(computeActual("SELECT 1"));
26+
System.out.println(computeActual("select array_sort(array[row('apples', 23), row('bananas', 12), row('grapes', 44)], x -> x[2])"));
27+
// System.out.println(computeActual("SELECT array_sort(ARRAY [5, 20, null, 5, 3, 50])"));
2928
}
3029

3130
// public void Test2(){

presto-server/src/main/provisio/presto.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,10 @@
273273
<unpack />
274274
</artifact>
275275
</artifactSet>
276+
277+
<artifactSet to="plugin/native-sidecar-plugin">
278+
<artifact id="${project.groupId}:presto-native-sidecar-plugin:zip:${project.version}">
279+
<unpack />
280+
</artifact>
281+
</artifactSet>
276282
</runtime>

0 commit comments

Comments
 (0)