Skip to content
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

[ES|QL] Update grammars #212196

Closed
wants to merge 1 commit into from
Closed

Conversation

kibanamachine
Copy link
Contributor

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

@kibanamachine kibanamachine requested a review from a team as a code owner February 24, 2025 05:06
@kibanamachine kibanamachine added release_note:skip Skip the PR/issue when compiling release notes Team:ESQL ES|QL related features in Kibana labels Feb 24, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@elasticmachine
Copy link
Contributor

elasticmachine commented Feb 24, 2025

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #7 / ESQL Theme every valid lexical name should have a corresponding rule
  • [job] [logs] Jest Tests #7 / ESQL Theme every valid lexical name should have a corresponding rule
  • [job] [logs] Jest Tests #3 / long query binary expressions vertical flattening binary expressions of different precedence are not flattened
  • [job] [logs] Jest Tests #3 / long query binary expressions vertical flattening binary expressions of different precedence are not flattened
  • [job] [logs] Jest Tests #3 / long query binary expressions vertical flattening binary expressions vertical flattening child function function argument wrapping
  • [job] [logs] Jest Tests #3 / long query binary expressions vertical flattening binary expressions vertical flattening child function function argument wrapping
  • [job] [logs] Jest Tests #3 / long query binary expressions vertical flattening two binary expression lists of different precedence group
  • [job] [logs] Jest Tests #3 / long query binary expressions vertical flattening two binary expression lists of different precedence group
  • [job] [logs] Jest Tests #3 / long query function call arguments can vertically flatten adjacent binary expressions of the same precedence
  • [job] [logs] Jest Tests #3 / long query function call arguments can vertically flatten adjacent binary expressions of the same precedence
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed dissect from a_index | dissect => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed dissect from a_index | dissect => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval *+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval *+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval /+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval /+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval %+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval %+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval a=b, => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval a=b, => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval a=round(doubleField), => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval a=round(doubleField), => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval in => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval in => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval not => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval not => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval textField in textField => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval textField in textField => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval textField in textField) => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval textField in textField) => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval textField not in textField => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed eval from a_index | eval textField not in textField => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed grok from a_index | grok => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed grok from a_index | grok => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row var = 1 in => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row var = 1 in => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row var = 1 in ( => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row var = 1 in ( => 2 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row var = 1 not in => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed row row var = 1 not in => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed where from a_index | where *+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed where from a_index | where *+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed where from a_index | where /+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed where from a_index | where /+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed where from a_index | where %+ doubleField => 1 errors, 0 warnings
  • [job] [logs] Jest Tests #1 / validation logic Full validation performed where from a_index | where %+ doubleField => 1 errors, 0 warnings

History

@drewdaemon
Copy link
Contributor

Closing because I'm working on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:ESQL ES|QL related features in Kibana
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants