Skip to content

feat: Migrate global index scan and file meta utilities#125

Open
lxy-9602 wants to merge 1 commit into
apache:mainfrom
lxy-9602:add-global-index-and-migrate
Open

feat: Migrate global index scan and file meta utilities#125
lxy-9602 wants to merge 1 commit into
apache:mainfrom
lxy-9602:add-global-index-and-migrate

Conversation

@lxy-9602

Copy link
Copy Markdown
Contributor

Purpose

  • FileMetaUtils: converts and prepares commit/file metadata used by migration flows and global-index write tasks.
    • include/paimon/migrate/file_meta_utils.h
    • src/paimon/core/migrate/file_meta_utils.cpp
  • GlobalIndexWriteTask: builds write tasks that update global index files from indexed splits.
    • src/paimon/core/global_index/global_index_write_task.cpp
  • GlobalIndexScanImpl: implements global index scan planning/execution for indexed table reads.
    • src/paimon/core/global_index/global_index_scan_impl.h
    • src/paimon/core/global_index/global_index_scan_impl.cpp
  • GlobalIndexScan: provides the scan entry point that wires table scan logic with global index scanning.
    • src/paimon/core/global_index/global_index_scan.cpp
  • GlobalIndexEvaluator: defines predicate evaluation for global index scan results.
    • src/paimon/core/global_index/global_index_evaluator.h
  • GlobalIndexEvaluatorImpl: provides the concrete evaluator implementation for global index predicates.
    • src/paimon/core/global_index/global_index_evaluator_impl.h
    • src/paimon/core/global_index/global_index_evaluator_impl.cpp
  • IndexedSplitImpl: represents splits decorated with global-index metadata.
    • src/paimon/core/global_index/indexed_split_impl.h
  • GlobalIndexFileManager: manages global index file paths and related lifecycle metadata.
    • src/paimon/core/global_index/global_index_file_manager.h

Tests

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant