Part of #3054.
Scope
Expose the geography constructor/conversion functions in SedonaFlink, registering them so they are callable from the Flink Table API / SQL — reaching parity with the 9 functions Spark exposes.
Depends on #3058 (GeographyTypeSerializer), now merged.
Functions
Tasks
Docs are tracked separately as the next sub-task.
Part of #3054.
Scope
Expose the geography constructor/conversion functions in SedonaFlink, registering them so they are callable from the Flink Table API / SQL — reaching parity with the 9 functions Spark exposes.
Depends on #3058 (GeographyTypeSerializer), now merged.
Functions
ST_GeogFromWKT(wkt, [srid])ST_GeogFromText(wkt, [srid])ST_GeogFromEWKT(ewkt)ST_GeogCollFromText(wkt, [srid])ST_GeogFromWKB(wkb, [srid])ST_GeogFromEWKB(wkb)ST_GeogFromGeoHash(geohash, [precision])ST_GeogToGeometry(geography) → geometryST_GeomToGeography(geometry) → geographyTasks
ScalarFunctionwrappers inflink/src/main/java/org/apache/sedona/flink/expressions/GeographyConstructors.java, each delegating toorg.apache.sedona.common.geography.Constructorswith@DataTypeHint(value = "RAW", rawSerializer = GeographyTypeSerializer.class, bridgedTo = Geography.class), matching Spark's optional-argument defaults (srid0, geohash precisionnull).flink/src/main/java/org/apache/sedona/flink/Catalog.java.GeographyConstructorTest).Docs are tracked separately as the next sub-task.