Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/grammar/flink/FlinkSqlLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ KW_INTERVAL : 'INTERVAL';
KW_INTO : 'INTO';
KW_IS : 'IS';
KW_JOIN : 'JOIN';
KW_JSON : 'JSON';
KW_JSON_ARRAY : 'JSON_ARRAY';
KW_JSON_ARRAYAGG : 'JSON_ARRAYAGG';
KW_JSON_EXECUTION_PLAN : 'JSON_EXECUTION_PLAN';
Expand Down
8 changes: 8 additions & 0 deletions src/grammar/flink/FlinkSqlParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ predicate
| KW_IS KW_NOT? kind=(KW_TRUE | KW_FALSE | KW_UNKNOWN | KW_NULL)
| KW_IS KW_NOT? kind=KW_DISTINCT KW_FROM right=valueExpression
| KW_NOT? kind=KW_SIMILAR KW_TO right=valueExpression (KW_ESCAPE stringLiteral)?
| KW_IS KW_JSON (KW_VALUE | KW_ARRAY | identifier)?
;

likePredicate
Expand Down Expand Up @@ -1179,6 +1180,13 @@ reservedKeywordsUsedAsFuncName
| KW_VAR_SAMP
| KW_WEEK
| KW_YEAR
| KW_JSON_VALUE
| KW_JSON_EXISTS
| KW_JSON_QUERY
| KW_JSON_OBJECT
| KW_JSON_OBJECTAGG
| KW_JSON_ARRAY
| KW_JSON_ARRAYAGG
;

nonReservedKeywords
Expand Down
5 changes: 4 additions & 1 deletion src/lib/flink/FlinkSqlLexer.interp

Large diffs are not rendered by default.

4,754 changes: 2,379 additions & 2,375 deletions src/lib/flink/FlinkSqlLexer.ts

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/lib/flink/FlinkSqlParser.interp

Large diffs are not rendered by default.

Loading