Skip to content

Commit 2d383cc

Browse files
committed
dev_sample -> sample
1 parent 537d29d commit 2d383cc

File tree

8 files changed

+1323
-1329
lines changed

8 files changed

+1323
-1329
lines changed

x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,5 +311,5 @@ completionCommand
311311
;
312312

313313
sampleCommand
314-
: DEV_SAMPLE probability=constant
314+
: SAMPLE probability=constant
315315
;

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

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/antlr/lexer/Expression.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ EVAL : 'eval' -> pushMode(EXPRESSION_MODE);
1515
GROK : 'grok' -> pushMode(EXPRESSION_MODE);
1616
LIMIT : 'limit' -> pushMode(EXPRESSION_MODE);
1717
ROW : 'row' -> pushMode(EXPRESSION_MODE);
18+
SAMPLE : 'sample' -> pushMode(EXPRESSION_MODE);
1819
SORT : 'sort' -> pushMode(EXPRESSION_MODE);
1920
STATS : 'stats' -> pushMode(EXPRESSION_MODE);
2021
WHERE : 'where' -> pushMode(EXPRESSION_MODE);
2122

2223
DEV_INLINESTATS : {this.isDevVersion()}? 'inlinestats' -> pushMode(EXPRESSION_MODE);
2324
DEV_RERANK : {this.isDevVersion()}? 'rerank' -> pushMode(EXPRESSION_MODE);
24-
DEV_SAMPLE : {this.isDevVersion()}? 'sample' -> pushMode(EXPRESSION_MODE);
2525

2626

2727
mode EXPRESSION_MODE;

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

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1229 additions & 1238 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 65 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)