dt-sql-parser 4.5.0-beta.2 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +2 -1
  2. package/dist/lib/SQLParserBase.d.ts +13 -1
  3. package/dist/lib/SQLParserBase.js +40 -5
  4. package/dist/lib/flink/FlinkSqlLexer.d.ts +399 -397
  5. package/dist/lib/flink/FlinkSqlLexer.js +2504 -2489
  6. package/dist/lib/flink/FlinkSqlParser.d.ts +773 -578
  7. package/dist/lib/flink/FlinkSqlParser.js +5657 -3651
  8. package/dist/lib/flink/FlinkSqlParserListener.d.ts +123 -0
  9. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +78 -0
  10. package/dist/lib/hive/HiveSqlParser.d.ts +274 -228
  11. package/dist/lib/hive/HiveSqlParser.js +6304 -5912
  12. package/dist/lib/hive/HiveSqlParserListener.d.ts +33 -0
  13. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +21 -0
  14. package/dist/lib/impala/ImpalaSqlParser.d.ts +145 -103
  15. package/dist/lib/impala/ImpalaSqlParser.js +3687 -3320
  16. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +33 -0
  17. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +21 -0
  18. package/dist/lib/mysql/MySqlParser.d.ts +161 -94
  19. package/dist/lib/mysql/MySqlParser.js +9959 -9499
  20. package/dist/lib/mysql/MySqlParserListener.d.ts +79 -5
  21. package/dist/lib/mysql/MySqlParserVisitor.d.ts +49 -3
  22. package/dist/lib/postgresql/PostgreSqlParser.d.ts +108 -71
  23. package/dist/lib/postgresql/PostgreSqlParser.js +13330 -10388
  24. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +48 -0
  25. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +30 -0
  26. package/dist/lib/spark/SparkSqlParser.d.ts +186 -146
  27. package/dist/lib/spark/SparkSqlParser.js +5368 -5095
  28. package/dist/lib/spark/SparkSqlParserListener.d.ts +33 -0
  29. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +21 -0
  30. package/dist/lib/trino/TrinoSqlLexer.d.ts +297 -296
  31. package/dist/lib/trino/TrinoSqlLexer.js +1451 -1445
  32. package/dist/lib/trino/TrinoSqlListener.d.ts +13 -0
  33. package/dist/lib/trino/TrinoSqlParser.d.ts +308 -297
  34. package/dist/lib/trino/TrinoSqlParser.js +2381 -2300
  35. package/dist/lib/trino/TrinoSqlVisitor.d.ts +8 -0
  36. package/dist/parser/common/basicSQL.d.ts +17 -5
  37. package/dist/parser/common/basicSQL.js +74 -3
  38. package/dist/parser/common/entityCollector.js +14 -2
  39. package/dist/parser/flink/index.js +5 -2
  40. package/dist/parser/generic/genericEntityCollector.d.ts +1 -0
  41. package/dist/parser/generic/genericEntityCollector.js +14 -1
  42. package/dist/parser/mysql/index.js +3 -1
  43. package/dist/parser/mysql/mysqlEntityCollector.d.ts +2 -1
  44. package/dist/parser/mysql/mysqlEntityCollector.js +13 -3
  45. package/dist/parser/mysql/mysqlErrorListener.js +2 -0
  46. package/dist/parser/postgresql/postgreEntityCollector.d.ts +3 -1
  47. package/dist/parser/postgresql/postgreEntityCollector.js +13 -0
  48. package/dist/parser/spark/index.js +3 -1
  49. package/package.json +1 -1
@@ -149,403 +149,405 @@ export declare class FlinkSqlParser extends SQLParserBase {
149
149
  static readonly KW_FIRST_VALUE = 143;
150
150
  static readonly KW_FLOAT = 144;
151
151
  static readonly KW_FLOOR = 145;
152
- static readonly KW_FOR = 146;
153
- static readonly KW_FOREIGN = 147;
154
- static readonly KW_FRAME_ROW = 148;
155
- static readonly KW_FREE = 149;
156
- static readonly KW_FRIDAY = 150;
157
- static readonly KW_FROM = 151;
158
- static readonly KW_FULL = 152;
159
- static readonly KW_FUNCTION = 153;
160
- static readonly KW_FUNCTIONS = 154;
161
- static readonly KW_FUSION = 155;
162
- static readonly KW_GET = 156;
163
- static readonly KW_GLOBAL = 157;
164
- static readonly KW_GRANT = 158;
165
- static readonly KW_GROUP = 159;
166
- static readonly KW_GROUPING = 160;
167
- static readonly KW_GROUPS = 161;
168
- static readonly KW_GROUP_CONCAT = 162;
169
- static readonly KW_HAVING = 163;
170
- static readonly KW_HOLD = 164;
171
- static readonly KW_HOUR = 165;
172
- static readonly KW_IDENTITY = 166;
173
- static readonly KW_IF = 167;
174
- static readonly KW_ILIKE = 168;
175
- static readonly KW_IMPORT = 169;
176
- static readonly KW_IN = 170;
177
- static readonly KW_INCLUDE = 171;
178
- static readonly KW_INDICATOR = 172;
179
- static readonly KW_INITIAL = 173;
180
- static readonly KW_INNER = 174;
181
- static readonly KW_INOUT = 175;
182
- static readonly KW_INSENSITIVE = 176;
183
- static readonly KW_INSERT = 177;
184
- static readonly KW_INT = 178;
185
- static readonly KW_INTEGER = 179;
186
- static readonly KW_INTERSECT = 180;
187
- static readonly KW_INTERSECTION = 181;
188
- static readonly KW_INTERVAL = 182;
189
- static readonly KW_INTO = 183;
190
- static readonly KW_IS = 184;
191
- static readonly KW_JOIN = 185;
192
- static readonly KW_JSON = 186;
193
- static readonly KW_JSON_ARRAY = 187;
194
- static readonly KW_JSON_ARRAYAGG = 188;
195
- static readonly KW_JSON_EXECUTION_PLAN = 189;
196
- static readonly KW_JSON_EXISTS = 190;
197
- static readonly KW_JSON_OBJECT = 191;
198
- static readonly KW_JSON_OBJECTAGG = 192;
199
- static readonly KW_JSON_QUERY = 193;
200
- static readonly KW_JSON_VALUE = 194;
201
- static readonly KW_LAG = 195;
202
- static readonly KW_LANGUAGE = 196;
203
- static readonly KW_LARGE = 197;
204
- static readonly KW_LAST_VALUE = 198;
205
- static readonly KW_LATERAL = 199;
206
- static readonly KW_LEAD = 200;
207
- static readonly KW_LEADING = 201;
208
- static readonly KW_LEFT = 202;
209
- static readonly KW_LIKE = 203;
210
- static readonly KW_LIKE_REGEX = 204;
211
- static readonly KW_LIMIT = 205;
212
- static readonly KW_LN = 206;
213
- static readonly KW_LOCAL = 207;
214
- static readonly KW_LOCALTIME = 208;
215
- static readonly KW_LOCALTIMESTAMP = 209;
216
- static readonly KW_LOWER = 210;
217
- static readonly KW_MATCH = 211;
218
- static readonly KW_MATCHES = 212;
219
- static readonly KW_MATCH_NUMBER = 213;
220
- static readonly KW_MATCH_RECOGNIZE = 214;
221
- static readonly KW_MAX = 215;
222
- static readonly KW_MEASURES = 216;
223
- static readonly KW_MEMBER = 217;
224
- static readonly KW_MERGE = 218;
225
- static readonly KW_METADATA = 219;
226
- static readonly KW_METHOD = 220;
227
- static readonly KW_MIN = 221;
228
- static readonly KW_MINUS = 222;
229
- static readonly KW_MINUTE = 223;
230
- static readonly KW_MOD = 224;
231
- static readonly KW_MODIFIES = 225;
232
- static readonly KW_MODIFY = 226;
233
- static readonly KW_MODULE = 227;
234
- static readonly KW_MODULES = 228;
235
- static readonly KW_MONDAY = 229;
236
- static readonly KW_MONTH = 230;
237
- static readonly KW_MORE = 231;
238
- static readonly KW_MULTISET = 232;
239
- static readonly KW_NATIONAL = 233;
240
- static readonly KW_NATURAL = 234;
241
- static readonly KW_NCHAR = 235;
242
- static readonly KW_NCLOB = 236;
243
- static readonly KW_NEW = 237;
244
- static readonly KW_NEXT = 238;
245
- static readonly KW_NO = 239;
246
- static readonly KW_NONE = 240;
247
- static readonly KW_NORMALIZE = 241;
248
- static readonly KW_NOT = 242;
249
- static readonly KW_NTH_VALUE = 243;
250
- static readonly KW_NTILE = 244;
251
- static readonly KW_NULL = 245;
252
- static readonly KW_NULLIF = 246;
253
- static readonly KW_NUMERIC = 247;
254
- static readonly KW_OCCURRENCES_REGEX = 248;
255
- static readonly KW_OCTET_LENGTH = 249;
256
- static readonly KW_OF = 250;
257
- static readonly KW_OFFSET = 251;
258
- static readonly KW_OLD = 252;
259
- static readonly KW_OMIT = 253;
260
- static readonly KW_ON = 254;
261
- static readonly KW_ONE = 255;
262
- static readonly KW_ONLY = 256;
263
- static readonly KW_OPEN = 257;
264
- static readonly KW_OR = 258;
265
- static readonly KW_ORDER = 259;
266
- static readonly KW_ORDINAL = 260;
267
- static readonly KW_OUT = 261;
268
- static readonly KW_OUTER = 262;
269
- static readonly KW_OVER = 263;
270
- static readonly KW_OVERLAPS = 264;
271
- static readonly KW_OVERLAY = 265;
272
- static readonly KW_OVERWRITE = 266;
273
- static readonly KW_OVERWRITING = 267;
274
- static readonly KW_PARAMETER = 268;
275
- static readonly KW_PARTITION = 269;
276
- static readonly KW_PARTITIONED = 270;
277
- static readonly KW_PARTITIONS = 271;
278
- static readonly KW_PATTERN = 272;
279
- static readonly KW_PER = 273;
280
- static readonly KW_PERCENT = 274;
281
- static readonly KW_PERCENTILE_CONT = 275;
282
- static readonly KW_PERCENTILE_DISC = 276;
283
- static readonly KW_PERCENT_RANK = 277;
284
- static readonly KW_PERIOD = 278;
285
- static readonly KW_PERMUTE = 279;
286
- static readonly KW_PIVOT = 280;
287
- static readonly KW_PORTION = 281;
288
- static readonly KW_POSITION = 282;
289
- static readonly KW_POSITION_REGEX = 283;
290
- static readonly KW_POWER = 284;
291
- static readonly KW_PRECEDES = 285;
292
- static readonly KW_PRECISION = 286;
293
- static readonly KW_PREPARE = 287;
294
- static readonly KW_PREV = 288;
295
- static readonly KW_PRIMARY = 289;
296
- static readonly KW_PROCEDURE = 290;
297
- static readonly KW_QUALIFY = 291;
298
- static readonly KW_QUARTERS = 292;
299
- static readonly KW_RANGE = 293;
300
- static readonly KW_RANK = 294;
301
- static readonly KW_RAW = 295;
302
- static readonly KW_READS = 296;
303
- static readonly KW_REAL = 297;
304
- static readonly KW_RECURSIVE = 298;
305
- static readonly KW_REF = 299;
306
- static readonly KW_REFERENCES = 300;
307
- static readonly KW_REFERENCING = 301;
308
- static readonly KW_REGR_AVGX = 302;
309
- static readonly KW_REGR_AVGY = 303;
310
- static readonly KW_REGR_COUNT = 304;
311
- static readonly KW_REGR_INTERCEPT = 305;
312
- static readonly KW_REGR_R2 = 306;
313
- static readonly KW_REGR_SLOPE = 307;
314
- static readonly KW_REGR_SXX = 308;
315
- static readonly KW_REGR_SXY = 309;
316
- static readonly KW_REGR_SYY = 310;
317
- static readonly KW_RELEASE = 311;
318
- static readonly KW_RENAME = 312;
319
- static readonly KW_RESET = 313;
320
- static readonly KW_RESULT = 314;
321
- static readonly KW_RETURN = 315;
322
- static readonly KW_RETURNS = 316;
323
- static readonly KW_REVOKE = 317;
324
- static readonly KW_RIGHT = 318;
325
- static readonly KW_RLIKE = 319;
326
- static readonly KW_ROLLBACK = 320;
327
- static readonly KW_ROLLUP = 321;
328
- static readonly KW_ROW = 322;
329
- static readonly KW_ROWS = 323;
330
- static readonly KW_ROW_NUMBER = 324;
331
- static readonly KW_RUNNING = 325;
332
- static readonly KW_SAFE_CAST = 326;
333
- static readonly KW_SAFE_OFFSET = 327;
334
- static readonly KW_SAFE_ORDINAL = 328;
335
- static readonly KW_SATURDAY = 329;
336
- static readonly KW_SAVEPOINT = 330;
337
- static readonly KW_SCALA = 331;
338
- static readonly KW_SCOPE = 332;
339
- static readonly KW_SCROLL = 333;
340
- static readonly KW_SEARCH = 334;
341
- static readonly KW_SECOND = 335;
342
- static readonly KW_SEEK = 336;
343
- static readonly KW_SELECT = 337;
344
- static readonly KW_SENSITIVE = 338;
345
- static readonly KW_SEPARATOR = 339;
346
- static readonly KW_SESSION_USER = 340;
347
- static readonly KW_SET = 341;
348
- static readonly KW_SHOW = 342;
349
- static readonly KW_SIMILAR = 343;
350
- static readonly KW_SKIP = 344;
351
- static readonly KW_SMALLINT = 345;
352
- static readonly KW_SOME = 346;
353
- static readonly KW_SPECIFIC = 347;
354
- static readonly KW_SPECIFICTYPE = 348;
355
- static readonly KW_SQL = 349;
356
- static readonly KW_SQLEXCEPTION = 350;
357
- static readonly KW_SQLSTATE = 351;
358
- static readonly KW_SQLWARNING = 352;
359
- static readonly KW_SQRT = 353;
360
- static readonly KW_START = 354;
361
- static readonly KW_STATEMENT = 355;
362
- static readonly KW_STATIC = 356;
363
- static readonly KW_STATISTICS = 357;
364
- static readonly KW_STDDEV_POP = 358;
365
- static readonly KW_STDDEV_SAMP = 359;
366
- static readonly KW_STREAM = 360;
367
- static readonly KW_STRING = 361;
368
- static readonly KW_STRING_AGG = 362;
369
- static readonly KW_SUBMULTISET = 363;
370
- static readonly KW_SUBSET = 364;
371
- static readonly KW_SUBSTRING = 365;
372
- static readonly KW_SUBSTRING_REGEX = 366;
373
- static readonly KW_SUCCEEDS = 367;
374
- static readonly KW_SUM = 368;
375
- static readonly KW_SUNDAY = 369;
376
- static readonly KW_SYMMETRIC = 370;
377
- static readonly KW_SYSTEM = 371;
378
- static readonly KW_SYSTEM_TIME = 372;
379
- static readonly KW_SYSTEM_USER = 373;
380
- static readonly KW_TABLE = 374;
381
- static readonly KW_TABLES = 375;
382
- static readonly KW_TABLESAMPLE = 376;
383
- static readonly KW_THEN = 377;
384
- static readonly KW_THURSDAY = 378;
385
- static readonly KW_TIME = 379;
386
- static readonly KW_TIMESTAMP = 380;
387
- static readonly KW_TIMESTAMP_DIFF = 381;
388
- static readonly KW_TIMESTAMP_LTZ = 382;
389
- static readonly KW_TIMESTAMP_TRUNC = 383;
390
- static readonly KW_TIMEZONE_HOUR = 384;
391
- static readonly KW_TIMEZONE_MINUTE = 385;
392
- static readonly KW_TIME_DIFF = 386;
393
- static readonly KW_TIME_TRUNC = 387;
394
- static readonly KW_TINYINT = 388;
395
- static readonly KW_TO = 389;
396
- static readonly KW_TRAILING = 390;
397
- static readonly KW_TRANSLATE = 391;
398
- static readonly KW_TRANSLATE_REGEX = 392;
399
- static readonly KW_TRANSLATION = 393;
400
- static readonly KW_TREAT = 394;
401
- static readonly KW_TRIGGER = 395;
402
- static readonly KW_TRIM = 396;
403
- static readonly KW_TRIM_ARRAY = 397;
404
- static readonly KW_TRUE = 398;
405
- static readonly KW_TRUNCATE = 399;
406
- static readonly KW_TRY_CAST = 400;
407
- static readonly KW_TUESDAY = 401;
408
- static readonly KW_UESCAPE = 402;
409
- static readonly KW_UNION = 403;
410
- static readonly KW_UNIQUE = 404;
411
- static readonly KW_UNKNOWN = 405;
412
- static readonly KW_UNNEST = 406;
413
- static readonly KW_UNPIVOT = 407;
414
- static readonly KW_UPDATE = 408;
415
- static readonly KW_UPPER = 409;
416
- static readonly KW_UPSERT = 410;
417
- static readonly KW_USE = 411;
418
- static readonly KW_USER = 412;
419
- static readonly KW_USING = 413;
420
- static readonly KW_VALUE = 414;
421
- static readonly KW_VALUES = 415;
422
- static readonly KW_VALUE_OF = 416;
423
- static readonly KW_VARBINARY = 417;
424
- static readonly KW_VARCHAR = 418;
425
- static readonly KW_VARYING = 419;
426
- static readonly KW_VAR_POP = 420;
427
- static readonly KW_VAR_SAMP = 421;
428
- static readonly KW_VERSIONING = 422;
429
- static readonly KW_VIEWS = 423;
430
- static readonly KW_VIRTUAL = 424;
431
- static readonly KW_WATERMARK = 425;
432
- static readonly KW_WATERMARKS = 426;
433
- static readonly KW_WEDNESDAY = 427;
434
- static readonly KW_WEEKS = 428;
435
- static readonly KW_WHEN = 429;
436
- static readonly KW_WHENEVER = 430;
437
- static readonly KW_WHERE = 431;
438
- static readonly KW_WIDTH_BUCKET = 432;
439
- static readonly KW_WINDOW = 433;
440
- static readonly KW_WITH = 434;
441
- static readonly KW_WITHIN = 435;
442
- static readonly KW_WITHOUT = 436;
443
- static readonly KW_YEAR = 437;
444
- static readonly KW_ADD = 438;
445
- static readonly KW_AFTER = 439;
446
- static readonly KW_ASC = 440;
447
- static readonly KW_CASCADE = 441;
448
- static readonly KW_CATALOG = 442;
449
- static readonly KW_CENTURY = 443;
450
- static readonly KW_CONFIG = 444;
451
- static readonly KW_CONSTRAINTS = 445;
452
- static readonly KW_CUMULATE = 446;
453
- static readonly KW_DATA = 447;
454
- static readonly KW_DATABASE = 448;
455
- static readonly KW_DAYS = 449;
456
- static readonly KW_DECADE = 450;
457
- static readonly KW_DESC = 451;
458
- static readonly KW_DESCRIPTOR = 452;
459
- static readonly KW_DIV = 453;
460
- static readonly KW_ENGINE = 454;
461
- static readonly KW_EPOCH = 455;
462
- static readonly KW_EXCLUDING = 456;
463
- static readonly KW_FILE = 457;
464
- static readonly KW_FIRST = 458;
465
- static readonly KW_GENERATED = 459;
466
- static readonly KW_HOP = 460;
467
- static readonly KW_HOURS = 461;
468
- static readonly KW_IGNORE = 462;
469
- static readonly KW_INCLUDING = 463;
470
- static readonly KW_JAR = 464;
471
- static readonly KW_JARS = 465;
472
- static readonly KW_JAVA = 466;
473
- static readonly KW_KEY = 467;
474
- static readonly KW_LAST = 468;
475
- static readonly KW_LOAD = 469;
476
- static readonly KW_MAP = 470;
477
- static readonly KW_MICROSECOND = 471;
478
- static readonly KW_MILLENNIUM = 472;
479
- static readonly KW_MILLISECOND = 473;
480
- static readonly KW_MINUTES = 474;
481
- static readonly KW_MONTHS = 475;
482
- static readonly KW_NANOSECOND = 476;
483
- static readonly KW_NULLS = 477;
484
- static readonly KW_OPTIONS = 478;
485
- static readonly KW_PAST = 479;
486
- static readonly KW_PLAN = 480;
487
- static readonly KW_PRECEDING = 481;
488
- static readonly KW_PYTHON = 482;
489
- static readonly KW_PYTHON_ARCHIVES = 483;
490
- static readonly KW_PYTHON_DEPENDENCIES = 484;
491
- static readonly KW_PYTHON_FILES = 485;
492
- static readonly KW_PYTHON_JAR = 486;
493
- static readonly KW_PYTHON_PARAMETER = 487;
494
- static readonly KW_PYTHON_REQUIREMENTS = 488;
495
- static readonly KW_QUARTER = 489;
496
- static readonly KW_REMOVE = 490;
497
- static readonly KW_RESTRICT = 491;
498
- static readonly KW_SECONDS = 492;
499
- static readonly KW_SESSION = 493;
500
- static readonly KW_SETS = 494;
501
- static readonly KW_SIZE = 495;
502
- static readonly KW_SLIDE = 496;
503
- static readonly KW_STEP = 497;
504
- static readonly KW_TEMPORARY = 498;
505
- static readonly KW_TIMECOL = 499;
506
- static readonly KW_TUMBLE = 500;
507
- static readonly KW_UNLOAD = 501;
508
- static readonly KW_VIEW = 502;
509
- static readonly KW_WEEK = 503;
510
- static readonly KW_YEARS = 504;
511
- static readonly KW_ZONE = 505;
512
- static readonly EQUAL_SYMBOL = 506;
513
- static readonly GREATER_SYMBOL = 507;
514
- static readonly LESS_SYMBOL = 508;
515
- static readonly EXCLAMATION_SYMBOL = 509;
516
- static readonly BIT_NOT_OP = 510;
517
- static readonly BIT_OR_OP = 511;
518
- static readonly BIT_AND_OP = 512;
519
- static readonly BIT_XOR_OP = 513;
520
- static readonly DOT = 514;
521
- static readonly LS_BRACKET = 515;
522
- static readonly RS_BRACKET = 516;
523
- static readonly LR_BRACKET = 517;
524
- static readonly RR_BRACKET = 518;
525
- static readonly LB_BRACKET = 519;
526
- static readonly RB_BRACKET = 520;
527
- static readonly COMMA = 521;
528
- static readonly SEMICOLON = 522;
529
- static readonly AT_SIGN = 523;
530
- static readonly SINGLE_QUOTE_SYMB = 524;
531
- static readonly DOUBLE_QUOTE_SYMB = 525;
532
- static readonly REVERSE_QUOTE_SYMB = 526;
533
- static readonly COLON_SYMB = 527;
534
- static readonly ASTERISK_SIGN = 528;
535
- static readonly UNDERLINE_SIGN = 529;
536
- static readonly HYPHEN_SIGN = 530;
537
- static readonly ADD_SIGN = 531;
538
- static readonly PERCENT_SIGN = 532;
539
- static readonly DOUBLE_VERTICAL_SIGN = 533;
540
- static readonly DOUBLE_HYPHEN_SIGN = 534;
541
- static readonly SLASH_SIGN = 535;
542
- static readonly QUESTION_MARK_SIGN = 536;
543
- static readonly DOUBLE_RIGHT_ARROW = 537;
544
- static readonly STRING_LITERAL = 538;
545
- static readonly DIG_LITERAL = 539;
546
- static readonly REAL_LITERAL = 540;
547
- static readonly BIT_STRING = 541;
548
- static readonly ID_LITERAL = 542;
152
+ static readonly KW_FOLLOWING = 146;
153
+ static readonly KW_FOR = 147;
154
+ static readonly KW_FOREIGN = 148;
155
+ static readonly KW_FRAME_ROW = 149;
156
+ static readonly KW_FREE = 150;
157
+ static readonly KW_FRIDAY = 151;
158
+ static readonly KW_FROM = 152;
159
+ static readonly KW_FULL = 153;
160
+ static readonly KW_FUNCTION = 154;
161
+ static readonly KW_FUNCTIONS = 155;
162
+ static readonly KW_FUSION = 156;
163
+ static readonly KW_GET = 157;
164
+ static readonly KW_GLOBAL = 158;
165
+ static readonly KW_GRANT = 159;
166
+ static readonly KW_GROUP = 160;
167
+ static readonly KW_GROUPING = 161;
168
+ static readonly KW_GROUPS = 162;
169
+ static readonly KW_GROUP_CONCAT = 163;
170
+ static readonly KW_HAVING = 164;
171
+ static readonly KW_HOLD = 165;
172
+ static readonly KW_HOUR = 166;
173
+ static readonly KW_IDENTITY = 167;
174
+ static readonly KW_IF = 168;
175
+ static readonly KW_ILIKE = 169;
176
+ static readonly KW_IMPORT = 170;
177
+ static readonly KW_IN = 171;
178
+ static readonly KW_INCLUDE = 172;
179
+ static readonly KW_INDICATOR = 173;
180
+ static readonly KW_INITIAL = 174;
181
+ static readonly KW_INNER = 175;
182
+ static readonly KW_INOUT = 176;
183
+ static readonly KW_INSENSITIVE = 177;
184
+ static readonly KW_INSERT = 178;
185
+ static readonly KW_INT = 179;
186
+ static readonly KW_INTEGER = 180;
187
+ static readonly KW_INTERSECT = 181;
188
+ static readonly KW_INTERSECTION = 182;
189
+ static readonly KW_INTERVAL = 183;
190
+ static readonly KW_INTO = 184;
191
+ static readonly KW_IS = 185;
192
+ static readonly KW_JOIN = 186;
193
+ static readonly KW_JSON = 187;
194
+ static readonly KW_JSON_ARRAY = 188;
195
+ static readonly KW_JSON_ARRAYAGG = 189;
196
+ static readonly KW_JSON_EXECUTION_PLAN = 190;
197
+ static readonly KW_JSON_EXISTS = 191;
198
+ static readonly KW_JSON_OBJECT = 192;
199
+ static readonly KW_JSON_OBJECTAGG = 193;
200
+ static readonly KW_JSON_QUERY = 194;
201
+ static readonly KW_JSON_VALUE = 195;
202
+ static readonly KW_LAG = 196;
203
+ static readonly KW_LANGUAGE = 197;
204
+ static readonly KW_LARGE = 198;
205
+ static readonly KW_LAST_VALUE = 199;
206
+ static readonly KW_LATERAL = 200;
207
+ static readonly KW_LEAD = 201;
208
+ static readonly KW_LEADING = 202;
209
+ static readonly KW_LEFT = 203;
210
+ static readonly KW_LIKE = 204;
211
+ static readonly KW_LIKE_REGEX = 205;
212
+ static readonly KW_LIMIT = 206;
213
+ static readonly KW_LN = 207;
214
+ static readonly KW_LOCAL = 208;
215
+ static readonly KW_LOCALTIME = 209;
216
+ static readonly KW_LOCALTIMESTAMP = 210;
217
+ static readonly KW_LOWER = 211;
218
+ static readonly KW_MATCH = 212;
219
+ static readonly KW_MATCHES = 213;
220
+ static readonly KW_MATCH_NUMBER = 214;
221
+ static readonly KW_MATCH_RECOGNIZE = 215;
222
+ static readonly KW_MAX = 216;
223
+ static readonly KW_MEASURES = 217;
224
+ static readonly KW_MEMBER = 218;
225
+ static readonly KW_MERGE = 219;
226
+ static readonly KW_METADATA = 220;
227
+ static readonly KW_METHOD = 221;
228
+ static readonly KW_MIN = 222;
229
+ static readonly KW_MINUS = 223;
230
+ static readonly KW_MINUTE = 224;
231
+ static readonly KW_MOD = 225;
232
+ static readonly KW_MODIFIES = 226;
233
+ static readonly KW_MODIFY = 227;
234
+ static readonly KW_MODULE = 228;
235
+ static readonly KW_MODULES = 229;
236
+ static readonly KW_MONDAY = 230;
237
+ static readonly KW_MONTH = 231;
238
+ static readonly KW_MORE = 232;
239
+ static readonly KW_MULTISET = 233;
240
+ static readonly KW_NATIONAL = 234;
241
+ static readonly KW_NATURAL = 235;
242
+ static readonly KW_NCHAR = 236;
243
+ static readonly KW_NCLOB = 237;
244
+ static readonly KW_NEW = 238;
245
+ static readonly KW_NEXT = 239;
246
+ static readonly KW_NO = 240;
247
+ static readonly KW_NONE = 241;
248
+ static readonly KW_NORMALIZE = 242;
249
+ static readonly KW_NOT = 243;
250
+ static readonly KW_NTH_VALUE = 244;
251
+ static readonly KW_NTILE = 245;
252
+ static readonly KW_NULL = 246;
253
+ static readonly KW_NULLIF = 247;
254
+ static readonly KW_NUMERIC = 248;
255
+ static readonly KW_OCCURRENCES_REGEX = 249;
256
+ static readonly KW_OCTET_LENGTH = 250;
257
+ static readonly KW_OF = 251;
258
+ static readonly KW_OFFSET = 252;
259
+ static readonly KW_OLD = 253;
260
+ static readonly KW_OMIT = 254;
261
+ static readonly KW_ON = 255;
262
+ static readonly KW_ONE = 256;
263
+ static readonly KW_ONLY = 257;
264
+ static readonly KW_OPEN = 258;
265
+ static readonly KW_OR = 259;
266
+ static readonly KW_ORDER = 260;
267
+ static readonly KW_ORDINAL = 261;
268
+ static readonly KW_OUT = 262;
269
+ static readonly KW_OUTER = 263;
270
+ static readonly KW_OVER = 264;
271
+ static readonly KW_OVERLAPS = 265;
272
+ static readonly KW_OVERLAY = 266;
273
+ static readonly KW_OVERWRITE = 267;
274
+ static readonly KW_OVERWRITING = 268;
275
+ static readonly KW_PARAMETER = 269;
276
+ static readonly KW_PARTITION = 270;
277
+ static readonly KW_PARTITIONED = 271;
278
+ static readonly KW_PARTITIONS = 272;
279
+ static readonly KW_PATTERN = 273;
280
+ static readonly KW_PER = 274;
281
+ static readonly KW_PERCENT = 275;
282
+ static readonly KW_PERCENTILE_CONT = 276;
283
+ static readonly KW_PERCENTILE_DISC = 277;
284
+ static readonly KW_PERCENT_RANK = 278;
285
+ static readonly KW_PERIOD = 279;
286
+ static readonly KW_PERMUTE = 280;
287
+ static readonly KW_PIVOT = 281;
288
+ static readonly KW_PORTION = 282;
289
+ static readonly KW_POSITION = 283;
290
+ static readonly KW_POSITION_REGEX = 284;
291
+ static readonly KW_POWER = 285;
292
+ static readonly KW_PRECEDES = 286;
293
+ static readonly KW_PRECISION = 287;
294
+ static readonly KW_PREPARE = 288;
295
+ static readonly KW_PREV = 289;
296
+ static readonly KW_PRIMARY = 290;
297
+ static readonly KW_PROCEDURE = 291;
298
+ static readonly KW_QUALIFY = 292;
299
+ static readonly KW_QUARTERS = 293;
300
+ static readonly KW_RANGE = 294;
301
+ static readonly KW_RANK = 295;
302
+ static readonly KW_RAW = 296;
303
+ static readonly KW_READS = 297;
304
+ static readonly KW_REAL = 298;
305
+ static readonly KW_RECURSIVE = 299;
306
+ static readonly KW_REF = 300;
307
+ static readonly KW_REFERENCES = 301;
308
+ static readonly KW_REFERENCING = 302;
309
+ static readonly KW_REGR_AVGX = 303;
310
+ static readonly KW_REGR_AVGY = 304;
311
+ static readonly KW_REGR_COUNT = 305;
312
+ static readonly KW_REGR_INTERCEPT = 306;
313
+ static readonly KW_REGR_R2 = 307;
314
+ static readonly KW_REGR_SLOPE = 308;
315
+ static readonly KW_REGR_SXX = 309;
316
+ static readonly KW_REGR_SXY = 310;
317
+ static readonly KW_REGR_SYY = 311;
318
+ static readonly KW_RELEASE = 312;
319
+ static readonly KW_RENAME = 313;
320
+ static readonly KW_RESET = 314;
321
+ static readonly KW_RESULT = 315;
322
+ static readonly KW_RETURN = 316;
323
+ static readonly KW_RETURNS = 317;
324
+ static readonly KW_REVOKE = 318;
325
+ static readonly KW_RIGHT = 319;
326
+ static readonly KW_RLIKE = 320;
327
+ static readonly KW_ROLLBACK = 321;
328
+ static readonly KW_ROLLUP = 322;
329
+ static readonly KW_ROW = 323;
330
+ static readonly KW_ROWS = 324;
331
+ static readonly KW_ROW_NUMBER = 325;
332
+ static readonly KW_RUNNING = 326;
333
+ static readonly KW_SAFE_CAST = 327;
334
+ static readonly KW_SAFE_OFFSET = 328;
335
+ static readonly KW_SAFE_ORDINAL = 329;
336
+ static readonly KW_SATURDAY = 330;
337
+ static readonly KW_SAVEPOINT = 331;
338
+ static readonly KW_SCALA = 332;
339
+ static readonly KW_SCOPE = 333;
340
+ static readonly KW_SCROLL = 334;
341
+ static readonly KW_SEARCH = 335;
342
+ static readonly KW_SECOND = 336;
343
+ static readonly KW_SEEK = 337;
344
+ static readonly KW_SELECT = 338;
345
+ static readonly KW_SENSITIVE = 339;
346
+ static readonly KW_SEPARATOR = 340;
347
+ static readonly KW_SESSION_USER = 341;
348
+ static readonly KW_SET = 342;
349
+ static readonly KW_SHOW = 343;
350
+ static readonly KW_SIMILAR = 344;
351
+ static readonly KW_SKIP = 345;
352
+ static readonly KW_SMALLINT = 346;
353
+ static readonly KW_SOME = 347;
354
+ static readonly KW_SPECIFIC = 348;
355
+ static readonly KW_SPECIFICTYPE = 349;
356
+ static readonly KW_SQL = 350;
357
+ static readonly KW_SQLEXCEPTION = 351;
358
+ static readonly KW_SQLSTATE = 352;
359
+ static readonly KW_SQLWARNING = 353;
360
+ static readonly KW_SQRT = 354;
361
+ static readonly KW_START = 355;
362
+ static readonly KW_STATEMENT = 356;
363
+ static readonly KW_STATIC = 357;
364
+ static readonly KW_STATISTICS = 358;
365
+ static readonly KW_STDDEV_POP = 359;
366
+ static readonly KW_STDDEV_SAMP = 360;
367
+ static readonly KW_STREAM = 361;
368
+ static readonly KW_STRING = 362;
369
+ static readonly KW_STRING_AGG = 363;
370
+ static readonly KW_SUBMULTISET = 364;
371
+ static readonly KW_SUBSET = 365;
372
+ static readonly KW_SUBSTRING = 366;
373
+ static readonly KW_SUBSTRING_REGEX = 367;
374
+ static readonly KW_SUCCEEDS = 368;
375
+ static readonly KW_SUM = 369;
376
+ static readonly KW_SUNDAY = 370;
377
+ static readonly KW_SYMMETRIC = 371;
378
+ static readonly KW_SYSTEM = 372;
379
+ static readonly KW_SYSTEM_TIME = 373;
380
+ static readonly KW_SYSTEM_USER = 374;
381
+ static readonly KW_TABLE = 375;
382
+ static readonly KW_TABLES = 376;
383
+ static readonly KW_TABLESAMPLE = 377;
384
+ static readonly KW_THEN = 378;
385
+ static readonly KW_THURSDAY = 379;
386
+ static readonly KW_TIME = 380;
387
+ static readonly KW_TIMESTAMP = 381;
388
+ static readonly KW_TIMESTAMP_DIFF = 382;
389
+ static readonly KW_TIMESTAMP_LTZ = 383;
390
+ static readonly KW_TIMESTAMP_TRUNC = 384;
391
+ static readonly KW_TIMEZONE_HOUR = 385;
392
+ static readonly KW_TIMEZONE_MINUTE = 386;
393
+ static readonly KW_TIME_DIFF = 387;
394
+ static readonly KW_TIME_TRUNC = 388;
395
+ static readonly KW_TINYINT = 389;
396
+ static readonly KW_TO = 390;
397
+ static readonly KW_TRAILING = 391;
398
+ static readonly KW_TRANSLATE = 392;
399
+ static readonly KW_TRANSLATE_REGEX = 393;
400
+ static readonly KW_TRANSLATION = 394;
401
+ static readonly KW_TREAT = 395;
402
+ static readonly KW_TRIGGER = 396;
403
+ static readonly KW_TRIM = 397;
404
+ static readonly KW_TRIM_ARRAY = 398;
405
+ static readonly KW_TRUE = 399;
406
+ static readonly KW_TRUNCATE = 400;
407
+ static readonly KW_TRY_CAST = 401;
408
+ static readonly KW_TUESDAY = 402;
409
+ static readonly KW_UESCAPE = 403;
410
+ static readonly KW_UNBOUNDED = 404;
411
+ static readonly KW_UNION = 405;
412
+ static readonly KW_UNIQUE = 406;
413
+ static readonly KW_UNKNOWN = 407;
414
+ static readonly KW_UNNEST = 408;
415
+ static readonly KW_UNPIVOT = 409;
416
+ static readonly KW_UPDATE = 410;
417
+ static readonly KW_UPPER = 411;
418
+ static readonly KW_UPSERT = 412;
419
+ static readonly KW_USE = 413;
420
+ static readonly KW_USER = 414;
421
+ static readonly KW_USING = 415;
422
+ static readonly KW_VALUE = 416;
423
+ static readonly KW_VALUES = 417;
424
+ static readonly KW_VALUE_OF = 418;
425
+ static readonly KW_VARBINARY = 419;
426
+ static readonly KW_VARCHAR = 420;
427
+ static readonly KW_VARYING = 421;
428
+ static readonly KW_VAR_POP = 422;
429
+ static readonly KW_VAR_SAMP = 423;
430
+ static readonly KW_VERSIONING = 424;
431
+ static readonly KW_VIEWS = 425;
432
+ static readonly KW_VIRTUAL = 426;
433
+ static readonly KW_WATERMARK = 427;
434
+ static readonly KW_WATERMARKS = 428;
435
+ static readonly KW_WEDNESDAY = 429;
436
+ static readonly KW_WEEKS = 430;
437
+ static readonly KW_WHEN = 431;
438
+ static readonly KW_WHENEVER = 432;
439
+ static readonly KW_WHERE = 433;
440
+ static readonly KW_WIDTH_BUCKET = 434;
441
+ static readonly KW_WINDOW = 435;
442
+ static readonly KW_WITH = 436;
443
+ static readonly KW_WITHIN = 437;
444
+ static readonly KW_WITHOUT = 438;
445
+ static readonly KW_YEAR = 439;
446
+ static readonly KW_ADD = 440;
447
+ static readonly KW_AFTER = 441;
448
+ static readonly KW_ASC = 442;
449
+ static readonly KW_CASCADE = 443;
450
+ static readonly KW_CATALOG = 444;
451
+ static readonly KW_CENTURY = 445;
452
+ static readonly KW_CONFIG = 446;
453
+ static readonly KW_CONSTRAINTS = 447;
454
+ static readonly KW_CUMULATE = 448;
455
+ static readonly KW_DATA = 449;
456
+ static readonly KW_DATABASE = 450;
457
+ static readonly KW_DAYS = 451;
458
+ static readonly KW_DECADE = 452;
459
+ static readonly KW_DESC = 453;
460
+ static readonly KW_DESCRIPTOR = 454;
461
+ static readonly KW_DIV = 455;
462
+ static readonly KW_ENGINE = 456;
463
+ static readonly KW_EPOCH = 457;
464
+ static readonly KW_EXCLUDING = 458;
465
+ static readonly KW_FILE = 459;
466
+ static readonly KW_FIRST = 460;
467
+ static readonly KW_GENERATED = 461;
468
+ static readonly KW_HOP = 462;
469
+ static readonly KW_HOURS = 463;
470
+ static readonly KW_IGNORE = 464;
471
+ static readonly KW_INCLUDING = 465;
472
+ static readonly KW_JAR = 466;
473
+ static readonly KW_JARS = 467;
474
+ static readonly KW_JAVA = 468;
475
+ static readonly KW_KEY = 469;
476
+ static readonly KW_LAST = 470;
477
+ static readonly KW_LOAD = 471;
478
+ static readonly KW_MAP = 472;
479
+ static readonly KW_MICROSECOND = 473;
480
+ static readonly KW_MILLENNIUM = 474;
481
+ static readonly KW_MILLISECOND = 475;
482
+ static readonly KW_MINUTES = 476;
483
+ static readonly KW_MONTHS = 477;
484
+ static readonly KW_NANOSECOND = 478;
485
+ static readonly KW_NULLS = 479;
486
+ static readonly KW_OPTIONS = 480;
487
+ static readonly KW_PAST = 481;
488
+ static readonly KW_PLAN = 482;
489
+ static readonly KW_PRECEDING = 483;
490
+ static readonly KW_PYTHON = 484;
491
+ static readonly KW_PYTHON_ARCHIVES = 485;
492
+ static readonly KW_PYTHON_DEPENDENCIES = 486;
493
+ static readonly KW_PYTHON_FILES = 487;
494
+ static readonly KW_PYTHON_JAR = 488;
495
+ static readonly KW_PYTHON_PARAMETER = 489;
496
+ static readonly KW_PYTHON_REQUIREMENTS = 490;
497
+ static readonly KW_QUARTER = 491;
498
+ static readonly KW_REMOVE = 492;
499
+ static readonly KW_RESTRICT = 493;
500
+ static readonly KW_SECONDS = 494;
501
+ static readonly KW_SESSION = 495;
502
+ static readonly KW_SETS = 496;
503
+ static readonly KW_SIZE = 497;
504
+ static readonly KW_SLIDE = 498;
505
+ static readonly KW_STEP = 499;
506
+ static readonly KW_TEMPORARY = 500;
507
+ static readonly KW_TIMECOL = 501;
508
+ static readonly KW_TUMBLE = 502;
509
+ static readonly KW_UNLOAD = 503;
510
+ static readonly KW_VIEW = 504;
511
+ static readonly KW_WEEK = 505;
512
+ static readonly KW_YEARS = 506;
513
+ static readonly KW_ZONE = 507;
514
+ static readonly EQUAL_SYMBOL = 508;
515
+ static readonly GREATER_SYMBOL = 509;
516
+ static readonly LESS_SYMBOL = 510;
517
+ static readonly EXCLAMATION_SYMBOL = 511;
518
+ static readonly BIT_NOT_OP = 512;
519
+ static readonly BIT_OR_OP = 513;
520
+ static readonly BIT_AND_OP = 514;
521
+ static readonly BIT_XOR_OP = 515;
522
+ static readonly DOT = 516;
523
+ static readonly LS_BRACKET = 517;
524
+ static readonly RS_BRACKET = 518;
525
+ static readonly LR_BRACKET = 519;
526
+ static readonly RR_BRACKET = 520;
527
+ static readonly LB_BRACKET = 521;
528
+ static readonly RB_BRACKET = 522;
529
+ static readonly COMMA = 523;
530
+ static readonly SEMICOLON = 524;
531
+ static readonly AT_SIGN = 525;
532
+ static readonly SINGLE_QUOTE_SYMB = 526;
533
+ static readonly DOUBLE_QUOTE_SYMB = 527;
534
+ static readonly REVERSE_QUOTE_SYMB = 528;
535
+ static readonly COLON_SYMB = 529;
536
+ static readonly ASTERISK_SIGN = 530;
537
+ static readonly UNDERLINE_SIGN = 531;
538
+ static readonly HYPHEN_SIGN = 532;
539
+ static readonly ADD_SIGN = 533;
540
+ static readonly PERCENT_SIGN = 534;
541
+ static readonly DOUBLE_VERTICAL_SIGN = 535;
542
+ static readonly DOUBLE_HYPHEN_SIGN = 536;
543
+ static readonly SLASH_SIGN = 537;
544
+ static readonly QUESTION_MARK_SIGN = 538;
545
+ static readonly DOUBLE_RIGHT_ARROW = 539;
546
+ static readonly STRING_LITERAL = 540;
547
+ static readonly DIG_LITERAL = 541;
548
+ static readonly REAL_LITERAL = 542;
549
+ static readonly BIT_STRING = 543;
550
+ static readonly ID_LITERAL = 544;
549
551
  static readonly RULE_program = 0;
550
552
  static readonly RULE_singleStatement = 1;
551
553
  static readonly RULE_sqlStatement = 2;
@@ -572,183 +574,193 @@ export declare class FlinkSqlParser extends SQLParserBase {
572
574
  static readonly RULE_columnOptionDefinition = 23;
573
575
  static readonly RULE_physicalColumnDefinition = 24;
574
576
  static readonly RULE_columnNameCreate = 25;
575
- static readonly RULE_columnName = 26;
576
- static readonly RULE_columnNamePath = 27;
577
- static readonly RULE_columnNameList = 28;
578
- static readonly RULE_columnType = 29;
579
- static readonly RULE_lengthOneDimension = 30;
580
- static readonly RULE_lengthTwoOptionalDimension = 31;
581
- static readonly RULE_lengthTwoStringDimension = 32;
582
- static readonly RULE_lengthOneTypeDimension = 33;
583
- static readonly RULE_mapTypeDimension = 34;
584
- static readonly RULE_rowTypeDimension = 35;
585
- static readonly RULE_columnConstraint = 36;
586
- static readonly RULE_metadataColumnDefinition = 37;
587
- static readonly RULE_metadataKey = 38;
588
- static readonly RULE_computedColumnDefinition = 39;
589
- static readonly RULE_computedColumnExpression = 40;
590
- static readonly RULE_watermarkDefinition = 41;
591
- static readonly RULE_tableConstraint = 42;
592
- static readonly RULE_constraintName = 43;
593
- static readonly RULE_selfDefinitionClause = 44;
594
- static readonly RULE_partitionDefinition = 45;
595
- static readonly RULE_transformList = 46;
596
- static readonly RULE_transform = 47;
597
- static readonly RULE_transformArgument = 48;
598
- static readonly RULE_likeDefinition = 49;
599
- static readonly RULE_likeOption = 50;
600
- static readonly RULE_createCatalog = 51;
601
- static readonly RULE_createDatabase = 52;
602
- static readonly RULE_createView = 53;
603
- static readonly RULE_createFunction = 54;
604
- static readonly RULE_usingClause = 55;
605
- static readonly RULE_jarFileName = 56;
606
- static readonly RULE_alterTable = 57;
607
- static readonly RULE_renameDefinition = 58;
608
- static readonly RULE_setKeyValueDefinition = 59;
609
- static readonly RULE_addConstraint = 60;
610
- static readonly RULE_dropConstraint = 61;
611
- static readonly RULE_addUnique = 62;
612
- static readonly RULE_notForced = 63;
613
- static readonly RULE_alterView = 64;
614
- static readonly RULE_alterDatabase = 65;
615
- static readonly RULE_alterFunction = 66;
616
- static readonly RULE_dropCatalog = 67;
617
- static readonly RULE_dropTable = 68;
618
- static readonly RULE_dropDatabase = 69;
619
- static readonly RULE_dropView = 70;
620
- static readonly RULE_dropFunction = 71;
621
- static readonly RULE_insertStatement = 72;
622
- static readonly RULE_insertSimpleStatement = 73;
623
- static readonly RULE_insertPartitionDefinition = 74;
624
- static readonly RULE_valuesDefinition = 75;
625
- static readonly RULE_valuesRowDefinition = 76;
626
- static readonly RULE_valueDefinition = 77;
627
- static readonly RULE_insertMulStatementCompatibility = 78;
628
- static readonly RULE_insertMulStatement = 79;
629
- static readonly RULE_queryStatement = 80;
630
- static readonly RULE_valuesClause = 81;
631
- static readonly RULE_withClause = 82;
632
- static readonly RULE_withItem = 83;
633
- static readonly RULE_withItemName = 84;
634
- static readonly RULE_selectStatement = 85;
635
- static readonly RULE_selectClause = 86;
636
- static readonly RULE_selectList = 87;
637
- static readonly RULE_columnProjectItem = 88;
638
- static readonly RULE_selectWindowItemColumnName = 89;
639
- static readonly RULE_selectExpressionColumnName = 90;
640
- static readonly RULE_selectLiteralColumnName = 91;
641
- static readonly RULE_columnAlias = 92;
642
- static readonly RULE_projectItemDefinition = 93;
643
- static readonly RULE_tableAllColumns = 94;
644
- static readonly RULE_overWindowItem = 95;
645
- static readonly RULE_fromClause = 96;
646
- static readonly RULE_tableExpression = 97;
647
- static readonly RULE_tableReference = 98;
648
- static readonly RULE_tablePrimary = 99;
649
- static readonly RULE_atomFunctionTable = 100;
650
- static readonly RULE_atomExpressionTable = 101;
651
- static readonly RULE_systemTimePeriod = 102;
652
- static readonly RULE_dateTimeExpression = 103;
653
- static readonly RULE_inlineDataValueClause = 104;
654
- static readonly RULE_windowTVFClause = 105;
655
- static readonly RULE_windowTVFExpression = 106;
656
- static readonly RULE_windowTVFName = 107;
657
- static readonly RULE_windowTVFParam = 108;
658
- static readonly RULE_timeIntervalParamName = 109;
659
- static readonly RULE_columnDescriptor = 110;
660
- static readonly RULE_joinCondition = 111;
661
- static readonly RULE_whereClause = 112;
662
- static readonly RULE_groupByClause = 113;
663
- static readonly RULE_groupItemDefinition = 114;
664
- static readonly RULE_groupingSets = 115;
665
- static readonly RULE_groupingSetsNotationName = 116;
666
- static readonly RULE_groupWindowFunction = 117;
667
- static readonly RULE_groupWindowFunctionName = 118;
668
- static readonly RULE_timeAttrColumn = 119;
669
- static readonly RULE_havingClause = 120;
670
- static readonly RULE_windowClause = 121;
671
- static readonly RULE_namedWindow = 122;
672
- static readonly RULE_windowSpec = 123;
673
- static readonly RULE_matchRecognizeClause = 124;
674
- static readonly RULE_orderByClause = 125;
675
- static readonly RULE_orderItemDefinition = 126;
676
- static readonly RULE_limitClause = 127;
677
- static readonly RULE_partitionByClause = 128;
678
- static readonly RULE_quantifiers = 129;
679
- static readonly RULE_measuresClause = 130;
680
- static readonly RULE_patternDefinition = 131;
681
- static readonly RULE_patternVariable = 132;
682
- static readonly RULE_outputMode = 133;
683
- static readonly RULE_afterMatchStrategy = 134;
684
- static readonly RULE_patternVariablesDefinition = 135;
685
- static readonly RULE_windowFrame = 136;
686
- static readonly RULE_frameBound = 137;
687
- static readonly RULE_withinClause = 138;
688
- static readonly RULE_expression = 139;
689
- static readonly RULE_booleanExpression = 140;
690
- static readonly RULE_predicate = 141;
691
- static readonly RULE_likePredicate = 142;
692
- static readonly RULE_valueExpression = 143;
693
- static readonly RULE_functionCallExpression = 144;
694
- static readonly RULE_primaryExpression = 145;
695
- static readonly RULE_functionNameCreate = 146;
696
- static readonly RULE_functionName = 147;
697
- static readonly RULE_functionNameAndParams = 148;
698
- static readonly RULE_functionNameWithParams = 149;
699
- static readonly RULE_functionParam = 150;
700
- static readonly RULE_dereferenceDefinition = 151;
701
- static readonly RULE_correlationName = 152;
702
- static readonly RULE_qualifiedName = 153;
703
- static readonly RULE_timeIntervalExpression = 154;
704
- static readonly RULE_errorCapturingMultiUnitsInterval = 155;
705
- static readonly RULE_multiUnitsInterval = 156;
706
- static readonly RULE_errorCapturingUnitToUnitInterval = 157;
707
- static readonly RULE_unitToUnitInterval = 158;
708
- static readonly RULE_intervalValue = 159;
709
- static readonly RULE_tableAlias = 160;
710
- static readonly RULE_errorCapturingIdentifier = 161;
711
- static readonly RULE_errorCapturingIdentifierExtra = 162;
712
- static readonly RULE_identifierList = 163;
713
- static readonly RULE_identifierSeq = 164;
714
- static readonly RULE_identifier = 165;
715
- static readonly RULE_unquotedIdentifier = 166;
716
- static readonly RULE_quotedIdentifier = 167;
717
- static readonly RULE_whenClause = 168;
718
- static readonly RULE_catalogPath = 169;
719
- static readonly RULE_catalogPathCreate = 170;
720
- static readonly RULE_databasePath = 171;
721
- static readonly RULE_databasePathCreate = 172;
722
- static readonly RULE_tablePathCreate = 173;
723
- static readonly RULE_tablePath = 174;
724
- static readonly RULE_viewPath = 175;
725
- static readonly RULE_viewPathCreate = 176;
726
- static readonly RULE_uid = 177;
727
- static readonly RULE_withOption = 178;
728
- static readonly RULE_ifNotExists = 179;
729
- static readonly RULE_ifExists = 180;
730
- static readonly RULE_tablePropertyList = 181;
731
- static readonly RULE_tableProperty = 182;
732
- static readonly RULE_tablePropertyKey = 183;
733
- static readonly RULE_tablePropertyValue = 184;
734
- static readonly RULE_logicalOperator = 185;
735
- static readonly RULE_comparisonOperator = 186;
736
- static readonly RULE_bitOperator = 187;
737
- static readonly RULE_mathOperator = 188;
738
- static readonly RULE_unaryOperator = 189;
739
- static readonly RULE_constant = 190;
740
- static readonly RULE_timePointLiteral = 191;
741
- static readonly RULE_stringLiteral = 192;
742
- static readonly RULE_decimalLiteral = 193;
743
- static readonly RULE_booleanLiteral = 194;
744
- static readonly RULE_setQuantifier = 195;
745
- static readonly RULE_timePointUnit = 196;
746
- static readonly RULE_timeIntervalUnit = 197;
747
- static readonly RULE_reservedKeywordsUsedAsFuncParam = 198;
748
- static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 199;
749
- static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 200;
750
- static readonly RULE_reservedKeywordsUsedAsFuncName = 201;
751
- static readonly RULE_nonReservedKeywords = 202;
577
+ static readonly RULE_emptyColumn = 26;
578
+ static readonly RULE_columnName = 27;
579
+ static readonly RULE_columnNamePath = 28;
580
+ static readonly RULE_columnNamePathAllowEmpty = 29;
581
+ static readonly RULE_columnNameList = 30;
582
+ static readonly RULE_columnType = 31;
583
+ static readonly RULE_lengthOneDimension = 32;
584
+ static readonly RULE_lengthTwoOptionalDimension = 33;
585
+ static readonly RULE_lengthTwoStringDimension = 34;
586
+ static readonly RULE_lengthOneTypeDimension = 35;
587
+ static readonly RULE_mapTypeDimension = 36;
588
+ static readonly RULE_rowTypeDimension = 37;
589
+ static readonly RULE_columnConstraint = 38;
590
+ static readonly RULE_metadataColumnDefinition = 39;
591
+ static readonly RULE_metadataKey = 40;
592
+ static readonly RULE_computedColumnDefinition = 41;
593
+ static readonly RULE_computedColumnExpression = 42;
594
+ static readonly RULE_watermarkDefinition = 43;
595
+ static readonly RULE_tableConstraint = 44;
596
+ static readonly RULE_constraintName = 45;
597
+ static readonly RULE_selfDefinitionClause = 46;
598
+ static readonly RULE_partitionDefinition = 47;
599
+ static readonly RULE_transformList = 48;
600
+ static readonly RULE_transform = 49;
601
+ static readonly RULE_transformArgument = 50;
602
+ static readonly RULE_likeDefinition = 51;
603
+ static readonly RULE_likeOption = 52;
604
+ static readonly RULE_createCatalog = 53;
605
+ static readonly RULE_createDatabase = 54;
606
+ static readonly RULE_createView = 55;
607
+ static readonly RULE_createFunction = 56;
608
+ static readonly RULE_usingClause = 57;
609
+ static readonly RULE_jarFileName = 58;
610
+ static readonly RULE_alterTable = 59;
611
+ static readonly RULE_renameDefinition = 60;
612
+ static readonly RULE_setKeyValueDefinition = 61;
613
+ static readonly RULE_addConstraint = 62;
614
+ static readonly RULE_dropConstraint = 63;
615
+ static readonly RULE_addUnique = 64;
616
+ static readonly RULE_notForced = 65;
617
+ static readonly RULE_alterView = 66;
618
+ static readonly RULE_alterDatabase = 67;
619
+ static readonly RULE_alterFunction = 68;
620
+ static readonly RULE_dropCatalog = 69;
621
+ static readonly RULE_dropTable = 70;
622
+ static readonly RULE_dropDatabase = 71;
623
+ static readonly RULE_dropView = 72;
624
+ static readonly RULE_dropFunction = 73;
625
+ static readonly RULE_insertStatement = 74;
626
+ static readonly RULE_insertSimpleStatement = 75;
627
+ static readonly RULE_insertPartitionDefinition = 76;
628
+ static readonly RULE_valuesDefinition = 77;
629
+ static readonly RULE_valuesRowDefinition = 78;
630
+ static readonly RULE_valueDefinition = 79;
631
+ static readonly RULE_insertMulStatementCompatibility = 80;
632
+ static readonly RULE_insertMulStatement = 81;
633
+ static readonly RULE_queryStatement = 82;
634
+ static readonly RULE_valuesClause = 83;
635
+ static readonly RULE_withClause = 84;
636
+ static readonly RULE_withItem = 85;
637
+ static readonly RULE_withItemName = 86;
638
+ static readonly RULE_selectStatement = 87;
639
+ static readonly RULE_selectClause = 88;
640
+ static readonly RULE_selectList = 89;
641
+ static readonly RULE_columnProjectItem = 90;
642
+ static readonly RULE_selectWindowItemColumnName = 91;
643
+ static readonly RULE_selectExpressionColumnName = 92;
644
+ static readonly RULE_selectLiteralColumnName = 93;
645
+ static readonly RULE_columnAlias = 94;
646
+ static readonly RULE_projectItemDefinition = 95;
647
+ static readonly RULE_tableAllColumns = 96;
648
+ static readonly RULE_overWindowItem = 97;
649
+ static readonly RULE_fromClause = 98;
650
+ static readonly RULE_tableExpression = 99;
651
+ static readonly RULE_tableReference = 100;
652
+ static readonly RULE_tablePrimary = 101;
653
+ static readonly RULE_atomFunctionTable = 102;
654
+ static readonly RULE_atomExpressionTable = 103;
655
+ static readonly RULE_systemTimePeriod = 104;
656
+ static readonly RULE_dateTimeExpression = 105;
657
+ static readonly RULE_inlineDataValueClause = 106;
658
+ static readonly RULE_windowTVFClause = 107;
659
+ static readonly RULE_windowTVFExpression = 108;
660
+ static readonly RULE_windowTVFName = 109;
661
+ static readonly RULE_windowTVFParam = 110;
662
+ static readonly RULE_timeIntervalParamName = 111;
663
+ static readonly RULE_columnDescriptor = 112;
664
+ static readonly RULE_joinCondition = 113;
665
+ static readonly RULE_whereClause = 114;
666
+ static readonly RULE_groupByClause = 115;
667
+ static readonly RULE_groupItemDefinition = 116;
668
+ static readonly RULE_groupingSets = 117;
669
+ static readonly RULE_groupingSetsNotationName = 118;
670
+ static readonly RULE_groupWindowFunction = 119;
671
+ static readonly RULE_groupWindowFunctionName = 120;
672
+ static readonly RULE_timeAttrColumn = 121;
673
+ static readonly RULE_havingClause = 122;
674
+ static readonly RULE_windowClause = 123;
675
+ static readonly RULE_namedWindow = 124;
676
+ static readonly RULE_windowSpec = 125;
677
+ static readonly RULE_matchRecognizeClause = 126;
678
+ static readonly RULE_orderByClause = 127;
679
+ static readonly RULE_orderItemDefinition = 128;
680
+ static readonly RULE_limitClause = 129;
681
+ static readonly RULE_partitionByClause = 130;
682
+ static readonly RULE_quantifiers = 131;
683
+ static readonly RULE_measuresClause = 132;
684
+ static readonly RULE_patternDefinition = 133;
685
+ static readonly RULE_patternVariable = 134;
686
+ static readonly RULE_outputMode = 135;
687
+ static readonly RULE_afterMatchStrategy = 136;
688
+ static readonly RULE_patternVariablesDefinition = 137;
689
+ static readonly RULE_windowFrame = 138;
690
+ static readonly RULE_frameBound = 139;
691
+ static readonly RULE_frameStart = 140;
692
+ static readonly RULE_frameEnd = 141;
693
+ static readonly RULE_withinClause = 142;
694
+ static readonly RULE_expression = 143;
695
+ static readonly RULE_booleanExpression = 144;
696
+ static readonly RULE_predicate = 145;
697
+ static readonly RULE_jsonFunctionBranch = 146;
698
+ static readonly RULE_likePredicate = 147;
699
+ static readonly RULE_valueExpression = 148;
700
+ static readonly RULE_functionCallExpression = 149;
701
+ static readonly RULE_primaryExpression = 150;
702
+ static readonly RULE_functionNameCreate = 151;
703
+ static readonly RULE_functionName = 152;
704
+ static readonly RULE_functionNameAndParams = 153;
705
+ static readonly RULE_functionNameWithParams = 154;
706
+ static readonly RULE_functionParam = 155;
707
+ static readonly RULE_jsonValueParams = 156;
708
+ static readonly RULE_jsonQueryParams = 157;
709
+ static readonly RULE_jsonObjectParams = 158;
710
+ static readonly RULE_jsonArrayParams = 159;
711
+ static readonly RULE_dereferenceDefinition = 160;
712
+ static readonly RULE_correlationName = 161;
713
+ static readonly RULE_qualifiedName = 162;
714
+ static readonly RULE_timeIntervalExpression = 163;
715
+ static readonly RULE_errorCapturingMultiUnitsInterval = 164;
716
+ static readonly RULE_multiUnitsInterval = 165;
717
+ static readonly RULE_errorCapturingUnitToUnitInterval = 166;
718
+ static readonly RULE_unitToUnitInterval = 167;
719
+ static readonly RULE_intervalValue = 168;
720
+ static readonly RULE_tableAlias = 169;
721
+ static readonly RULE_errorCapturingIdentifier = 170;
722
+ static readonly RULE_errorCapturingIdentifierExtra = 171;
723
+ static readonly RULE_identifierList = 172;
724
+ static readonly RULE_identifierSeq = 173;
725
+ static readonly RULE_identifier = 174;
726
+ static readonly RULE_unquotedIdentifier = 175;
727
+ static readonly RULE_quotedIdentifier = 176;
728
+ static readonly RULE_whenClause = 177;
729
+ static readonly RULE_catalogPath = 178;
730
+ static readonly RULE_catalogPathCreate = 179;
731
+ static readonly RULE_databasePath = 180;
732
+ static readonly RULE_databasePathCreate = 181;
733
+ static readonly RULE_tablePathCreate = 182;
734
+ static readonly RULE_tablePath = 183;
735
+ static readonly RULE_viewPath = 184;
736
+ static readonly RULE_viewPathCreate = 185;
737
+ static readonly RULE_uid = 186;
738
+ static readonly RULE_uidAllowEmpty = 187;
739
+ static readonly RULE_withOption = 188;
740
+ static readonly RULE_ifNotExists = 189;
741
+ static readonly RULE_ifExists = 190;
742
+ static readonly RULE_tablePropertyList = 191;
743
+ static readonly RULE_tableProperty = 192;
744
+ static readonly RULE_tablePropertyKey = 193;
745
+ static readonly RULE_tablePropertyValue = 194;
746
+ static readonly RULE_logicalOperator = 195;
747
+ static readonly RULE_comparisonOperator = 196;
748
+ static readonly RULE_bitOperator = 197;
749
+ static readonly RULE_mathOperator = 198;
750
+ static readonly RULE_unaryOperator = 199;
751
+ static readonly RULE_constant = 200;
752
+ static readonly RULE_timePointLiteral = 201;
753
+ static readonly RULE_stringLiteral = 202;
754
+ static readonly RULE_decimalLiteral = 203;
755
+ static readonly RULE_booleanLiteral = 204;
756
+ static readonly RULE_setQuantifier = 205;
757
+ static readonly RULE_timePointUnit = 206;
758
+ static readonly RULE_timeIntervalUnit = 207;
759
+ static readonly RULE_reservedKeywordsUsedAsFuncParam = 208;
760
+ static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 209;
761
+ static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 210;
762
+ static readonly RULE_reservedKeywordsUsedAsFuncName = 211;
763
+ static readonly RULE_nonReservedKeywords = 212;
752
764
  static readonly literalNames: (string | null)[];
753
765
  static readonly symbolicNames: (string | null)[];
754
766
  static readonly ruleNames: string[];
@@ -785,8 +797,10 @@ export declare class FlinkSqlParser extends SQLParserBase {
785
797
  columnOptionDefinition(): ColumnOptionDefinitionContext;
786
798
  physicalColumnDefinition(): PhysicalColumnDefinitionContext;
787
799
  columnNameCreate(): ColumnNameCreateContext;
800
+ emptyColumn(): EmptyColumnContext;
788
801
  columnName(): ColumnNameContext;
789
802
  columnNamePath(): ColumnNamePathContext;
803
+ columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext;
790
804
  columnNameList(): ColumnNameListContext;
791
805
  columnType(): ColumnTypeContext;
792
806
  lengthOneDimension(): LengthOneDimensionContext;
@@ -899,11 +913,14 @@ export declare class FlinkSqlParser extends SQLParserBase {
899
913
  patternVariablesDefinition(): PatternVariablesDefinitionContext;
900
914
  windowFrame(): WindowFrameContext;
901
915
  frameBound(): FrameBoundContext;
916
+ frameStart(): FrameStartContext;
917
+ frameEnd(): FrameEndContext;
902
918
  withinClause(): WithinClauseContext;
903
919
  expression(): ExpressionContext;
904
920
  booleanExpression(): BooleanExpressionContext;
905
921
  booleanExpression(_p: number): BooleanExpressionContext;
906
922
  predicate(): PredicateContext;
923
+ jsonFunctionBranch(): JsonFunctionBranchContext;
907
924
  likePredicate(): LikePredicateContext;
908
925
  valueExpression(): ValueExpressionContext;
909
926
  valueExpression(_p: number): ValueExpressionContext;
@@ -915,6 +932,10 @@ export declare class FlinkSqlParser extends SQLParserBase {
915
932
  functionNameAndParams(): FunctionNameAndParamsContext;
916
933
  functionNameWithParams(): FunctionNameWithParamsContext;
917
934
  functionParam(): FunctionParamContext;
935
+ jsonValueParams(): JsonValueParamsContext;
936
+ jsonQueryParams(): JsonQueryParamsContext;
937
+ jsonObjectParams(): JsonObjectParamsContext;
938
+ jsonArrayParams(): JsonArrayParamsContext;
918
939
  dereferenceDefinition(): DereferenceDefinitionContext;
919
940
  correlationName(): CorrelationNameContext;
920
941
  qualifiedName(): QualifiedNameContext;
@@ -942,6 +963,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
942
963
  viewPath(): ViewPathContext;
943
964
  viewPathCreate(): ViewPathCreateContext;
944
965
  uid(): UidContext;
966
+ uidAllowEmpty(): UidAllowEmptyContext;
945
967
  withOption(): WithOptionContext;
946
968
  ifNotExists(): IfNotExistsContext;
947
969
  ifExists(): IfExistsContext;
@@ -969,11 +991,14 @@ export declare class FlinkSqlParser extends SQLParserBase {
969
991
  nonReservedKeywords(): NonReservedKeywordsContext;
970
992
  sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
971
993
  private columnName_sempred;
994
+ private columnNamePathAllowEmpty_sempred;
972
995
  private queryStatement_sempred;
996
+ private columnProjectItem_sempred;
973
997
  private tableExpression_sempred;
974
998
  private booleanExpression_sempred;
975
999
  private valueExpression_sempred;
976
1000
  private primaryExpression_sempred;
1001
+ private uidAllowEmpty_sempred;
977
1002
  static readonly _serializedATN: number[];
978
1003
  private static __ATN;
979
1004
  static get _ATN(): antlr.ATN;
@@ -1328,9 +1353,17 @@ export declare class ColumnNameCreateContext extends antlr.ParserRuleContext {
1328
1353
  exitRule(listener: FlinkSqlParserListener): void;
1329
1354
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1330
1355
  }
1356
+ export declare class EmptyColumnContext extends antlr.ParserRuleContext {
1357
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1358
+ get ruleIndex(): number;
1359
+ enterRule(listener: FlinkSqlParserListener): void;
1360
+ exitRule(listener: FlinkSqlParserListener): void;
1361
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1362
+ }
1331
1363
  export declare class ColumnNameContext extends antlr.ParserRuleContext {
1332
1364
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1333
- uid(): UidContext | null;
1365
+ uidAllowEmpty(): UidAllowEmptyContext | null;
1366
+ emptyColumn(): EmptyColumnContext | null;
1334
1367
  get ruleIndex(): number;
1335
1368
  enterRule(listener: FlinkSqlParserListener): void;
1336
1369
  exitRule(listener: FlinkSqlParserListener): void;
@@ -1344,6 +1377,15 @@ export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
1344
1377
  exitRule(listener: FlinkSqlParserListener): void;
1345
1378
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1346
1379
  }
1380
+ export declare class ColumnNamePathAllowEmptyContext extends antlr.ParserRuleContext {
1381
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1382
+ uidAllowEmpty(): UidAllowEmptyContext | null;
1383
+ emptyColumn(): EmptyColumnContext | null;
1384
+ get ruleIndex(): number;
1385
+ enterRule(listener: FlinkSqlParserListener): void;
1386
+ exitRule(listener: FlinkSqlParserListener): void;
1387
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1388
+ }
1347
1389
  export declare class ColumnNameListContext extends antlr.ParserRuleContext {
1348
1390
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1349
1391
  LR_BRACKET(): antlr.TerminalNode;
@@ -2149,6 +2191,7 @@ export declare class ColumnProjectItemContext extends antlr.ParserRuleContext {
2149
2191
  tableAllColumns(): TableAllColumnsContext | null;
2150
2192
  selectExpressionColumnName(): SelectExpressionColumnNameContext | null;
2151
2193
  columnName(): ColumnNameContext | null;
2194
+ emptyColumn(): EmptyColumnContext | null;
2152
2195
  get ruleIndex(): number;
2153
2196
  enterRule(listener: FlinkSqlParserListener): void;
2154
2197
  exitRule(listener: FlinkSqlParserListener): void;
@@ -2414,6 +2457,9 @@ export declare class JoinConditionContext extends antlr.ParserRuleContext {
2414
2457
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2415
2458
  KW_ON(): antlr.TerminalNode | null;
2416
2459
  booleanExpression(): BooleanExpressionContext | null;
2460
+ columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext[];
2461
+ columnNamePathAllowEmpty(i: number): ColumnNamePathAllowEmptyContext | null;
2462
+ EQUAL_SYMBOL(): antlr.TerminalNode | null;
2417
2463
  KW_USING(): antlr.TerminalNode | null;
2418
2464
  columnNameList(): ColumnNameListContext | null;
2419
2465
  get ruleIndex(): number;
@@ -2424,7 +2470,8 @@ export declare class JoinConditionContext extends antlr.ParserRuleContext {
2424
2470
  export declare class WhereClauseContext extends antlr.ParserRuleContext {
2425
2471
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2426
2472
  KW_WHERE(): antlr.TerminalNode;
2427
- booleanExpression(): BooleanExpressionContext;
2473
+ booleanExpression(): BooleanExpressionContext | null;
2474
+ columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
2428
2475
  get ruleIndex(): number;
2429
2476
  enterRule(listener: FlinkSqlParserListener): void;
2430
2477
  exitRule(listener: FlinkSqlParserListener): void;
@@ -2593,7 +2640,8 @@ export declare class OrderItemDefinitionContext extends antlr.ParserRuleContext
2593
2640
  _ordering?: Token | null;
2594
2641
  _nullOrder?: Token | null;
2595
2642
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2596
- columnName(): ColumnNameContext;
2643
+ columnName(): ColumnNameContext | null;
2644
+ valueExpression(): ValueExpressionContext | null;
2597
2645
  KW_NULLS(): antlr.TerminalNode | null;
2598
2646
  KW_ASC(): antlr.TerminalNode | null;
2599
2647
  KW_DESC(): antlr.TerminalNode | null;
@@ -2726,7 +2774,10 @@ export declare class WindowFrameContext extends antlr.ParserRuleContext {
2726
2774
  KW_RANGE(): antlr.TerminalNode | null;
2727
2775
  KW_BETWEEN(): antlr.TerminalNode;
2728
2776
  timeIntervalExpression(): TimeIntervalExpressionContext | null;
2729
- frameBound(): FrameBoundContext;
2777
+ frameBound(): FrameBoundContext | null;
2778
+ frameStart(): FrameStartContext | null;
2779
+ KW_AND(): antlr.TerminalNode | null;
2780
+ frameEnd(): FrameEndContext | null;
2730
2781
  KW_ROWS(): antlr.TerminalNode | null;
2731
2782
  DIG_LITERAL(): antlr.TerminalNode | null;
2732
2783
  get ruleIndex(): number;
@@ -2745,6 +2796,30 @@ export declare class FrameBoundContext extends antlr.ParserRuleContext {
2745
2796
  exitRule(listener: FlinkSqlParserListener): void;
2746
2797
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2747
2798
  }
2799
+ export declare class FrameStartContext extends antlr.ParserRuleContext {
2800
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2801
+ KW_UNBOUNDED(): antlr.TerminalNode | null;
2802
+ KW_PRECEDING(): antlr.TerminalNode | null;
2803
+ DIG_LITERAL(): antlr.TerminalNode | null;
2804
+ KW_CURRENT(): antlr.TerminalNode | null;
2805
+ KW_ROW(): antlr.TerminalNode | null;
2806
+ get ruleIndex(): number;
2807
+ enterRule(listener: FlinkSqlParserListener): void;
2808
+ exitRule(listener: FlinkSqlParserListener): void;
2809
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2810
+ }
2811
+ export declare class FrameEndContext extends antlr.ParserRuleContext {
2812
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2813
+ KW_CURRENT(): antlr.TerminalNode | null;
2814
+ KW_ROW(): antlr.TerminalNode | null;
2815
+ DIG_LITERAL(): antlr.TerminalNode | null;
2816
+ KW_FOLLOWING(): antlr.TerminalNode | null;
2817
+ KW_UNBOUNDED(): antlr.TerminalNode | null;
2818
+ get ruleIndex(): number;
2819
+ enterRule(listener: FlinkSqlParserListener): void;
2820
+ exitRule(listener: FlinkSqlParserListener): void;
2821
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2822
+ }
2748
2823
  export declare class WithinClauseContext extends antlr.ParserRuleContext {
2749
2824
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2750
2825
  KW_WITHIN(): antlr.TerminalNode;
@@ -2865,6 +2940,20 @@ export declare class PredicateContext extends antlr.ParserRuleContext {
2865
2940
  exitRule(listener: FlinkSqlParserListener): void;
2866
2941
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2867
2942
  }
2943
+ export declare class JsonFunctionBranchContext extends antlr.ParserRuleContext {
2944
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2945
+ KW_NULL(): antlr.TerminalNode | null;
2946
+ KW_EMPTY(): antlr.TerminalNode | null;
2947
+ KW_ARRAY(): antlr.TerminalNode | null;
2948
+ uid(): UidContext | null;
2949
+ KW_TRUE(): antlr.TerminalNode | null;
2950
+ KW_FALSE(): antlr.TerminalNode | null;
2951
+ KW_UNKNOWN(): antlr.TerminalNode | null;
2952
+ get ruleIndex(): number;
2953
+ enterRule(listener: FlinkSqlParserListener): void;
2954
+ exitRule(listener: FlinkSqlParserListener): void;
2955
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2956
+ }
2868
2957
  export declare class LikePredicateContext extends antlr.ParserRuleContext {
2869
2958
  _kind?: Token | null;
2870
2959
  _quantifier?: Token | null;
@@ -3064,6 +3153,20 @@ export declare class ParenthesizedExpressionContext extends PrimaryExpressionCon
3064
3153
  exitRule(listener: FlinkSqlParserListener): void;
3065
3154
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3066
3155
  }
3156
+ export declare class ExtractContext extends PrimaryExpressionContext {
3157
+ _field?: IdentifierContext;
3158
+ _source?: ValueExpressionContext;
3159
+ constructor(ctx: PrimaryExpressionContext);
3160
+ KW_EXTRACT(): antlr.TerminalNode;
3161
+ LR_BRACKET(): antlr.TerminalNode;
3162
+ KW_FROM(): antlr.TerminalNode;
3163
+ RR_BRACKET(): antlr.TerminalNode;
3164
+ identifier(): IdentifierContext;
3165
+ valueExpression(): ValueExpressionContext;
3166
+ enterRule(listener: FlinkSqlParserListener): void;
3167
+ exitRule(listener: FlinkSqlParserListener): void;
3168
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3169
+ }
3067
3170
  export declare class FunctionCallContext extends PrimaryExpressionContext {
3068
3171
  constructor(ctx: PrimaryExpressionContext);
3069
3172
  functionCallExpression(): FunctionCallExpressionContext;
@@ -3154,6 +3257,86 @@ export declare class FunctionParamContext extends antlr.ParserRuleContext {
3154
3257
  timeIntervalUnit(): TimeIntervalUnitContext | null;
3155
3258
  timePointUnit(): TimePointUnitContext | null;
3156
3259
  expression(): ExpressionContext | null;
3260
+ jsonValueParams(): JsonValueParamsContext | null;
3261
+ jsonQueryParams(): JsonQueryParamsContext | null;
3262
+ jsonObjectParams(): JsonObjectParamsContext | null;
3263
+ jsonArrayParams(): JsonArrayParamsContext | null;
3264
+ get ruleIndex(): number;
3265
+ enterRule(listener: FlinkSqlParserListener): void;
3266
+ exitRule(listener: FlinkSqlParserListener): void;
3267
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3268
+ }
3269
+ export declare class JsonValueParamsContext extends antlr.ParserRuleContext {
3270
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3271
+ columnNamePath(): ColumnNamePathContext;
3272
+ uid(): UidContext[];
3273
+ uid(i: number): UidContext | null;
3274
+ columnType(): ColumnTypeContext | null;
3275
+ KW_ON(): antlr.TerminalNode[];
3276
+ KW_ON(i: number): antlr.TerminalNode | null;
3277
+ KW_EMPTY(): antlr.TerminalNode | null;
3278
+ KW_NULL(): antlr.TerminalNode[];
3279
+ KW_NULL(i: number): antlr.TerminalNode | null;
3280
+ KW_DEFAULT(): antlr.TerminalNode[];
3281
+ KW_DEFAULT(i: number): antlr.TerminalNode | null;
3282
+ valueExpression(): ValueExpressionContext[];
3283
+ valueExpression(i: number): ValueExpressionContext | null;
3284
+ get ruleIndex(): number;
3285
+ enterRule(listener: FlinkSqlParserListener): void;
3286
+ exitRule(listener: FlinkSqlParserListener): void;
3287
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3288
+ }
3289
+ export declare class JsonQueryParamsContext extends antlr.ParserRuleContext {
3290
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3291
+ columnNamePath(): ColumnNamePathContext;
3292
+ uid(): UidContext[];
3293
+ uid(i: number): UidContext | null;
3294
+ jsonFunctionBranch(): JsonFunctionBranchContext[];
3295
+ jsonFunctionBranch(i: number): JsonFunctionBranchContext | null;
3296
+ KW_ON(): antlr.TerminalNode[];
3297
+ KW_ON(i: number): antlr.TerminalNode | null;
3298
+ KW_EMPTY(): antlr.TerminalNode | null;
3299
+ KW_WITHOUT(): antlr.TerminalNode | null;
3300
+ KW_WITH(): antlr.TerminalNode | null;
3301
+ KW_ARRAY(): antlr.TerminalNode | null;
3302
+ get ruleIndex(): number;
3303
+ enterRule(listener: FlinkSqlParserListener): void;
3304
+ exitRule(listener: FlinkSqlParserListener): void;
3305
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3306
+ }
3307
+ export declare class JsonObjectParamsContext extends antlr.ParserRuleContext {
3308
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3309
+ columnNamePath(): ColumnNamePathContext[];
3310
+ columnNamePath(i: number): ColumnNamePathContext | null;
3311
+ KW_ON(): antlr.TerminalNode | null;
3312
+ KW_NULL(): antlr.TerminalNode[];
3313
+ KW_NULL(i: number): antlr.TerminalNode | null;
3314
+ valueExpression(): ValueExpressionContext[];
3315
+ valueExpression(i: number): ValueExpressionContext | null;
3316
+ KW_JSON(): antlr.TerminalNode[];
3317
+ KW_JSON(i: number): antlr.TerminalNode | null;
3318
+ LR_BRACKET(): antlr.TerminalNode[];
3319
+ LR_BRACKET(i: number): antlr.TerminalNode | null;
3320
+ RR_BRACKET(): antlr.TerminalNode[];
3321
+ RR_BRACKET(i: number): antlr.TerminalNode | null;
3322
+ uid(): UidContext | null;
3323
+ KW_KEY(): antlr.TerminalNode[];
3324
+ KW_KEY(i: number): antlr.TerminalNode | null;
3325
+ KW_VALUE(): antlr.TerminalNode[];
3326
+ KW_VALUE(i: number): antlr.TerminalNode | null;
3327
+ get ruleIndex(): number;
3328
+ enterRule(listener: FlinkSqlParserListener): void;
3329
+ exitRule(listener: FlinkSqlParserListener): void;
3330
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3331
+ }
3332
+ export declare class JsonArrayParamsContext extends antlr.ParserRuleContext {
3333
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3334
+ valueExpression(): ValueExpressionContext[];
3335
+ valueExpression(i: number): ValueExpressionContext | null;
3336
+ KW_ON(): antlr.TerminalNode | null;
3337
+ KW_NULL(): antlr.TerminalNode[];
3338
+ KW_NULL(i: number): antlr.TerminalNode | null;
3339
+ uid(): UidContext | null;
3157
3340
  get ruleIndex(): number;
3158
3341
  enterRule(listener: FlinkSqlParserListener): void;
3159
3342
  exitRule(listener: FlinkSqlParserListener): void;
@@ -3462,6 +3645,18 @@ export declare class UidContext extends antlr.ParserRuleContext {
3462
3645
  exitRule(listener: FlinkSqlParserListener): void;
3463
3646
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3464
3647
  }
3648
+ export declare class UidAllowEmptyContext extends antlr.ParserRuleContext {
3649
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3650
+ identifier(): IdentifierContext[];
3651
+ identifier(i: number): IdentifierContext | null;
3652
+ DOT(): antlr.TerminalNode[];
3653
+ DOT(i: number): antlr.TerminalNode | null;
3654
+ emptyColumn(): EmptyColumnContext | null;
3655
+ get ruleIndex(): number;
3656
+ enterRule(listener: FlinkSqlParserListener): void;
3657
+ exitRule(listener: FlinkSqlParserListener): void;
3658
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3659
+ }
3465
3660
  export declare class WithOptionContext extends antlr.ParserRuleContext {
3466
3661
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3467
3662
  KW_WITH(): antlr.TerminalNode;