Neer393 commented on code in PR #6012:
URL: https://github.com/apache/hive/pull/6012#discussion_r2262002978
##########
standalone-metastore/metastore-client/src/main/java/org/apache/hadoop/hive/metastore/client/ThriftHiveMetaStoreClient.java:
##########
@@ -2162,6 +2162,16 @@ public List<String> listTableNamesByFilter(String
catName, String dbName, String
isClientFilterEnabled, filterHook, catName, dbName, tableNames);
}
+ @Override
+ public List<Table> listTablesByFilter(String catName, String dbName, String
filter,
+ int maxTables) throws TException {
+ List<Table> tables =
+ client.get_tables_by_filter(prependCatalogToDbName(catName, dbName,
conf), filter,
Review Comment:
Also I don't think batching can be applied here as batching requires a list
of table names already for which you just make batched calls for
```getTableObjectsByName()``` .But here in we don't have table names so that
would also not work
--
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]