forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](external catalog) Fix missing fields when rebuilding metadata f…
…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
- Loading branch information
Showing
4 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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