Skip to content

Commit

Permalink
chore:KFS-2032 update keywords (#2762)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guttz committed May 16, 2024
1 parent a584c2d commit cfdcdbe
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkg/flink/config/sql_keywords.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,18 @@ var SQLKeywords = types.NewSet(
"ANY",
"ARE",
"ARRAY",
"ARRAY_AGG",
"ARRAY_CONCAT",
"ARRAY_CONTAINS",
"ARRAY_DISTINCT",
"ARRAY_JOIN",
"ARRAY_MAX",
"ARRAY_POSITION",
"ARRAY_REMOVE",
"ARRAY_REVERSE",
"ARRAY_SLICE",
"ARRAY_SORT",
"ARRAY_UNION",
"AS",
"ASC",
"ASCII",
Expand All @@ -38,6 +49,7 @@ var SQLKeywords = types.NewSet(
"BLOB",
"BOOLEAN",
"BOTH",
"BUCKETS",
"BY",
"BYTES",
"CALL",
Expand Down Expand Up @@ -125,6 +137,8 @@ var SQLKeywords = types.NewSet(
"DESCRIBE",
"DESCRIPTOR",
"DISTINCT",
"DISTRIBUTED",
"DISTRIBUTION",
"DIV",
"DOUBLE",
"DROP",
Expand Down Expand Up @@ -154,6 +168,7 @@ var SQLKeywords = types.NewSet(
"EXTERNAL",
"EXTRACT",
"FALSE",
"FETCH",
"FILE",
"FINAL",
"FIRST",
Expand Down Expand Up @@ -185,6 +200,7 @@ var SQLKeywords = types.NewSet(
"GROUPING_ID",
"GROUPS",
"GROUP_ID",
"HASH",
"HAVING",
"HEX",
"HOP",
Expand Down Expand Up @@ -259,6 +275,10 @@ var SQLKeywords = types.NewSet(
"LPAD",
"LTRIM",
"MAP",
"MAP_ENTRIES",
"MAP_FROM_ARRAYS",
"MAP_KEYS",
"MAP_VALUES",
"MATCH",
"MATCH_RECOGNIZE",
"MATCH_ROWTIME",
Expand All @@ -275,7 +295,10 @@ var SQLKeywords = types.NewSet(
"MINUTE",
"MINUTES",
"MINVALUE",
"ML_PREDICT",
"MOD",
"MODEL",
"MODELS",
"MODIFIES",
"MODIFY",
"MODULE",
Expand All @@ -300,6 +323,7 @@ var SQLKeywords = types.NewSet(
"OFFSET",
"ON",
"ONE",
"ONLY",
"OPTION",
"OPTIONS",
"OR",
Expand Down Expand Up @@ -380,6 +404,7 @@ var SQLKeywords = types.NewSet(
"ROW_NUMBER",
"RPAD",
"RTRIM",
"SAFE_CAST",
"SCALA",
"SCALAR",
"SCALE",
Expand Down Expand Up @@ -412,6 +437,7 @@ var SQLKeywords = types.NewSet(
"SKIP",
"SLIDE",
"SMALLINT",
"SOME",
"SOURCE",
"SOURCE_WATERMARK",
"SPACE",
Expand Down

0 comments on commit cfdcdbe

Please sign in to comment.