diff --git a/java-client/pom.xml b/java-client/pom.xml index a753e68..ef364e4 100644 --- a/java-client/pom.xml +++ b/java-client/pom.xml @@ -6,7 +6,7 @@ tech.mlsql.byzer-client-sdk java-client - 0.0.3 + 0.0.4 Byzer client sdk https://github.com/allwefantasy/byzer-client-sdk @@ -67,7 +67,7 @@ tech.mlsql.byzer-client-sdk scala-client_${scala.binary.version} - 0.0.3 + 0.0.4 @@ -262,4 +262,4 @@ - \ No newline at end of file + diff --git a/java-client/src/test/java/tech/mlsql/byzer_client_sdk/j_alng/test/JavaTest.java b/java-client/src/test/java/tech/mlsql/byzer_client_sdk/j_alng/test/JavaTest.java index 0117f7a..bb6e219 100644 --- a/java-client/src/test/java/tech/mlsql/byzer_client_sdk/j_alng/test/JavaTest.java +++ b/java-client/src/test/java/tech/mlsql/byzer_client_sdk/j_alng/test/JavaTest.java @@ -11,26 +11,26 @@ public class JavaTest { @Test public void testJoin() { - tech.mlsql.byzer_client_sdk.scala_lang.generator.Byzer builder = Byzer.builder(); - BaseNode tableLoad1 = builder.load().format("csv").path("/tmp/jack").options().add("header", "true").end().tag("table1"); - BaseNode tableLoad2 = builder.load().format("csv").path("/tmp/admond").options().add("header", "true").end().tag("table2"); - - tableLoad1.end(); - tableLoad2.end(); - - String table1 = tableLoad1.tableName(); - String table2 = tableLoad2.tableName(); - - System.out.println(table1); - System.out.println(table2); - - String genCode = builder.join(). - from(Expr.build(table1)). - left(Expr.build(table2)). - on(Expr.build(String.format("%s.a=%s.b", table1, table2))). - leftColumns(Expr.build(String.format("%s.a,%s.c", table1, table2))). - rightColumns(Expr.build(String.format("%s.m", table2))).end() - .toScript(); - System.out.println(genCode); +// tech.mlsql.byzer_client_sdk.scala_lang.generator.Byzer builder = Byzer.builder(); +// BaseNode tableLoad1 = builder.load().format("csv").path("/tmp/jack").options().add("header", "true").end().tag("table1"); +// BaseNode tableLoad2 = builder.load().format("csv").path("/tmp/admond").options().add("header", "true").end().tag("table2"); +// +// tableLoad1.end(); +// tableLoad2.end(); +// +// String table1 = tableLoad1.tableName(); +// String table2 = tableLoad2.tableName(); +// +// System.out.println(table1); +// System.out.println(table2); +// +// String genCode = builder.join(). +// from(Expr.build(table1)). +// left(Expr.build(table2)). +// on(Expr.build(String.format("%s.a=%s.b", table1, table2))). +// leftColumns(Expr.build(String.format("%s.a,%s.c", table1, table2))). +// rightColumns(Expr.build(String.format("%s.m", table2))).end() +// .toScript(); +// System.out.println(genCode); } } diff --git a/scala-client/.idea/compiler.xml b/scala-client/.idea/compiler.xml index 8edbeb0..dce505a 100644 --- a/scala-client/.idea/compiler.xml +++ b/scala-client/.idea/compiler.xml @@ -17,11 +17,13 @@ + diff --git a/scala-client/.idea/scala_compiler.xml b/scala-client/.idea/scala_compiler.xml index 5c0e04c..cd53e72 100644 --- a/scala-client/.idea/scala_compiler.xml +++ b/scala-client/.idea/scala_compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/scala-client/pom.xml b/scala-client/pom.xml index 86cc47d..8e92a33 100644 --- a/scala-client/pom.xml +++ b/scala-client/pom.xml @@ -6,7 +6,7 @@ tech.mlsql.byzer-client-sdk scala-client_2.12 - 0.0.3 + 0.0.4 Byzer client sdk https://github.com/allwefantasy/byzer-client-sdk