-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[fix](external catalog) Fix missing fields when rebuilding metadata from image #47603
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
a683726
to
6311ff2
Compare
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 31533 ms
|
TPC-DS: Total hot run time: 190547 ms
|
ClickBench: Total hot run time: 31.3 s
|
6311ff2
to
694cb92
Compare
694cb92
to
76d55b2
Compare
run buildall |
TPC-H: Total hot run time: 31381 ms
|
TPC-DS: Total hot run time: 182686 ms
|
ClickBench: Total hot run time: 30.6 s
|
run buildall |
run buildall |
TPC-H: Total hot run time: 31595 ms
|
TPC-DS: Total hot run time: 182592 ms
|
ClickBench: Total hot run time: 31.61 s
|
run buildall |
PR approved by at least one committer and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…rom image (apache#47603) Issue Number: close #xxx Related PR: apache#41510 Problem Summary: In PR apache#41510, we added several fields to External Catalog. However, we only handled the upgrade scenario for EditLog but not for Image. This causes Catalogs rebuilt from Image to miss these fields, resulting in NullPointerException during queries. This PR fixes this issue. Specifically: 1. Added null check and initialization for fields in gsonPostProcess 2. Ensured consistent behavior between EditLog replay and Image deserialization 3. Added proper logging for better troubleshooting
Related PR: #47603 Problem Summary: When checking if a table fetched from meta has a remote name, we should use tmpmap
…g metadata from image (apache#47751) cherry-pick (apache#47603)
…rom image (apache#47603) ### What problem does this PR solve? Issue Number: close #xxx Related PR: apache#41510 Problem Summary: In PR apache#41510, we added several fields to External Catalog. However, we only handled the upgrade scenario for EditLog but not for Image. This causes Catalogs rebuilt from Image to miss these fields, resulting in NullPointerException during queries. This PR fixes this issue. Specifically: 1. Added null check and initialization for fields in gsonPostProcess 2. Ensured consistent behavior between EditLog replay and Image deserialization 3. Added proper logging for better troubleshooting
Related PR: apache#47603 Problem Summary: When checking if a table fetched from meta has a remote name, we should use tmpmap
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #41510
Problem Summary:
In PR #41510, we added several fields to External Catalog. However, we only handled the upgrade scenario for EditLog but not for Image. This causes Catalogs rebuilt from Image to miss these fields, resulting in NullPointerException during queries. This PR fixes this issue.
Specifically:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)