dalingmeng opened a new pull request, #19:
URL: https://github.com/apache/paimon-cpp/pull/19

   ### Purpose
   
   No Linked issue.
   
   Introduce range-related utility modules to the apache/paimon-cpp codebase. 
These modules provide range representation, range manipulation helpers, row 
range indexing with binary search, and byte range combining adapted from Apache 
ORC.
   
   - Introduce `Range` struct for inclusive integer range representation 
(`include/paimon/utils/range.h`, `range.cpp`)
   - Introduce `RangeHelper` template for range splitting and merging 
operations (`range_helper.h`)
   - Introduce `RowRangeIndex` for efficient intersection queries over sorted 
non-overlapping ranges using binary search 
(`include/paimon/utils/row_range_index.h`, `row_range_index.cpp`)
   - Introduce `ByteRangeCombiner` for combining byte ranges, adapted from 
Apache ORC (`byte_range_combiner.h`, `byte_range_combiner.cpp`)
   - Update `LICENSE` to add `byte_range_combiner` files under the Apache ORC 
attribution entry
   
   ### Tests
   
   - `range_test.cpp` — Range construction, count, intersection, merge, and 
string representation
   - `range_helper_test.cpp` — RangeHelper split and merge operations
   - `row_range_index_test.cpp` — RowRangeIndex intersection queries and edge 
cases
   - `byte_range_combiner_test.cpp` — ByteRangeCombiner combining logic
   
   ### API and Format
   
   No API or format changes.
   
   ### Documentation
   
   No documentation changes.
   
   ### Generative AI tooling
   


-- 
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