New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESQL: Expressions in aggregate functions #99828
Labels
:Analytics/ES|QL
AKA ESQL
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Comments
elasticsearchmachine
added
the
Team:QL (Deprecated)
Meta label for query languages team
label
Sep 22, 2023
Pinging @elastic/es-ql (Team:QL) |
Pinging @elastic/elasticsearch-esql (:Query Languages/ES|QL) |
wchaparro
added
the
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
label
Jan 2, 2024
elasticsearchmachine
removed
the
Team:QL (Deprecated)
Meta label for query languages team
label
Jan 2, 2024
Pinging @elastic/es-analytics-geo (Team:Analytics) |
costin
added a commit
to costin/elasticsearch
that referenced
this issue
Jan 16, 2024
Allow nested expressions to be used both for grouping or inside aggregate functions inside the stats command. As such the grammar has been tweaked to allow the stats group to have optional aliasing. Fix elastic#99828
costin
added a commit
to costin/elasticsearch
that referenced
this issue
Jan 17, 2024
Allow nested expressions to be used both for grouping or inside aggregate functions inside the stats command. As such the grammar has been tweaked to allow the stats group to have optional aliasing. Fix elastic#99828
costin
added a commit
that referenced
this issue
Jan 17, 2024
Allow nested expressions to be used both for grouping or inside aggregate functions inside the stats command. As such the grammar has been tweaked to allow the stats group to have optional aliasing. As part of this fix, preserve the original field declaration (including spaces) for implicit aliases. Improve validation for incorrect aggregate function use (as arguments, grouping or inside evals). Fix #99828
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Analytics/ES|QL
AKA ESQL
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
It would be great to have support for expressions like
or simply
Currently, this can be worked around using
eval
, e.g.:The text was updated successfully, but these errors were encountered: