From b6f0e086c1de6d33c52bc5ec7f5b95290d52eb53 Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Wed, 17 Jan 2024 22:51:10 +0900 Subject: [PATCH] Remove redundant table comment test in Hive It's covered by BaseConnectorTest.testCommentTable. --- .../trino/plugin/hive/BaseHiveConnectorTest.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseHiveConnectorTest.java b/plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseHiveConnectorTest.java index 18bc7a699f55..5e0623ab7a24 100644 --- a/plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseHiveConnectorTest.java +++ b/plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseHiveConnectorTest.java @@ -4293,20 +4293,6 @@ protected AbstractLongAssert testTaskScaleWriters( } } - @Test - public void testTableCommentsTable() - { - assertUpdate("CREATE TABLE test_comment (c1 bigint) COMMENT 'foo'"); - String selectTableComment = format("" + - "SELECT comment FROM system.metadata.table_comments " + - "WHERE catalog_name = '%s' AND schema_name = '%s' AND table_name = 'test_comment'", - getSession().getCatalog().get(), - getSession().getSchema().get()); - assertQuery(selectTableComment, "SELECT 'foo'"); - - assertUpdate("DROP TABLE IF EXISTS test_comment"); - } - @Test @Override public void testShowCreateTable()