Skip to content

Conversation

@ncordon
Copy link
Contributor

@ncordon ncordon commented Dec 5, 2025

Backport

This will backport the following commits from main to 9.2 #137511

Description

Addresses #133992 and #136598, partially.

Missing from this pr that we still need to do: at the moment the runtime part tries to avoid double computations, resulting in exceptions if the plan is correct but not optimal. In other words, queries like:

from airports 
rename scalerank AS x 
stats  a = count(x), b = count(x) + count(x), c = count_distinct(x)

should had never failed at runtime even if the plan was not optimal for repeated aggregations.

@ncordon ncordon added >bug backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v9.2.3 labels Dec 5, 2025
@ncordon ncordon enabled auto-merge (squash) December 10, 2025 09:40
@ncordon ncordon disabled auto-merge December 10, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL backport >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant