Skip to content

Commit

Permalink
Remove redundant table comment test in Hive
Browse files Browse the repository at this point in the history
It's covered by BaseConnectorTest.testCommentTable.
  • Loading branch information
ebyhr committed Jan 17, 2024
1 parent e8622f0 commit b6f0e08
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b6f0e08

Please sign in to comment.