-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[DOCS][ESQL] Include bucket in STATS...BY supported functions #112513
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
Conversation
Documentation preview: |
Pinging @elastic/es-docs (Team:Docs) |
Pinging @elastic/es-analytical-engine (Team:Analytics) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heya, sorry for the blocking review but bucket is included in the grouping functions, displayed right below the agg functions.
Bucket is not an agg function and cannot be used in places where an agg function can be used. Are we sure we want to mention it in the docs next to the other agg functions?
This feedback was given to me by people who were looking the stats by command and could not locate the date histogram. As it is used for grouping (and I am expecting to be a popular operation) I think it should be mentioned there. Or a reference to it. Because bucket in the agg functions doesnt help the users to understand that this can be used in the by operator |
@alex-spies you're totally right in that case. It's because I'm including the same list of functions here, but what I can do is just add |
Ah, I see the problem! Agree, as a user I'd expect to find this here @leemthompo adding this manually under the STATS ... BY ... list sounds good to me! |
@alex-spies thanks for the eagle eye. Should be good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the iteration @leemthompo , looks great!
💔 Backport failed
You can use sqren/backport to manually backport by running |
(cherry picked from commit 04678e9) # Conflicts: # docs/reference/esql/processing-commands/stats.asciidoc
(cherry picked from commit 04678e9) # Conflicts: # docs/reference/esql/processing-commands/stats.asciidoc
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
This omission was flagged by @stratoula 🙏