Skip to content

Commit c88f1f8

Browse files
committed
Re-add metrics lexer code and regen
1 parent eca0b0c commit c88f1f8

File tree

9 files changed

+2145
-1988
lines changed

9 files changed

+2145
-1988
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,7 @@ CLOSING_METRICS_BY
6868
CLOSING_METRICS_PIPE
6969
: PIPE -> type(PIPE), popMode
7070
;
71+
72+
CLOSING_METRICS_SELECTOR
73+
: {this.isDevVersion()}? CAST_OP -> type(CAST_OP), popMode, pushMode(METRICS_MODE)
74+
;

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

Lines changed: 2 additions & 1 deletion
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: 1015 additions & 999 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: 2 additions & 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)