[feat](catalog) Support include_table_list and lower_case_database_names for external catalog#60580
Open
morningman wants to merge 5 commits intoapache:masterfrom
Open
[feat](catalog) Support include_table_list and lower_case_database_names for external catalog#60580morningman wants to merge 5 commits intoapache:masterfrom
morningman wants to merge 5 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
1 similar comment
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 30010 ms |
ClickBench: Total hot run time: 28.25 s |
Contributor
FE Regression Coverage ReportIncrement line coverage |
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.
What problem does this PR solve?
Add
include_table_listcatalog property to allow users to specify anexplicit 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
getAllTablesfrom HMS will timeout, can use this to avoid.Add
lower_case_database_namescatalog property with MySQL-compatiblesemantics:
Also rename
only_test_lower_case_table_namestolower_case_table_names(with backward compatibility), and move shared property constants
(INCLUDE_DATABASE_LIST, EXCLUDE_DATABASE_LIST, LOWER_CASE_META_NAMES,
META_NAMES_MAPPING) from Resource to ExternalCatalog where they
logically belong.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)