elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
68.66k stars 24.38k forks source link

Support ST_EXTENT_AGG in ESQL #104659

Open craigtaverner opened 5 months ago

craigtaverner commented 5 months ago

Description

The simplest spatial aggregation once both points and shapes are supported is ST_EXTENT. This is also the only aggregation being considered for non-licensing due to its potential usage in Kibana. The function is similar to ST_BOUNDS, but instead of generating the bounds for a geometry argument, it aggregates over all geometries for that field, and produces a combined bounding box.

For reference, the PostGIS documentation is https://postgis.net/docs/ST_Extent.html

elasticsearchmachine commented 5 months ago

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