feat: Migrate global index scan and file meta utilities#125
Open
lxy-9602 wants to merge 1 commit into
Open
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
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.
Purpose
FileMetaUtils: converts and prepares commit/file metadata used by migration flows and global-index write tasks.include/paimon/migrate/file_meta_utils.hsrc/paimon/core/migrate/file_meta_utils.cppGlobalIndexWriteTask: builds write tasks that update global index files from indexed splits.src/paimon/core/global_index/global_index_write_task.cppGlobalIndexScanImpl: implements global index scan planning/execution for indexed table reads.src/paimon/core/global_index/global_index_scan_impl.hsrc/paimon/core/global_index/global_index_scan_impl.cppGlobalIndexScan: provides the scan entry point that wires table scan logic with global index scanning.src/paimon/core/global_index/global_index_scan.cppGlobalIndexEvaluator: defines predicate evaluation for global index scan results.src/paimon/core/global_index/global_index_evaluator.hGlobalIndexEvaluatorImpl: provides the concrete evaluator implementation for global index predicates.src/paimon/core/global_index/global_index_evaluator_impl.hsrc/paimon/core/global_index/global_index_evaluator_impl.cppIndexedSplitImpl: represents splits decorated with global-index metadata.src/paimon/core/global_index/indexed_split_impl.hGlobalIndexFileManager: manages global index file paths and related lifecycle metadata.src/paimon/core/global_index/global_index_file_manager.hTests
file_meta_utils_test.cpp: covers file metadata utility behavior.indexed_split_test.cpp: covers indexed split behavior.API and Format
Documentation
Generative AI tooling
Migrate-by: Codex