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/08/30 09:21:43 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_r1309966445


##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestDatabases.java:
##########
@@ -454,6 +454,22 @@ public void testGetDatabases() throws Exception {
     databases = client.getDatabases("*_not_such_database_*");
     Assert.assertEquals("No such databases size", 0, databases.size());
 
+    // Find all the databases by using * as the database names' pattern
+    databases = client.getDatabases("*");

Review Comment:
   We don't make any changes on the `getDatabases` method, these tests look unrelated to the change.



-- 
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