{{ message }}
feat: Migrate bitmap file index implementation - #49
Merged
Conversation
Contributor
Contributor
leaves12138
approved these changes
Jun 5, 2026
leaves12138
left a comment
Contributor
There was a problem hiding this comment.
LGTM. No blocking issues found for this staged intermediate.
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
No Linked issue.
Migrate bitmap file index implementation — the core secondary index for accelerating point lookups and equality filters:
Bitmap file index (
src/paimon/common/file_index/bitmap/):BitmapFileIndex— bitmap-based file index reader/writer supporting equality and IN-list queries (bitmap_file_index.h/cpp)BitmapFileIndexMeta— abstract metadata describing bitmap index layout and column mappings (bitmap_file_index_meta.h/cpp)BitmapFileIndexMetaV1— v1 metadata format with fixed-width bitmap entries (bitmap_file_index_meta_v1.h/cpp)BitmapFileIndexMetaV2— v2 metadata format with variable-length entries and null bitmap support (bitmap_file_index_meta_v2.h/cpp)ApplyBitmapIndexBatchReader— batch reader that applies bitmap index filtering to row batches (apply_bitmap_index_batch_reader.h)BitmapIndexResult— bitmap-backed query result with intersection/union operations (bitmap_index_result.cpp)BitmapFileIndexFactory— factory for registering bitmap file index implementation (bitmap_file_index_factory.h/cpp)Tests
bitmap_file_index_test.cpp— end-to-end bitmap index write/read, equality/IN queries, multi-type supportbitmap_file_index_meta_test.cpp— metadata serialization round-trip for v1 and v2 formatsapply_bitmap_index_batch_reader_test.cpp— batch reader filtering with bitmap indexbitmap_index_result_test.cpp— bitmap result set operationsAPI and Format
API and Format
Documentation
Generative AI tooling
Migrate-by: Aone Copilot (Claude)