-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ST_CENTROID scalar function in ES|QL #108215
Copy link
Copy link
Open
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
The support for ST_CENTROID_AGG aggregation over geo_points was done in #104656, and futher work is planned to cover geo_shapes in #104658. However, this is strictly an aggregating function, and there is no support for converting a single geometry into a centroid. This issue covers that case: