jiayuasu opened a new pull request, #2621:
URL: https://github.com/apache/sedona/pull/2621

   ## Did you read the Contributor Guide?
   
   - Yes, I have read the [Contributor 
Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor 
Development Guide](https://sedona.apache.org/latest/community/develop/)
   
   ## Is this PR related to a ticket?
   
   - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #1874
   
   ## What changes were proposed in this PR?
   
   Changed return type from primitive double to Double for xMin, xMax, yMin, 
yMax in common Functions and Snowflake UDF wrappers. When geometry is EMPTY 
(zero coordinates), these functions now return null instead of Double.MAX_VALUE 
or -Double.MAX_VALUE, matching PostGIS behavior and the existing zMin/zMax 
pattern.
   
   Flink and Spark wrappers already use boxed Double and need no changes.
   
   ## How was this patch tested?
   
   Added unit tests for EMPTY geometries (Point, Polygon, LineString) and 
non-empty geometry bounds verification.
   
   
   ## Did this PR include necessary documentation updates?
   
   - Yes, I have updated the documentation.


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