Skip to content

[ES|QL] Nested map expression support#234009

Merged
vadimkibana merged 8 commits intoelastic:mainfrom
vadimkibana:esql-map-nesting-3
Sep 5, 2025
Merged

[ES|QL] Nested map expression support#234009
vadimkibana merged 8 commits intoelastic:mainfrom
vadimkibana:esql-map-nesting-3

Conversation

@vadimkibana
Copy link
Contributor

@vadimkibana vadimkibana commented Sep 4, 2025

Summary

Partially addresses #233705

ES|QL language has introduced grammar for nested maps. This PR adds support for nested map expressions, like:

{
  "foo": {
    "bar": 123
  }
}

in Kibana @kbn/esql-ast package.

Checklist

@vadimkibana vadimkibana mentioned this pull request Sep 4, 2025
8 tasks
@vadimkibana vadimkibana changed the title Esql map nesting 3 [ES|QL] Nested map expression support Sep 4, 2025
@vadimkibana vadimkibana marked this pull request as ready for review September 4, 2025 12:40
@vadimkibana vadimkibana requested a review from a team as a code owner September 4, 2025 12:40
@vadimkibana vadimkibana added review release_note:skip Skip the PR/issue when compiling release notes Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana t// backport:version Backport to applied version labels v9.2.0 labels Sep 4, 2025
@elasticmachine
Copy link
Contributor

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

@vadimkibana vadimkibana enabled auto-merge (squash) September 4, 2025 12:41
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 10.3MB 10.3MB +48.0B

@bartoval bartoval self-requested a review September 4, 2025 19:38
Copy link
Contributor

@bartoval bartoval left a comment

Choose a reason for hiding this comment

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

👍🏼

@vadimkibana vadimkibana merged commit 5097e65 into elastic:main Sep 5, 2025
12 checks passed
shahargl pushed a commit to shahargl/kibana that referenced this pull request Sep 7, 2025
## Summary

Partially addresses elastic#233705

ES|QL language has introduced grammar for nested maps. This PR adds
support for nested map expressions, like:

```
{
  "foo": {
    "bar": 123
  }
}
```

in Kibana `@kbn/esql-ast` package.


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 9, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 234009 locally
cc: @vadimkibana

1 similar comment
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 234009 locally
cc: @vadimkibana

@drewdaemon drewdaemon removed the backport:version Backport to applied version labels label Sep 10, 2025
@drewdaemon drewdaemon added the backport:skip This PR does not require backporting label Sep 10, 2025
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 10, 2025
@drewdaemon
Copy link
Contributor

Removed the backport:version label. 9.2 hasn't been branched, so no backport needed.

KodeRad pushed a commit to KodeRad/kibana that referenced this pull request Sep 15, 2025
## Summary

Partially addresses elastic#233705

ES|QL language has introduced grammar for nested maps. This PR adds
support for nested map expressions, like:

```
{
  "foo": {
    "bar": 123
  }
}
```

in Kibana `@kbn/esql-ast` package.


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Sep 24, 2025
## Summary

Partially addresses elastic#233705

ES|QL language has introduced grammar for nested maps. This PR adds
support for nested map expressions, like:

```
{
  "foo": {
    "bar": 123
  }
}
```

in Kibana `@kbn/esql-ast` package.


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:ES|QL ES|QL related features in Kibana release_note:skip Skip the PR/issue when compiling release notes review Team:ESQL ES|QL related features in Kibana t// v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants