lxy-9602 opened a new pull request, #550:
URL: https://github.com/apache/paimon-cpp/pull/550

   <!-- PR titles must follow Conventional Commits: <type>(<optional-scope>): 
<description> -->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Add `bitmap-legacy` as a global index type by wrapping the existing bitmap 
file index with the global index reader and writer adapters.
   
   This supports unsorted input and writes one index file per shard. Queries 
support equality, inequality, IN, NOT IN, and null checks, reusing the existing 
global index framework for row-ID offsets and merging shard results.
   
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   - Add factory coverage for `bitmap-legacy`.
   - Add an integration test that writes and commits four shards using bitmap 
file index formats v1 and v2, then verifies:
     - Queries across shards and global row-ID offsets.
     - Duplicate values, missing values, nulls, and an all-null shard.
     - Shard pruning with requested row ranges.
     - Unsupported predicates returning no index result.
     - Predicate evaluation followed by reading matching table rows.
   <!--
   Describe tests added or updated and what they cover; explain if no test 
changes are needed.
   Omit execution commands, results, and reasons tests were not run locally.
   -->
   
   ### API and Format
   No public API changes. Adds the `bitmap-legacy` identifier and reuses the 
existing bitmap file index v1/v2 formats.
   
   <!-- Does this change affect API in include dir or storage format or 
protocol -->
   
   ### Documentation
   Document the new index type, supported predicates, shard behavior, and file 
index options in the global index user guide.
   
   <!-- Does this change introduce a new feature -->
   
   ### Generative AI tooling
   Generated-by: OpenAI Codex (GPT-6)
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to