You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "dengzhhu653 (via GitHub)" <gi...@apache.org> on 2023/07/24 13:56:11 UTC
[GitHub] [hive] dengzhhu653 commented on a diff in pull request #4326: HIVE-27346: Getting exception for wildcard (*) search for database and table name
dengzhhu653 commented on code in PR #4326:
URL: https://github.com/apache/hive/pull/4326#discussion_r1272302159
##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesGetExists.java:
##########
@@ -271,6 +271,20 @@ public void testGetTables() throws Exception {
Assert.assertEquals("Found functions size", 1, tables.size());
Assert.assertTrue("Comparing tablenames", tables.contains(testTables[6].getTableName()));
+ // Find tables by using the wildcard sign "*"
+ tables = client.getTables(DEFAULT_DATABASE, "*");
Review Comment:
I guess we need to test searching the tables with database '*', `getTables(DEFAULT_DATABASE, "*")` means the table pattern is '*', it's not reflect the changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org