Overview of SedonaSQL operators in Flink
masterSedonaSQL supports the SQL/MM Part3 Spatial SQL Standard within Apache Flink. It provides four main categories of spatial operators to manipulate and query geometric data:
- Constructors: Used to create a
Geometryobject from raw input like WKT strings or coordinates. - Functions: Used to perform spatial computations on one or more geometry columns (e.g., calculating distance).
- Aggregators: Used to perform spatial reductions on a column of geometries to return a single aggregated value (e.g., calculating a bounding envelope).
- Predicates: Used for spatial logic and filtering, returning a boolean value (e.g., checking if one geometry contains another).