elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.69k stars 8.12k forks source link

[maps][ESQL] re-fetch aggregation results on zoom #188667

Open nreese opened 1 month ago

nreese commented 1 month ago

Layers are optimized to limit data fetching. Document layers do not fetch data on zoom when zoomed in bounding box is contained by previous bounding box and results of previous bounding box are not trimmed (re-fetching data would return the same results).

ESQL layers are currently implemented as document layers. The problem is that an ESQL layer could be a document layer or an aggregation layer. When ESQL layer is an aggregation layer, it makes sense to re-fetch layer data on zoom since the aggregation values may change based on features contained in the bounding box.

elasticmachine commented 1 month ago

Pinging @elastic/kibana-presentation (Team:Presentation)