jiayuasu opened a new issue, #2888: URL: https://github.com/apache/sedona/issues/2888
Sub-task of #2877. ## Scope Mirror the Phase 1 SQL surface in the Flink module: - `ST_Box2D(geom)` - `ST_MakeBox2D(p1, p2)` - `ST_Extent(geom)` aggregate - Accessor overloads (`ST_XMin/XMax/YMin/YMax(box)`) - `ST_AsText(box)` Plus Flink-side type registration so a `Box2D` value moves between the Sedona functions and a Flink table cleanly (analogous to how Geometry / Geography are registered in the Flink module). ## Implementation - Scalar function wrappers in `flink/src/main/java/org/apache/sedona/flink/expressions/Catalog.java` (or its successor in current code). - Aggregate wrapper in `flink/src/main/java/org/apache/sedona/flink/expressions/Aggregators.java`. - A `Box2D`-aware Flink TypeInformation / RawType so values round-trip through Flink's type system. - Tests in `flink/src/test/...` mirroring the Spark coverage. ## Depends on - #<ST_Box2D> - #<ST_MakeBox2D> - #<ST_Extent> - #<ST_AsText / cast> (for ST_AsText only) (Update with actual numbers once siblings are filed.) -- 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]
