malinjawi opened a new pull request, #12001: URL: https://github.com/apache/gluten/pull/12001
## What changes are proposed in this pull request? This PR is the first step in the split [Delta deletion-vector (DV) stack](https://github.com/apache/gluten/pull/11963). It introduces the native roaring bitmap facilities that later PRs use for Delta DV payload handling, without adding Delta scan integration yet. Issue: https://github.com/apache/gluten/issues/11901 Main changes: - add `FindRoaring.cmake` to discover CRoaring from an existing Velox build, pkg-config, or `FetchContent` - wire `roaring` into the native Velox build - add `gluten::delta::RoaringBitmapArray`, a small 64-bit roaring bitmap wrapper for Delta DV payloads - use the same payload shape expected by the later native DV reader: - 4-byte magic number - CRoaring portable `Roaring64Map` serialization - add focused native unit coverage for: - serialization / deserialization round-trip - invalid magic-number rejection This PR is intentionally infrastructure-only: - no Delta scan offload behavior changes yet - no JVM-side Delta scan integration yet Those pieces will be added in follow-up stacked PRs. Fixes #11901. ## How was this patch tested? Added focused native test coverage in: - `cpp/velox/compute/delta/tests/RoaringBitmapArrayTest.cpp` Covered cases: - round-trip serialization / deserialization of 64-bit bitmap entries - rejection of malformed payloads with an invalid magic number ## Was this patch authored or co-authored using generative AI tooling? Generated-by: IBM BOB -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
