Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Aug 27, 2025

Our signature handling code considers the second and third arguments of BUCKET to be optional - the railroad diagram and function registry consider those arguments optional.

But in another sense, these function arguments aren't optional - they are required IF you are invoking the certain types.

This patches the generated kibana signature to it'll look and feel right.

Closes #132592

Our signature handling code considers the second and third arguments of
BUCKET to be optional - the railroad diagram and function registry
consider those arguments optional.

But in another sense, these function arguments aren't optional - they
are required IF you are invoking the certain types.

This patches the generated kibana signature to it'll look and feel
right.
@nik9000 nik9000 added >docs General docs changes :Analytics/ES|QL AKA ESQL v9.2.0 labels Aug 27, 2025
@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Aug 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/core-docs (Team:Docs)

Copy link
Contributor

@drewdaemon drewdaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing. Thank you @nik9000 !

@nik9000 nik9000 enabled auto-merge (squash) August 28, 2025 17:05
@nik9000 nik9000 merged commit aab83a8 into elastic:main Aug 28, 2025
33 checks passed
JeremyDahlgren pushed a commit to JeremyDahlgren/elasticsearch that referenced this pull request Aug 29, 2025
Our signature handling code considers the second and third arguments of
BUCKET to be optional - the railroad diagram and function registry
consider those arguments optional.

But in another sense, these function arguments aren't optional - they
are required IF you are invoking the certain types.

This patches the generated kibana signature to it'll look and feel
right.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >docs General docs changes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:Docs Meta label for docs team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ES|QL] BUCKET definition reports 3rd and 4th args as optional for 4-arg signatures

3 participants