ESQL: Renaming the grouping field before a stats still relies on the original field #105435
Labels
:Analytics/ES|QL
AKA ESQL
>bug
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
v9.1.0
Description
A potential bug in CombineProjections:
from employees | rename gender AS foo | stats bar = count(*) by foo | drop foo | sort bar
- the stats still refers to the original field (gender) for grouping which is problematic as the field no longer exists in the child.Related to #105433
The text was updated successfully, but these errors were encountered: