dt-sql-parser 4.5.1-beta.0 → 4.5.1-beta.1

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 (39) hide show
  1. package/dist/lib/flink/FlinkSqlLexer.d.ts +399 -397
  2. package/dist/lib/flink/FlinkSqlLexer.js +2504 -2489
  3. package/dist/lib/flink/FlinkSqlParser.d.ts +617 -465
  4. package/dist/lib/flink/FlinkSqlParser.js +5014 -3359
  5. package/dist/lib/flink/FlinkSqlParserListener.d.ts +90 -0
  6. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +57 -0
  7. package/dist/lib/generic/GenericSqlListener.d.ts +5 -90
  8. package/dist/lib/generic/GenericSqlParser.d.ts +32 -101
  9. package/dist/lib/generic/GenericSqlParser.js +912 -1312
  10. package/dist/lib/generic/GenericSqlVisitor.d.ts +3 -56
  11. package/dist/lib/mysql/MySqlParser.d.ts +31 -8
  12. package/dist/lib/mysql/MySqlParser.js +5786 -5659
  13. package/dist/lib/mysql/MySqlParserListener.d.ts +33 -5
  14. package/dist/lib/mysql/MySqlParserVisitor.d.ts +20 -3
  15. package/dist/lib/postgresql/PostgreSqlParser.d.ts +19 -2
  16. package/dist/lib/postgresql/PostgreSqlParser.js +1857 -1756
  17. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +20 -5
  18. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +12 -3
  19. package/dist/lib/spark/SparkSqlParser.d.ts +1 -1
  20. package/dist/lib/spark/SparkSqlParser.js +2925 -2963
  21. package/dist/lib/trino/TrinoSqlLexer.d.ts +297 -296
  22. package/dist/lib/trino/TrinoSqlLexer.js +1451 -1445
  23. package/dist/lib/trino/TrinoSqlListener.d.ts +46 -0
  24. package/dist/lib/trino/TrinoSqlParser.d.ts +463 -411
  25. package/dist/lib/trino/TrinoSqlParser.js +5382 -5048
  26. package/dist/lib/trino/TrinoSqlVisitor.d.ts +29 -0
  27. package/dist/parser/common/basicSQL.d.ts +12 -0
  28. package/dist/parser/common/basicSQL.js +71 -0
  29. package/dist/parser/generic/genericEntityCollector.d.ts +3 -6
  30. package/dist/parser/generic/genericEntityCollector.js +21 -29
  31. package/dist/parser/generic/index.js +0 -15
  32. package/dist/parser/mysql/index.js +11 -0
  33. package/dist/parser/mysql/mysqlEntityCollector.d.ts +2 -1
  34. package/dist/parser/mysql/mysqlEntityCollector.js +5 -0
  35. package/dist/parser/postgresql/index.js +2 -1
  36. package/dist/parser/postgresql/postgreEntityCollector.d.ts +2 -1
  37. package/dist/parser/postgresql/postgreEntityCollector.js +5 -0
  38. package/dist/parser/trino/index.js +3 -1
  39. 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;
@@ -686,72 +688,79 @@ export declare class FlinkSqlParser extends SQLParserBase {
686
688
  static readonly RULE_patternVariablesDefinition = 137;
687
689
  static readonly RULE_windowFrame = 138;
688
690
  static readonly RULE_frameBound = 139;
689
- static readonly RULE_withinClause = 140;
690
- static readonly RULE_expression = 141;
691
- static readonly RULE_booleanExpression = 142;
692
- static readonly RULE_predicate = 143;
693
- static readonly RULE_likePredicate = 144;
694
- static readonly RULE_valueExpression = 145;
695
- static readonly RULE_functionCallExpression = 146;
696
- static readonly RULE_primaryExpression = 147;
697
- static readonly RULE_functionNameCreate = 148;
698
- static readonly RULE_functionName = 149;
699
- static readonly RULE_functionNameAndParams = 150;
700
- static readonly RULE_functionNameWithParams = 151;
701
- static readonly RULE_functionParam = 152;
702
- static readonly RULE_dereferenceDefinition = 153;
703
- static readonly RULE_correlationName = 154;
704
- static readonly RULE_qualifiedName = 155;
705
- static readonly RULE_timeIntervalExpression = 156;
706
- static readonly RULE_errorCapturingMultiUnitsInterval = 157;
707
- static readonly RULE_multiUnitsInterval = 158;
708
- static readonly RULE_errorCapturingUnitToUnitInterval = 159;
709
- static readonly RULE_unitToUnitInterval = 160;
710
- static readonly RULE_intervalValue = 161;
711
- static readonly RULE_tableAlias = 162;
712
- static readonly RULE_errorCapturingIdentifier = 163;
713
- static readonly RULE_errorCapturingIdentifierExtra = 164;
714
- static readonly RULE_identifierList = 165;
715
- static readonly RULE_identifierSeq = 166;
716
- static readonly RULE_identifier = 167;
717
- static readonly RULE_unquotedIdentifier = 168;
718
- static readonly RULE_quotedIdentifier = 169;
719
- static readonly RULE_whenClause = 170;
720
- static readonly RULE_catalogPath = 171;
721
- static readonly RULE_catalogPathCreate = 172;
722
- static readonly RULE_databasePath = 173;
723
- static readonly RULE_databasePathCreate = 174;
724
- static readonly RULE_tablePathCreate = 175;
725
- static readonly RULE_tablePath = 176;
726
- static readonly RULE_viewPath = 177;
727
- static readonly RULE_viewPathCreate = 178;
728
- static readonly RULE_uid = 179;
729
- static readonly RULE_uidAllowEmpty = 180;
730
- static readonly RULE_withOption = 181;
731
- static readonly RULE_ifNotExists = 182;
732
- static readonly RULE_ifExists = 183;
733
- static readonly RULE_tablePropertyList = 184;
734
- static readonly RULE_tableProperty = 185;
735
- static readonly RULE_tablePropertyKey = 186;
736
- static readonly RULE_tablePropertyValue = 187;
737
- static readonly RULE_logicalOperator = 188;
738
- static readonly RULE_comparisonOperator = 189;
739
- static readonly RULE_bitOperator = 190;
740
- static readonly RULE_mathOperator = 191;
741
- static readonly RULE_unaryOperator = 192;
742
- static readonly RULE_constant = 193;
743
- static readonly RULE_timePointLiteral = 194;
744
- static readonly RULE_stringLiteral = 195;
745
- static readonly RULE_decimalLiteral = 196;
746
- static readonly RULE_booleanLiteral = 197;
747
- static readonly RULE_setQuantifier = 198;
748
- static readonly RULE_timePointUnit = 199;
749
- static readonly RULE_timeIntervalUnit = 200;
750
- static readonly RULE_reservedKeywordsUsedAsFuncParam = 201;
751
- static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 202;
752
- static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 203;
753
- static readonly RULE_reservedKeywordsUsedAsFuncName = 204;
754
- static readonly RULE_nonReservedKeywords = 205;
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;
755
764
  static readonly literalNames: (string | null)[];
756
765
  static readonly symbolicNames: (string | null)[];
757
766
  static readonly ruleNames: string[];
@@ -904,11 +913,14 @@ export declare class FlinkSqlParser extends SQLParserBase {
904
913
  patternVariablesDefinition(): PatternVariablesDefinitionContext;
905
914
  windowFrame(): WindowFrameContext;
906
915
  frameBound(): FrameBoundContext;
916
+ frameStart(): FrameStartContext;
917
+ frameEnd(): FrameEndContext;
907
918
  withinClause(): WithinClauseContext;
908
919
  expression(): ExpressionContext;
909
920
  booleanExpression(): BooleanExpressionContext;
910
921
  booleanExpression(_p: number): BooleanExpressionContext;
911
922
  predicate(): PredicateContext;
923
+ jsonFunctionBranch(): JsonFunctionBranchContext;
912
924
  likePredicate(): LikePredicateContext;
913
925
  valueExpression(): ValueExpressionContext;
914
926
  valueExpression(_p: number): ValueExpressionContext;
@@ -920,6 +932,10 @@ export declare class FlinkSqlParser extends SQLParserBase {
920
932
  functionNameAndParams(): FunctionNameAndParamsContext;
921
933
  functionNameWithParams(): FunctionNameWithParamsContext;
922
934
  functionParam(): FunctionParamContext;
935
+ jsonValueParams(): JsonValueParamsContext;
936
+ jsonQueryParams(): JsonQueryParamsContext;
937
+ jsonObjectParams(): JsonObjectParamsContext;
938
+ jsonArrayParams(): JsonArrayParamsContext;
923
939
  dereferenceDefinition(): DereferenceDefinitionContext;
924
940
  correlationName(): CorrelationNameContext;
925
941
  qualifiedName(): QualifiedNameContext;
@@ -2624,7 +2640,8 @@ export declare class OrderItemDefinitionContext extends antlr.ParserRuleContext
2624
2640
  _ordering?: Token | null;
2625
2641
  _nullOrder?: Token | null;
2626
2642
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2627
- columnName(): ColumnNameContext;
2643
+ columnName(): ColumnNameContext | null;
2644
+ valueExpression(): ValueExpressionContext | null;
2628
2645
  KW_NULLS(): antlr.TerminalNode | null;
2629
2646
  KW_ASC(): antlr.TerminalNode | null;
2630
2647
  KW_DESC(): antlr.TerminalNode | null;
@@ -2757,7 +2774,10 @@ export declare class WindowFrameContext extends antlr.ParserRuleContext {
2757
2774
  KW_RANGE(): antlr.TerminalNode | null;
2758
2775
  KW_BETWEEN(): antlr.TerminalNode;
2759
2776
  timeIntervalExpression(): TimeIntervalExpressionContext | null;
2760
- frameBound(): FrameBoundContext;
2777
+ frameBound(): FrameBoundContext | null;
2778
+ frameStart(): FrameStartContext | null;
2779
+ KW_AND(): antlr.TerminalNode | null;
2780
+ frameEnd(): FrameEndContext | null;
2761
2781
  KW_ROWS(): antlr.TerminalNode | null;
2762
2782
  DIG_LITERAL(): antlr.TerminalNode | null;
2763
2783
  get ruleIndex(): number;
@@ -2776,6 +2796,30 @@ export declare class FrameBoundContext extends antlr.ParserRuleContext {
2776
2796
  exitRule(listener: FlinkSqlParserListener): void;
2777
2797
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2778
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
+ }
2779
2823
  export declare class WithinClauseContext extends antlr.ParserRuleContext {
2780
2824
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2781
2825
  KW_WITHIN(): antlr.TerminalNode;
@@ -2896,6 +2940,20 @@ export declare class PredicateContext extends antlr.ParserRuleContext {
2896
2940
  exitRule(listener: FlinkSqlParserListener): void;
2897
2941
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2898
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
+ }
2899
2957
  export declare class LikePredicateContext extends antlr.ParserRuleContext {
2900
2958
  _kind?: Token | null;
2901
2959
  _quantifier?: Token | null;
@@ -3095,6 +3153,20 @@ export declare class ParenthesizedExpressionContext extends PrimaryExpressionCon
3095
3153
  exitRule(listener: FlinkSqlParserListener): void;
3096
3154
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3097
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
+ }
3098
3170
  export declare class FunctionCallContext extends PrimaryExpressionContext {
3099
3171
  constructor(ctx: PrimaryExpressionContext);
3100
3172
  functionCallExpression(): FunctionCallExpressionContext;
@@ -3185,6 +3257,86 @@ export declare class FunctionParamContext extends antlr.ParserRuleContext {
3185
3257
  timeIntervalUnit(): TimeIntervalUnitContext | null;
3186
3258
  timePointUnit(): TimePointUnitContext | null;
3187
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;
3188
3340
  get ruleIndex(): number;
3189
3341
  enterRule(listener: FlinkSqlParserListener): void;
3190
3342
  exitRule(listener: FlinkSqlParserListener): void;