-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](multi-catalog) fix table not found error after catalog creation #45521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
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
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
Author
|
run feut |
1 similar comment
Contributor
Author
|
run feut |
If we set lower_case_table_names to 2, and then create a catalog with meta cache. The `lowerCaseToTableName` in `ExternalDatabse` will be empty because `listTableNames` method is invoked in meta cache. Now, if we directly execute `getTableNullable`, we will get null.
1fdf46b to
143d7bb
Compare
Contributor
Author
|
run buildall |
Contributor
|
TPC-H: Total hot run time: 39344 ms |
TPC-DS: Total hot run time: 196014 ms |
ClickBench: Total hot run time: 32.86 s |
Contributor
Author
|
run feut |
2 similar comments
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
16 tasks
Contributor
Author
|
#41510 fix this problem |
liutang123
pushed a commit
to liutang123/doris
that referenced
this pull request
Apr 29, 2025
liutang123
pushed a commit
to liutang123/doris
that referenced
this pull request
Apr 29, 2025
…rror after catalog creation apache#45521" due to apache#41510 has fixed this bug. This reverts commit 9f72b3d534f1b6eb53b5198cd3f0f757e71d35f8.
cambyzju
pushed a commit
to cambyzju/incubator-doris
that referenced
this pull request
Jul 17, 2025
cambyzju
pushed a commit
to cambyzju/incubator-doris
that referenced
this pull request
Jul 17, 2025
…rror after catalog creation apache#45521" due to apache#41510 has fixed this bug. This reverts commit 9f72b3d534f1b6eb53b5198cd3f0f757e71d35f8.
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.
If we set lower_case_table_names to 2, and then create a catalog with meta cache. The
lowerCaseToTableNameinExternalDatabsewill be empty becauselistTableNamesmethod is invoked in meta cache. Now, if we directly executegetTableNullable, we will get null.What problem does this PR solve?
Issue Number: close #xxx
Related PR: #38227
Problem Summary:
If we directly query a table after the catalog creation, we will get a AnalysisException with table not found message.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)