From 0c99af47f6cee100d869fc83b72fa956fb4b743e Mon Sep 17 00:00:00 2001 From: Krzysztof Sobolewski Date: Wed, 12 Apr 2023 16:17:50 +0200 Subject: [PATCH] Bump Coral version The previous version was about 11 months old by now. Includes a bump of Apache Ivy transitive dependency. --- pom.xml | 4 ++-- .../tests/product/hive/AbstractTestHiveViews.java | 10 +++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 58b337d4dc78..809abc4f7d32 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ 2.18.0 1.18.0 1.0.8 - 2.0.77 + 2.0.153 7.3.1 3.3.2 4.14.0 @@ -1165,7 +1165,7 @@ com.linkedin.calcite calcite-core - 1.21.0.152 + 1.21.0.160 shaded diff --git a/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/AbstractTestHiveViews.java b/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/AbstractTestHiveViews.java index 94f00eb77d3c..67c6ade43627 100644 --- a/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/AbstractTestHiveViews.java +++ b/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/AbstractTestHiveViews.java @@ -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); @@ -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", "", ""));