Skip to content

Commit

Permalink
upgrade druid 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
agapple committed Apr 19, 2021
1 parent a09cd9a commit 0c39950
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public void testSimple() throws Throwable {
repository.console(sql2);
repository.setDefaultSchema("test");
SchemaObject table = repository.findTable("table_x1");
System.out.println(table.getStatement().toString());
Assert.assertTrue(table.findColumn("value1") != null);
}

Expand All @@ -33,6 +34,7 @@ public void test_block_format() throws Throwable {
repository.console(sql);
repository.setDefaultSchema("test");
SchemaObject table = repository.findTable("parent");
System.out.println(table.getStatement().toString());
Assert.assertTrue(table.findColumn("id") != null);
}

Expand All @@ -46,6 +48,7 @@ public void test_json_index() throws Throwable {
repository.console(sql);
repository.setDefaultSchema("test");
SchemaObject table = repository.findTable("articles");
System.out.println(table.getStatement().toString());
Assert.assertTrue(table.findColumn("article_id") != null);
}

Expand All @@ -59,6 +62,7 @@ public void test_invisible() throws Throwable {
repository.console(sql);
repository.setDefaultSchema("test");
SchemaObject table = repository.findTable("proposal_order_info");
System.out.println(table.getStatement().toString());
Assert.assertTrue(table.findColumn("id") != null);
}

Expand All @@ -70,7 +74,8 @@ public void test_persistent() throws Throwable {
+ "DIM_SUM varchar(128) AS (MD5(UPPER(CONCAT(c2, c1)))) PERSISTENT)";
repository.console(sql);
repository.setDefaultSchema("test");
SchemaObject table = repository.findTable("proposal_order_info");
Assert.assertTrue(table.findColumn("id") != null);
SchemaObject table = repository.findTable("example_vc_tbl");
System.out.println(table.getStatement().toString());
Assert.assertTrue(table.findColumn("c1") != null);
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.2.2</version>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>com.lmax</groupId>
Expand Down

0 comments on commit 0c39950

Please sign in to comment.