-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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: prevent usage of BUCKET in agg filters #115521
Labels
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
elasticsearchmachine
added
the
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
label
Oct 24, 2024
This has been already working as intended: reuse of expression from grouping allowed, but other not. Adding testing in #117184. |
elasticsearchmachine
pushed a commit
that referenced
this issue
Nov 21, 2024
Add tests on use of grouping functions in agg filters: check that reusing the BUCKET expression from grouping is allowed, but no other variation. Related: #115521
bpintea
added a commit
to bpintea/elasticsearch
that referenced
this issue
Nov 21, 2024
…117184) Add tests on use of grouping functions in agg filters: check that reusing the BUCKET expression from grouping is allowed, but no other variation. Related: elastic#115521 (cherry picked from commit fefa0f0)
elasticsearchmachine
pushed a commit
that referenced
this issue
Nov 21, 2024
alexey-ivanov-es
pushed a commit
to alexey-ivanov-es/elasticsearch
that referenced
this issue
Nov 28, 2024
…117184) Add tests on use of grouping functions in agg filters: check that reusing the BUCKET expression from grouping is allowed, but no other variation. Related: elastic#115521
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Using BUCKET in agg filters should not be allowed (as it's a grouping function). See example here.
Related #113735
The text was updated successfully, but these errors were encountered: