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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to