Skip to content

Conversation

@ncordon
Copy link
Contributor

@ncordon ncordon commented Nov 14, 2025

Addresses the runtime side of #133992 and #136598. Builds on top of #137511

Queries like:

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

They should never fail at runtime even if the plan was not optimal for repeated aggregations.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.3.0 labels Nov 14, 2025
@ncordon ncordon changed the title Fixes esql class cast bug in STATS at planning level Fixes esql class cast bug in STATS at runtime level Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:triage Requires assignment of a team area label v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants