Skip to content

Commit

Permalink
Bump Coral version
Browse files Browse the repository at this point in the history
The previous version was about 11 months old by now. Includes a bump of
Apache Ivy transitive dependency.
  • Loading branch information
ksobolew authored and kokosing committed Apr 20, 2023
1 parent a524709 commit 0c99af4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<dep.errorprone.version>2.18.0</dep.errorprone.version>
<dep.testcontainers.version>1.18.0</dep.testcontainers.version>
<dep.duct-tape.version>1.0.8</dep.duct-tape.version>
<dep.coral.version>2.0.77</dep.coral.version>
<dep.coral.version>2.0.153</dep.coral.version>
<dep.confluent.version>7.3.1</dep.confluent.version>
<dep.kafka-clients.version>3.3.2</dep.kafka-clients.version>
<dep.casandra.version>4.14.0</dep.casandra.version>
Expand Down Expand Up @@ -1165,7 +1165,7 @@
<dependency>
<groupId>com.linkedin.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>1.21.0.152</version>
<version>1.21.0.160</version>
<classifier>shaded</classifier>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,9 @@ public void testShowCreateView()

String showCreateViewSql = "SHOW CREATE VIEW %s.default.hive_show_view";
String expectedResult = "CREATE VIEW %s.default.hive_show_view SECURITY DEFINER AS\n" +
"SELECT\n" +
" \"n_nationkey\"\n" +
", \"n_name\"\n" +
", \"n_regionkey\"\n" +
", \"n_comment\"\n" +
"SELECT *\n" +
"FROM\n" +
" \"default\".\"nation\"";
" \"default\".\"nation\" \"nation\"";

QueryResult actualResult = onTrino().executeQuery(format(showCreateViewSql, "hive"));
assertThat(actualResult).hasRowsCount(1);
Expand Down Expand Up @@ -386,7 +382,7 @@ public void testHiveViewInInformationSchema()
row("hive", "test_schema", "trino_test_view", "VIEW"));

assertThat(onTrino().executeQuery("SELECT view_definition FROM information_schema.views WHERE table_schema = 'test_schema' and table_name = 'hive_test_view'")).containsOnly(
row("SELECT \"n_nationkey\", \"n_name\", \"n_regionkey\", \"n_comment\"\nFROM \"default\".\"nation\""));
row("SELECT *\nFROM \"default\".\"nation\" AS \"nation\""));

assertThat(onTrino().executeQuery("DESCRIBE test_schema.hive_test_view"))
.contains(row("n_nationkey", "bigint", "", ""));
Expand Down

0 comments on commit 0c99af4

Please sign in to comment.