Skip to content

Conversation

@vadimkibana
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

## Summary

The `LeafPrinter` escapes identifiers only when needed, for example,
when they contain special characters. However, it must also escape ES|QL
**keywords**, which it did not. Fixes a bug where the `LeafPrinter`
would not escape identifiers which match ES|QL keywords.

### 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

(cherry picked from commit 04973b1)

# Conflicts:
#	src/platform/packages/shared/kbn-esql-ast/src/parser/constants.ts
@vadimkibana vadimkibana added the backport This PR is a backport of another PR label Aug 6, 2025
@vadimkibana vadimkibana enabled auto-merge (squash) August 6, 2025 08:09
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
esql 237 239 +2
lists 458 460 +2
stackAlerts 404 406 +2
unifiedSearch 370 372 +2
total +8

Async chunks

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

id before after diff
securitySolution 9.8MB 9.8MB +522.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-srcJs 3.7MB 3.7MB +532.0B

History

@vadimkibana vadimkibana merged commit 126fd75 into elastic:9.1 Aug 7, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants