Skip to content

Commit 7a78921

Browse files
ES|QL: Add breaking change note for brackets in index names
1 parent b270fe4 commit 7a78921

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

docs/changelog/130427.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
pr: 130427
2-
summary: Disallow brackets in unquoted index pattersn
2+
summary: Disallow brackets in unquoted index patterns
33
area: ES|QL
4-
type: bug
5-
issues: []
4+
type: breaking
5+
issues:
6+
- 130378
7+
breaking:
8+
title: Unquoted index patterns do not allow `(` and `)` characters
9+
area: ES|QL
10+
details: >-
11+
So far, ES|QL accepted unquoted index patterns containing brackets, eg.
12+
13+
```
14+
FROM index(1) | ENRICH policy(2)
15+
```
16+
17+
This can potentially conflict with subquery syntax, that uses brackets as a delimiter.
18+
From now on, using brackets is only allowed in quoted index patterns, ie. the query above is no longer valid,
19+
while the following is valid
20+
21+
```
22+
FROM "index(1)" | ENRICH "policy(2)"
23+
```
24+
impact: "It impacts all the queries that contain brackets in index names or policy names, ie. in FROM, ENRICH and LOOKUP JOIN commands"
25+
notable: false

0 commit comments

Comments
 (0)