Skip to content

feat: Update grammars#65

Merged
bartoval merged 2 commits into
mainfrom
esql_grammar_sync_1773903171
Mar 19, 2026
Merged

feat: Update grammars#65
bartoval merged 2 commits into
mainfrom
esql_grammar_sync_1773903171

Conversation

@elastic-vault-github-plugin-prod
Copy link
Copy Markdown
Contributor

This PR updates the ES|QL grammars (lexer and parser) and PromQL grammars to match the latest version in Elasticsearch.

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot requested a review from a team as a code owner March 19, 2026 06:52
@bartoval
Copy link
Copy Markdown
Contributor

bang

@stratoula stratoula changed the title [ES|QL] Update grammars feat: Update grammars Mar 19, 2026
const byCtx = ctx.BY();
const args = this.fromFields(expr);

if (!byCtx || !expr) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stats is identical. We just moved the logic to the parent to pass args instead of expr and reuse the function also with Limit by

@bartoval bartoval self-assigned this Mar 19, 2026
@bartoval bartoval merged commit 51aa715 into main Mar 19, 2026
3 checks passed
@bartoval bartoval deleted the esql_grammar_sync_1773903171 branch March 19, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants