You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "jiayuasu (via GitHub)" <gi...@apache.org> on 2026/05/02 05:30:10 UTC

[I] [GH-2877] Overload ST_XMin/XMax/YMin/YMax for Box2D [sedona]

jiayuasu opened a new issue, #2882:
URL: https://github.com/apache/sedona/issues/2882

   Sub-task of #2877.
   
   ## Scope
   
   Extend the existing `ST_XMin` / `ST_XMax` / `ST_YMin` / `ST_YMax` accessors so they also accept a `Box2D` argument and return the corresponding axis bound as a `double`. Today these only operate on `Geometry`.
   
   PostGIS exposes the same accessors as `ST_XMin(box2d)` etc.
   
   ## Implementation
   
   - Add overloads in `spark/common/.../expressions/Functions.scala` accepting `Box2D`.
   - Resolution should pick the right backing function based on input type via `FunctionResolver`.
   - Tests: each accessor against a `Box2D` literal, NULL propagation.
   
   ## Out of scope
   
   `ST_ZMin` / `ST_ZMax` (waits for `Box3D`).


-- 
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: issues-unsubscribe@sedona.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Overload ST_XMin/XMax/YMin/YMax for Box2D [sedona]

Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu closed issue #2882: Overload ST_XMin/XMax/YMin/YMax for Box2D
URL: https://github.com/apache/sedona/issues/2882


-- 
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: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org