terrytlu opened a new pull request, #17317: URL: https://github.com/apache/iceberg/pull/17317
HiveCatalog.listTables previously called HMS getTables and loaded every Table object into the client to filter out non-Iceberg tables. For namespaces with many tables this causes a timeout / OutOfMemoryError on the client side. Add listIcebergTablesByFilter, which uses HMS get_table_names_by_filter to filter on the `table_type` parameter server-side, so only the matching Iceberg table names are returned (not full Table objects). listTables uses this path by default; the existing list-iceberg-tables-legacy property opts back into the previous client-side behavior. Closes #17312 -- 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]
