QuakeWang opened a new pull request, #8787:
URL: https://github.com/apache/paimon/pull/8787
### Purpose
`RoaringBitmap64.to_range_list` materialized every row ID into a temporary
Python list before building ranges. For large dense bitmaps, this caused memory
usage to grow with bitmap cardinality even when only one
range was produced.
Iterate over `BitMap64` directly and build ranges incrementally, removing
the O(cardinality) temporary allocation. Add focused tests for empty,
single-value, disjoint, and cross-32-bit-boundary bitmaps.
### Tests
- Python 3.11 Flake8
- License header check
- Roaring bitmap and global index tests
- Btree and bitmap global index build tests
--
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]