diff --git a/calcite-rs-jni/pom.xml b/calcite-rs-jni/pom.xml index efe6504..d726238 100644 --- a/calcite-rs-jni/pom.xml +++ b/calcite-rs-jni/pom.xml @@ -23,7 +23,7 @@ ./bigquery ./calcite ./jdbc - sqlengine + ./sqlengine diff --git a/calcite-rs-jni/sqlengine/src/main/java/com/hasura/SQLHttpServer.java b/calcite-rs-jni/sqlengine/src/main/java/com/hasura/SQLHttpServer.java index 29084fe..5a74e27 100644 --- a/calcite-rs-jni/sqlengine/src/main/java/com/hasura/SQLHttpServer.java +++ b/calcite-rs-jni/sqlengine/src/main/java/com/hasura/SQLHttpServer.java @@ -46,6 +46,7 @@ public static void main(String[] args) throws IOException { HttpServer server = HttpServer.create(new InetSocketAddress(PORT), 0); server.createContext("/sql", new SQLHandler()); + server.createContext("/v1/sql", new SQLHandler()); server.setExecutor(null); server.start(); System.out.println("Server started on port " + PORT);