subotac opened a new pull request, #10572:
URL: https://github.com/apache/arrow-rs/pull/10572

   # Which issue does this PR close?
   
     - Closes #10534.
   
     # Rationale for this change
   
     `GeometryBounder::x()` calculates the candidate wraparound width using
     `x_right.hi()`, although the returned interval starts at `x_right.lo()`.
     This can underestimate the wraparound width and select looser bounds,
     weakening row-group pruning.
   
     # What changes are included in this PR?
   
     Use `x_right.lo()` when calculating the wraparound width and add a
     regression case where the Cartesian bounds are narrower.
   
     # Are these changes tested?
   
     Yes:
   
     - `cargo test -p parquet-geospatial`
     - `cargo +stable fmt --all -- --check`
     - `cargo clippy -p parquet-geospatial --all-targets --all-features -- -D 
warnings`
     - `cargo clippy --workspace --all-targets --all-features -- -D warnings`
     - `git diff --check`
   
     # Are there any user-facing changes?
   
     Yes. Newly computed geospatial column statistics may use tighter Cartesian
     bounds when appropriate. There are no public API changes.


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