Skip to content

Commit 5e61b1e

Browse files
ES|QL: Move SET command out of snapshot and move validation to single settings (#137204)
1 parent 9558e19 commit 5e61b1e

File tree

8 files changed

+1254
-1227
lines changed

8 files changed

+1254
-1227
lines changed

x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ import Expression,
2424
Join;
2525

2626
statements
27-
: {this.isDevVersion()}? setCommand+ singleStatement EOF
28-
| singleStatement EOF
27+
: setCommand* singleStatement EOF
2928
;
3029

3130
singleStatement

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ public enum Cap {
12851285
/**
12861286
* Support for the SET command.
12871287
*/
1288-
SET_COMMAND(Build.current().isSnapshot()),
1288+
SET_COMMAND,
12891289

12901290
/**
12911291
* (Re)Added EXPLAIN command

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)