KaiqiJinWow opened a new pull request, #18879: URL: https://github.com/apache/iceberg/pull/18879
## Description Geography edges can reach latitude extrema between their endpoints. This adds a package-private builder for points and minor great-circle edges on a sphere, reusing the longitude collector from #18811. It handles antimeridian crossings, retains stored pole longitudes, widens computed extrema, and uses world bounds for unresolved near-antipodal edges. Out-of-range or infinite coordinates suppress bounds. WKB traversal, polygon interiors, and writer integration follow separately. Part of #18705. This is the second step, following #18811. Adapted from Xin Huang’s public, unmerged #17788. ## Test plan 1. Check analytical latitude extrema, reversed edges, antimeridian crossings, poles, and degenerate or incomplete coordinates. 2. Reproduce short-arc rounding undercoverage in both hemispheres and check the near-antipodal fallback boundary. 3. Check sampled coverage along 2,000 seeded random minor arcs. All 85 spherical tests and 16 longitude tests pass on Java 17. Core Spotless and Checkstyle main/test pass. ## AI Disclosure Model: GPT-6 (exact variant/version unknown) Platform/Tool: Codex Human Oversight: [unknown - human to fill in] Prompt Summary: Adapt the public spherical bounds kernel to the longitude collector, refine conservative numerical handling, add behavior tests, and extract shared geography constants. -- 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]
