branch-4.1: [feat](catalog) Support include_table_list property and refactor lower_case_database/table_names for external catalog (#60580)#61498
Merged
yiguolei merged 1 commit intoapache:branch-4.1from Mar 19, 2026
Conversation
…r_case_database/table_names for external catalog (apache#60580) Add `include_table_list` catalog property to allow users to specify an explicit list of tables (in "db.tbl" format) to include when listing tables from external catalogs such as HMS. When set, only the specified tables are returned instead of fetching the full table list from the remote metastore, which can significantly reduce metadata overhead for catalogs with a large number of tables. Sometimes calling `getAllTables` from HMS will timeout, can use this to avoid. 2. Introduce `lower_case_database_names` catalog property and perform a unified refactoring together with `lower_case_table_names`: - 0: case-sensitive (default) - 1: database names are stored as lowercase - 2: database names are compared case-insensitively - Fix display behavior when lower_case_database_names or lower_case_table_names = 2: database and table names are now displayed using their original case from the remote metastore, rather than the lowercased form. - Fix case-sensitivity handling in SQL statements: when referencing database or table names in queries, the case-sensitivity behavior now correctly respects the corresponding parameter configuration. - Fix case-sensitivity handling in SHOW statements to properly apply the configured case-sensitivity rules.
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
yiguolei
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bp #60580