jiayuasu opened a new pull request, #1167: URL: https://github.com/apache/sedona-db/pull/1167
## Summary - initialize the default empty spatial index's visited build-side bitmap for outer joins - mirror `GPUSpatialIndexBuilder`'s empty-index behavior while preserving `None` for join types that do not need final build-side output - add unit and integration coverage for a completely empty left/build side ## Root cause `DefaultSpatialIndexBuilder` returned early when the build side produced no batches. That path used an empty index constructor that hard-coded the visited build-side bitmap to `None`. Outer-join finalization treats `None` as an unconfigured invariant and raised an internal error instead of returning the expected result. For an empty outer-join build side, the correct state is a configured but empty bitmap list: `Some(empty)`. Fixes #1166. ## Validation - `cargo fmt --all -- --check` - `cargo test -p sedona-spatial-join` (302 unit tests passed, 1 ignored; 180 integration tests passed; 3 doc tests passed) -- 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]
