dengzhhu653 commented on code in PR #4326:
URL: https://github.com/apache/hive/pull/4326#discussion_r1309969693


##########
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:
   How about testing `client.getTables("def*", "*")` and 
`client.getTables("*no_such_database*", "*")` the first argument for the 
database is a pattern.
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to