Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST_CENTROID scalar function in ES|QL #108215

Open
craigtaverner opened this issue May 2, 2024 · 1 comment
Open

ST_CENTROID scalar function in ES|QL #108215

craigtaverner opened this issue May 2, 2024 · 1 comment
Assignees
Labels
:Analytics/ES|QL AKA ESQL :Analytics/Geo Indexing, search aggregations of geo points and shapes >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)

Comments

@craigtaverner
Copy link
Contributor

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:

EVAL centroid = ST_CENTROID(geom)
@craigtaverner craigtaverner added >enhancement :Analytics/Geo Indexing, search aggregations of geo points and shapes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL labels May 2, 2024
@craigtaverner craigtaverner self-assigned this May 2, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL :Analytics/Geo Indexing, search aggregations of geo points and shapes >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)
Projects
None yet
Development

No branches or pull requests

2 participants