dt-sql-parser 4.5.1 → 4.5.2-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 (48) hide show
  1. package/dist/lib/flink/FlinkSqlParser.d.ts +220 -363
  2. package/dist/lib/flink/FlinkSqlParser.js +3246 -4046
  3. package/dist/lib/flink/FlinkSqlParserListener.d.ts +0 -154
  4. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +0 -98
  5. package/dist/lib/generic/GenericSqlListener.d.ts +11 -0
  6. package/dist/lib/generic/GenericSqlParser.d.ts +61 -47
  7. package/dist/lib/generic/GenericSqlParser.js +1047 -949
  8. package/dist/lib/generic/GenericSqlVisitor.d.ts +7 -0
  9. package/dist/lib/hive/HiveSqlParser.d.ts +515 -943
  10. package/dist/lib/hive/HiveSqlParser.js +8234 -10573
  11. package/dist/lib/hive/HiveSqlParserListener.d.ts +50 -490
  12. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +30 -310
  13. package/dist/lib/impala/ImpalaSqlParser.d.ts +96 -131
  14. package/dist/lib/impala/ImpalaSqlParser.js +3311 -3522
  15. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -44
  16. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -28
  17. package/dist/lib/mysql/MySqlParser.d.ts +425 -465
  18. package/dist/lib/mysql/MySqlParser.js +10300 -10510
  19. package/dist/lib/mysql/MySqlParserListener.d.ts +0 -44
  20. package/dist/lib/mysql/MySqlParserVisitor.d.ts +0 -28
  21. package/dist/lib/postgresql/PostgreSqlParser.d.ts +181 -164
  22. package/dist/lib/postgresql/PostgreSqlParser.js +10273 -10121
  23. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +11 -0
  24. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +7 -0
  25. package/dist/lib/trino/TrinoSqlListener.d.ts +0 -328
  26. package/dist/lib/trino/TrinoSqlParser.d.ts +205 -477
  27. package/dist/lib/trino/TrinoSqlParser.js +6689 -7898
  28. package/dist/lib/trino/TrinoSqlVisitor.d.ts +0 -206
  29. package/dist/parser/common/entityCollector.d.ts +37 -2
  30. package/dist/parser/common/entityCollector.js +303 -2
  31. package/dist/parser/flink/flinkEntityCollector.d.ts +2 -1
  32. package/dist/parser/flink/flinkEntityCollector.js +4 -0
  33. package/dist/parser/generic/genericEntityCollector.d.ts +7 -2
  34. package/dist/parser/generic/genericEntityCollector.js +65 -15
  35. package/dist/parser/generic/index.js +12 -0
  36. package/dist/parser/hive/hiveEntityCollector.d.ts +2 -1
  37. package/dist/parser/hive/hiveEntityCollector.js +5 -0
  38. package/dist/parser/impala/impalaEntityCollector.d.ts +2 -1
  39. package/dist/parser/impala/impalaEntityCollector.js +4 -0
  40. package/dist/parser/mysql/mysqlEntityCollector.d.ts +2 -1
  41. package/dist/parser/mysql/mysqlEntityCollector.js +19 -0
  42. package/dist/parser/postgresql/postgreEntityCollector.d.ts +2 -1
  43. package/dist/parser/postgresql/postgreEntityCollector.js +5 -0
  44. package/dist/parser/spark/sparkEntityCollector.d.ts +2 -1
  45. package/dist/parser/spark/sparkEntityCollector.js +5 -0
  46. package/dist/parser/trino/trinoEntityCollector.d.ts +2 -1
  47. package/dist/parser/trino/trinoEntityCollector.js +5 -0
  48. package/package.json +1 -1
@@ -551,216 +551,202 @@ export declare class FlinkSqlParser extends SQLParserBase {
551
551
  static readonly RULE_program = 0;
552
552
  static readonly RULE_singleStatement = 1;
553
553
  static readonly RULE_sqlStatement = 2;
554
- static readonly RULE_emptyStatement = 3;
555
- static readonly RULE_ddlStatement = 4;
556
- static readonly RULE_dmlStatement = 5;
557
- static readonly RULE_describeStatement = 6;
558
- static readonly RULE_explainStatement = 7;
559
- static readonly RULE_explainDetails = 8;
560
- static readonly RULE_explainDetail = 9;
561
- static readonly RULE_useStatement = 10;
562
- static readonly RULE_useModuleStatement = 11;
563
- static readonly RULE_showStatement = 12;
564
- static readonly RULE_loadStatement = 13;
565
- static readonly RULE_unloadStatement = 14;
566
- static readonly RULE_setStatement = 15;
567
- static readonly RULE_resetStatement = 16;
568
- static readonly RULE_jarStatement = 17;
569
- static readonly RULE_dtAddStatement = 18;
570
- static readonly RULE_dtFilePath = 19;
571
- static readonly RULE_createTable = 20;
572
- static readonly RULE_simpleCreateTable = 21;
573
- static readonly RULE_createTableAsSelect = 22;
574
- static readonly RULE_columnOptionDefinition = 23;
575
- static readonly RULE_physicalColumnDefinition = 24;
576
- static readonly RULE_columnNameCreate = 25;
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;
554
+ static readonly RULE_ddlStatement = 3;
555
+ static readonly RULE_dmlStatement = 4;
556
+ static readonly RULE_describeStatement = 5;
557
+ static readonly RULE_explainStatement = 6;
558
+ static readonly RULE_explainDetails = 7;
559
+ static readonly RULE_explainDetail = 8;
560
+ static readonly RULE_useStatement = 9;
561
+ static readonly RULE_useModuleStatement = 10;
562
+ static readonly RULE_showStatement = 11;
563
+ static readonly RULE_loadStatement = 12;
564
+ static readonly RULE_unloadStatement = 13;
565
+ static readonly RULE_setStatement = 14;
566
+ static readonly RULE_resetStatement = 15;
567
+ static readonly RULE_jarStatement = 16;
568
+ static readonly RULE_dtAddStatement = 17;
569
+ static readonly RULE_dtFilePath = 18;
570
+ static readonly RULE_createTable = 19;
571
+ static readonly RULE_simpleCreateTable = 20;
572
+ static readonly RULE_createTableAsSelect = 21;
573
+ static readonly RULE_columnOptionDefinition = 22;
574
+ static readonly RULE_physicalColumnDefinition = 23;
575
+ static readonly RULE_columnNameCreate = 24;
576
+ static readonly RULE_emptyColumn = 25;
577
+ static readonly RULE_columnName = 26;
578
+ static readonly RULE_columnNamePath = 27;
579
+ static readonly RULE_columnNamePathAllowEmpty = 28;
580
+ static readonly RULE_columnNameList = 29;
581
+ static readonly RULE_columnType = 30;
582
+ static readonly RULE_lengthOneDimension = 31;
583
+ static readonly RULE_lengthTwoOptionalDimension = 32;
584
+ static readonly RULE_lengthTwoStringDimension = 33;
585
+ static readonly RULE_lengthOneTypeDimension = 34;
586
+ static readonly RULE_mapTypeDimension = 35;
587
+ static readonly RULE_rowTypeDimension = 36;
588
+ static readonly RULE_columnConstraint = 37;
589
+ static readonly RULE_metadataColumnDefinition = 38;
590
+ static readonly RULE_computedColumnDefinition = 39;
591
+ static readonly RULE_watermarkDefinition = 40;
592
+ static readonly RULE_tableConstraint = 41;
593
+ static readonly RULE_constraintName = 42;
594
+ static readonly RULE_selfDefinitionClause = 43;
595
+ static readonly RULE_transform = 44;
596
+ static readonly RULE_transformArgument = 45;
597
+ static readonly RULE_likeDefinition = 46;
598
+ static readonly RULE_likeOption = 47;
599
+ static readonly RULE_createCatalog = 48;
600
+ static readonly RULE_createDatabase = 49;
601
+ static readonly RULE_createView = 50;
602
+ static readonly RULE_createFunction = 51;
603
+ static readonly RULE_usingClause = 52;
604
+ static readonly RULE_alterTable = 53;
605
+ static readonly RULE_renameDefinition = 54;
606
+ static readonly RULE_setKeyValueDefinition = 55;
607
+ static readonly RULE_addConstraint = 56;
608
+ static readonly RULE_dropConstraint = 57;
609
+ static readonly RULE_addUnique = 58;
610
+ static readonly RULE_alterView = 59;
611
+ static readonly RULE_alterDatabase = 60;
612
+ static readonly RULE_alterFunction = 61;
613
+ static readonly RULE_dropCatalog = 62;
614
+ static readonly RULE_dropTable = 63;
615
+ static readonly RULE_dropDatabase = 64;
616
+ static readonly RULE_dropView = 65;
617
+ static readonly RULE_dropFunction = 66;
618
+ static readonly RULE_insertStatement = 67;
619
+ static readonly RULE_insertSimpleStatement = 68;
620
+ static readonly RULE_valuesDefinition = 69;
621
+ static readonly RULE_valuesRowDefinition = 70;
622
+ static readonly RULE_valueDefinition = 71;
623
+ static readonly RULE_insertMulStatementCompatibility = 72;
624
+ static readonly RULE_insertMulStatement = 73;
625
+ static readonly RULE_queryStatement = 74;
626
+ static readonly RULE_valuesClause = 75;
627
+ static readonly RULE_withClause = 76;
628
+ static readonly RULE_withItem = 77;
629
+ static readonly RULE_selectStatement = 78;
630
+ static readonly RULE_selectClause = 79;
631
+ static readonly RULE_selectList = 80;
632
+ static readonly RULE_columnProjectItem = 81;
633
+ static readonly RULE_selectWindowItemColumnName = 82;
634
+ static readonly RULE_selectExpressionColumnName = 83;
635
+ static readonly RULE_selectLiteralColumnName = 84;
636
+ static readonly RULE_columnAlias = 85;
637
+ static readonly RULE_projectItemDefinition = 86;
638
+ static readonly RULE_tableAllColumns = 87;
639
+ static readonly RULE_overWindowItem = 88;
640
+ static readonly RULE_fromClause = 89;
641
+ static readonly RULE_tableExpression = 90;
642
+ static readonly RULE_tableReference = 91;
643
+ static readonly RULE_tablePrimary = 92;
644
+ static readonly RULE_atomFunctionTable = 93;
645
+ static readonly RULE_atomExpressionTable = 94;
646
+ static readonly RULE_systemTimePeriod = 95;
647
+ static readonly RULE_inlineDataValueClause = 96;
648
+ static readonly RULE_windowTVFClause = 97;
649
+ static readonly RULE_windowTVFExpression = 98;
650
+ static readonly RULE_windowTVFName = 99;
651
+ static readonly RULE_windowTVFParam = 100;
652
+ static readonly RULE_timeIntervalParamName = 101;
653
+ static readonly RULE_columnDescriptor = 102;
654
+ static readonly RULE_joinCondition = 103;
655
+ static readonly RULE_whereClause = 104;
656
+ static readonly RULE_groupByClause = 105;
657
+ static readonly RULE_groupItemDefinition = 106;
658
+ static readonly RULE_groupWindowFunction = 107;
659
+ static readonly RULE_groupWindowFunctionName = 108;
660
+ static readonly RULE_havingClause = 109;
661
+ static readonly RULE_windowClause = 110;
662
+ static readonly RULE_namedWindow = 111;
663
+ static readonly RULE_windowSpec = 112;
664
+ static readonly RULE_matchRecognizeClause = 113;
665
+ static readonly RULE_orderByClause = 114;
666
+ static readonly RULE_orderItemDefinition = 115;
667
+ static readonly RULE_limitClause = 116;
668
+ static readonly RULE_partitionByClause = 117;
669
+ static readonly RULE_quantifiers = 118;
670
+ static readonly RULE_measuresClause = 119;
671
+ static readonly RULE_patternDefinition = 120;
672
+ static readonly RULE_patternVariable = 121;
673
+ static readonly RULE_outputMode = 122;
674
+ static readonly RULE_afterMatchStrategy = 123;
675
+ static readonly RULE_patternVariablesDefinition = 124;
676
+ static readonly RULE_windowFrame = 125;
677
+ static readonly RULE_frameBound = 126;
678
+ static readonly RULE_frameStart = 127;
679
+ static readonly RULE_frameEnd = 128;
680
+ static readonly RULE_withinClause = 129;
681
+ static readonly RULE_expression = 130;
682
+ static readonly RULE_booleanExpression = 131;
683
+ static readonly RULE_predicate = 132;
684
+ static readonly RULE_jsonFunctionBranch = 133;
685
+ static readonly RULE_likePredicate = 134;
686
+ static readonly RULE_valueExpression = 135;
687
+ static readonly RULE_functionCallExpression = 136;
688
+ static readonly RULE_primaryExpression = 137;
689
+ static readonly RULE_functionNameCreate = 138;
690
+ static readonly RULE_functionName = 139;
691
+ static readonly RULE_functionNameAndParams = 140;
692
+ static readonly RULE_functionNameWithParams = 141;
693
+ static readonly RULE_functionParam = 142;
694
+ static readonly RULE_jsonValueParams = 143;
695
+ static readonly RULE_jsonQueryParams = 144;
696
+ static readonly RULE_jsonObjectParams = 145;
697
+ static readonly RULE_jsonArrayParams = 146;
698
+ static readonly RULE_dereferenceDefinition = 147;
699
+ static readonly RULE_qualifiedName = 148;
700
+ static readonly RULE_timeIntervalExpression = 149;
701
+ static readonly RULE_errorCapturingMultiUnitsInterval = 150;
702
+ static readonly RULE_multiUnitsInterval = 151;
703
+ static readonly RULE_errorCapturingUnitToUnitInterval = 152;
704
+ static readonly RULE_unitToUnitInterval = 153;
705
+ static readonly RULE_intervalValue = 154;
706
+ static readonly RULE_tableAlias = 155;
707
+ static readonly RULE_errorCapturingIdentifier = 156;
708
+ static readonly RULE_errorCapturingIdentifierExtra = 157;
709
+ static readonly RULE_identifierList = 158;
710
+ static readonly RULE_identifierSeq = 159;
711
+ static readonly RULE_identifier = 160;
712
+ static readonly RULE_unquotedIdentifier = 161;
713
+ static readonly RULE_quotedIdentifier = 162;
714
+ static readonly RULE_whenClause = 163;
715
+ static readonly RULE_catalogPath = 164;
716
+ static readonly RULE_catalogPathCreate = 165;
717
+ static readonly RULE_databasePath = 166;
718
+ static readonly RULE_databasePathCreate = 167;
719
+ static readonly RULE_tablePathCreate = 168;
720
+ static readonly RULE_tablePath = 169;
721
+ static readonly RULE_viewPath = 170;
722
+ static readonly RULE_viewPathCreate = 171;
723
+ static readonly RULE_uid = 172;
724
+ static readonly RULE_uidAllowEmpty = 173;
725
+ static readonly RULE_withOption = 174;
726
+ static readonly RULE_ifNotExists = 175;
727
+ static readonly RULE_ifExists = 176;
728
+ static readonly RULE_tablePropertyList = 177;
729
+ static readonly RULE_tableProperty = 178;
730
+ static readonly RULE_tablePropertyKey = 179;
731
+ static readonly RULE_tablePropertyValue = 180;
732
+ static readonly RULE_logicalOperator = 181;
733
+ static readonly RULE_comparisonOperator = 182;
734
+ static readonly RULE_bitOperator = 183;
735
+ static readonly RULE_mathOperator = 184;
736
+ static readonly RULE_unaryOperator = 185;
737
+ static readonly RULE_constant = 186;
738
+ static readonly RULE_timePointLiteral = 187;
739
+ static readonly RULE_stringLiteral = 188;
740
+ static readonly RULE_decimalLiteral = 189;
741
+ static readonly RULE_booleanLiteral = 190;
742
+ static readonly RULE_setQuantifier = 191;
743
+ static readonly RULE_timePointUnit = 192;
744
+ static readonly RULE_timeIntervalUnit = 193;
745
+ static readonly RULE_reservedKeywordsUsedAsFuncParam = 194;
746
+ static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 195;
747
+ static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 196;
748
+ static readonly RULE_reservedKeywordsUsedAsFuncName = 197;
749
+ static readonly RULE_nonReservedKeywords = 198;
764
750
  static readonly literalNames: (string | null)[];
765
751
  static readonly symbolicNames: (string | null)[];
766
752
  static readonly ruleNames: string[];
@@ -774,7 +760,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
774
760
  program(): ProgramContext;
775
761
  singleStatement(): SingleStatementContext;
776
762
  sqlStatement(): SqlStatementContext;
777
- emptyStatement(): EmptyStatementContext;
778
763
  ddlStatement(): DdlStatementContext;
779
764
  dmlStatement(): DmlStatementContext;
780
765
  describeStatement(): DescribeStatementContext;
@@ -811,15 +796,11 @@ export declare class FlinkSqlParser extends SQLParserBase {
811
796
  rowTypeDimension(): RowTypeDimensionContext;
812
797
  columnConstraint(): ColumnConstraintContext;
813
798
  metadataColumnDefinition(): MetadataColumnDefinitionContext;
814
- metadataKey(): MetadataKeyContext;
815
799
  computedColumnDefinition(): ComputedColumnDefinitionContext;
816
- computedColumnExpression(): ComputedColumnExpressionContext;
817
800
  watermarkDefinition(): WatermarkDefinitionContext;
818
801
  tableConstraint(): TableConstraintContext;
819
802
  constraintName(): ConstraintNameContext;
820
803
  selfDefinitionClause(): SelfDefinitionClauseContext;
821
- partitionDefinition(): PartitionDefinitionContext;
822
- transformList(): TransformListContext;
823
804
  transform(): TransformContext;
824
805
  transformArgument(): TransformArgumentContext;
825
806
  likeDefinition(): LikeDefinitionContext;
@@ -829,14 +810,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
829
810
  createView(): CreateViewContext;
830
811
  createFunction(): CreateFunctionContext;
831
812
  usingClause(): UsingClauseContext;
832
- jarFileName(): JarFileNameContext;
833
813
  alterTable(): AlterTableContext;
834
814
  renameDefinition(): RenameDefinitionContext;
835
815
  setKeyValueDefinition(): SetKeyValueDefinitionContext;
836
816
  addConstraint(): AddConstraintContext;
837
817
  dropConstraint(): DropConstraintContext;
838
818
  addUnique(): AddUniqueContext;
839
- notForced(): NotForcedContext;
840
819
  alterView(): AlterViewContext;
841
820
  alterDatabase(): AlterDatabaseContext;
842
821
  alterFunction(): AlterFunctionContext;
@@ -847,7 +826,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
847
826
  dropFunction(): DropFunctionContext;
848
827
  insertStatement(): InsertStatementContext;
849
828
  insertSimpleStatement(): InsertSimpleStatementContext;
850
- insertPartitionDefinition(): InsertPartitionDefinitionContext;
851
829
  valuesDefinition(): ValuesDefinitionContext;
852
830
  valuesRowDefinition(): ValuesRowDefinitionContext;
853
831
  valueDefinition(): ValueDefinitionContext;
@@ -858,7 +836,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
858
836
  valuesClause(): ValuesClauseContext;
859
837
  withClause(): WithClauseContext;
860
838
  withItem(): WithItemContext;
861
- withItemName(): WithItemNameContext;
862
839
  selectStatement(): SelectStatementContext;
863
840
  selectClause(): SelectClauseContext;
864
841
  selectList(): SelectListContext;
@@ -878,7 +855,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
878
855
  atomFunctionTable(): AtomFunctionTableContext;
879
856
  atomExpressionTable(): AtomExpressionTableContext;
880
857
  systemTimePeriod(): SystemTimePeriodContext;
881
- dateTimeExpression(): DateTimeExpressionContext;
882
858
  inlineDataValueClause(): InlineDataValueClauseContext;
883
859
  windowTVFClause(): WindowTVFClauseContext;
884
860
  windowTVFExpression(): WindowTVFExpressionContext;
@@ -890,11 +866,8 @@ export declare class FlinkSqlParser extends SQLParserBase {
890
866
  whereClause(): WhereClauseContext;
891
867
  groupByClause(): GroupByClauseContext;
892
868
  groupItemDefinition(): GroupItemDefinitionContext;
893
- groupingSets(): GroupingSetsContext;
894
- groupingSetsNotationName(): GroupingSetsNotationNameContext;
895
869
  groupWindowFunction(): GroupWindowFunctionContext;
896
870
  groupWindowFunctionName(): GroupWindowFunctionNameContext;
897
- timeAttrColumn(): TimeAttrColumnContext;
898
871
  havingClause(): HavingClauseContext;
899
872
  windowClause(): WindowClauseContext;
900
873
  namedWindow(): NamedWindowContext;
@@ -937,7 +910,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
937
910
  jsonObjectParams(): JsonObjectParamsContext;
938
911
  jsonArrayParams(): JsonArrayParamsContext;
939
912
  dereferenceDefinition(): DereferenceDefinitionContext;
940
- correlationName(): CorrelationNameContext;
941
913
  qualifiedName(): QualifiedNameContext;
942
914
  timeIntervalExpression(): TimeIntervalExpressionContext;
943
915
  errorCapturingMultiUnitsInterval(): ErrorCapturingMultiUnitsIntervalContext;
@@ -1020,7 +992,6 @@ export declare class SingleStatementContext extends antlr.ParserRuleContext {
1020
992
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1021
993
  sqlStatement(): SqlStatementContext | null;
1022
994
  SEMICOLON(): antlr.TerminalNode | null;
1023
- emptyStatement(): EmptyStatementContext | null;
1024
995
  get ruleIndex(): number;
1025
996
  enterRule(listener: FlinkSqlParserListener): void;
1026
997
  exitRule(listener: FlinkSqlParserListener): void;
@@ -1045,14 +1016,6 @@ export declare class SqlStatementContext extends antlr.ParserRuleContext {
1045
1016
  exitRule(listener: FlinkSqlParserListener): void;
1046
1017
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1047
1018
  }
1048
- export declare class EmptyStatementContext extends antlr.ParserRuleContext {
1049
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1050
- SEMICOLON(): antlr.TerminalNode;
1051
- get ruleIndex(): number;
1052
- enterRule(listener: FlinkSqlParserListener): void;
1053
- exitRule(listener: FlinkSqlParserListener): void;
1054
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1055
- }
1056
1019
  export declare class DdlStatementContext extends antlr.ParserRuleContext {
1057
1020
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1058
1021
  createTable(): CreateTableContext | null;
@@ -1226,7 +1189,7 @@ export declare class ResetStatementContext extends antlr.ParserRuleContext {
1226
1189
  export declare class JarStatementContext extends antlr.ParserRuleContext {
1227
1190
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1228
1191
  KW_JAR(): antlr.TerminalNode;
1229
- jarFileName(): JarFileNameContext;
1192
+ STRING_LITERAL(): antlr.TerminalNode;
1230
1193
  KW_ADD(): antlr.TerminalNode | null;
1231
1194
  KW_REMOVE(): antlr.TerminalNode | null;
1232
1195
  get ruleIndex(): number;
@@ -1286,10 +1249,12 @@ export declare class SimpleCreateTableContext extends antlr.ParserRuleContext {
1286
1249
  KW_CREATE(): antlr.TerminalNode;
1287
1250
  KW_TABLE(): antlr.TerminalNode;
1288
1251
  tablePathCreate(): TablePathCreateContext;
1289
- LR_BRACKET(): antlr.TerminalNode;
1252
+ LR_BRACKET(): antlr.TerminalNode[];
1253
+ LR_BRACKET(i: number): antlr.TerminalNode | null;
1290
1254
  columnOptionDefinition(): ColumnOptionDefinitionContext[];
1291
1255
  columnOptionDefinition(i: number): ColumnOptionDefinitionContext | null;
1292
- RR_BRACKET(): antlr.TerminalNode;
1256
+ RR_BRACKET(): antlr.TerminalNode[];
1257
+ RR_BRACKET(i: number): antlr.TerminalNode | null;
1293
1258
  withOption(): WithOptionContext;
1294
1259
  KW_TEMPORARY(): antlr.TerminalNode | null;
1295
1260
  ifNotExists(): IfNotExistsContext | null;
@@ -1299,7 +1264,10 @@ export declare class SimpleCreateTableContext extends antlr.ParserRuleContext {
1299
1264
  tableConstraint(): TableConstraintContext | null;
1300
1265
  selfDefinitionClause(): SelfDefinitionClauseContext | null;
1301
1266
  KW_COMMENT(): antlr.TerminalNode | null;
1302
- partitionDefinition(): PartitionDefinitionContext | null;
1267
+ KW_PARTITIONED(): antlr.TerminalNode | null;
1268
+ KW_BY(): antlr.TerminalNode | null;
1269
+ transform(): TransformContext[];
1270
+ transform(i: number): TransformContext | null;
1303
1271
  likeDefinition(): LikeDefinitionContext | null;
1304
1272
  STRING_LITERAL(): antlr.TerminalNode | null;
1305
1273
  get ruleIndex(): number;
@@ -1538,27 +1506,19 @@ export declare class MetadataColumnDefinitionContext extends antlr.ParserRuleCon
1538
1506
  columnType(): ColumnTypeContext;
1539
1507
  KW_METADATA(): antlr.TerminalNode;
1540
1508
  KW_FROM(): antlr.TerminalNode | null;
1541
- metadataKey(): MetadataKeyContext | null;
1509
+ STRING_LITERAL(): antlr.TerminalNode | null;
1542
1510
  KW_VIRTUAL(): antlr.TerminalNode | null;
1543
1511
  get ruleIndex(): number;
1544
1512
  enterRule(listener: FlinkSqlParserListener): void;
1545
1513
  exitRule(listener: FlinkSqlParserListener): void;
1546
1514
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1547
1515
  }
1548
- export declare class MetadataKeyContext extends antlr.ParserRuleContext {
1549
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1550
- STRING_LITERAL(): antlr.TerminalNode;
1551
- get ruleIndex(): number;
1552
- enterRule(listener: FlinkSqlParserListener): void;
1553
- exitRule(listener: FlinkSqlParserListener): void;
1554
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1555
- }
1556
1516
  export declare class ComputedColumnDefinitionContext extends antlr.ParserRuleContext {
1557
1517
  _comment?: Token | null;
1558
1518
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1559
1519
  columnNameCreate(): ColumnNameCreateContext;
1560
1520
  KW_AS(): antlr.TerminalNode;
1561
- computedColumnExpression(): ComputedColumnExpressionContext;
1521
+ expression(): ExpressionContext;
1562
1522
  KW_COMMENT(): antlr.TerminalNode | null;
1563
1523
  STRING_LITERAL(): antlr.TerminalNode | null;
1564
1524
  get ruleIndex(): number;
@@ -1566,14 +1526,6 @@ export declare class ComputedColumnDefinitionContext extends antlr.ParserRuleCon
1566
1526
  exitRule(listener: FlinkSqlParserListener): void;
1567
1527
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1568
1528
  }
1569
- export declare class ComputedColumnExpressionContext extends antlr.ParserRuleContext {
1570
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1571
- expression(): ExpressionContext;
1572
- get ruleIndex(): number;
1573
- enterRule(listener: FlinkSqlParserListener): void;
1574
- exitRule(listener: FlinkSqlParserListener): void;
1575
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1576
- }
1577
1529
  export declare class WatermarkDefinitionContext extends antlr.ParserRuleContext {
1578
1530
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1579
1531
  KW_WATERMARK(): antlr.TerminalNode;
@@ -1618,29 +1570,6 @@ export declare class SelfDefinitionClauseContext extends antlr.ParserRuleContext
1618
1570
  exitRule(listener: FlinkSqlParserListener): void;
1619
1571
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1620
1572
  }
1621
- export declare class PartitionDefinitionContext extends antlr.ParserRuleContext {
1622
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1623
- KW_PARTITIONED(): antlr.TerminalNode;
1624
- KW_BY(): antlr.TerminalNode;
1625
- transformList(): TransformListContext;
1626
- get ruleIndex(): number;
1627
- enterRule(listener: FlinkSqlParserListener): void;
1628
- exitRule(listener: FlinkSqlParserListener): void;
1629
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1630
- }
1631
- export declare class TransformListContext extends antlr.ParserRuleContext {
1632
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1633
- LR_BRACKET(): antlr.TerminalNode;
1634
- transform(): TransformContext[];
1635
- transform(i: number): TransformContext | null;
1636
- RR_BRACKET(): antlr.TerminalNode;
1637
- COMMA(): antlr.TerminalNode[];
1638
- COMMA(i: number): antlr.TerminalNode | null;
1639
- get ruleIndex(): number;
1640
- enterRule(listener: FlinkSqlParserListener): void;
1641
- exitRule(listener: FlinkSqlParserListener): void;
1642
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1643
- }
1644
1573
  export declare class TransformContext extends antlr.ParserRuleContext {
1645
1574
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1646
1575
  get ruleIndex(): number;
@@ -1772,8 +1701,8 @@ export declare class UsingClauseContext extends antlr.ParserRuleContext {
1772
1701
  KW_USING(): antlr.TerminalNode;
1773
1702
  KW_JAR(): antlr.TerminalNode[];
1774
1703
  KW_JAR(i: number): antlr.TerminalNode | null;
1775
- jarFileName(): JarFileNameContext[];
1776
- jarFileName(i: number): JarFileNameContext | null;
1704
+ STRING_LITERAL(): antlr.TerminalNode[];
1705
+ STRING_LITERAL(i: number): antlr.TerminalNode | null;
1777
1706
  COMMA(): antlr.TerminalNode[];
1778
1707
  COMMA(i: number): antlr.TerminalNode | null;
1779
1708
  get ruleIndex(): number;
@@ -1781,14 +1710,6 @@ export declare class UsingClauseContext extends antlr.ParserRuleContext {
1781
1710
  exitRule(listener: FlinkSqlParserListener): void;
1782
1711
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1783
1712
  }
1784
- export declare class JarFileNameContext extends antlr.ParserRuleContext {
1785
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1786
- STRING_LITERAL(): antlr.TerminalNode;
1787
- get ruleIndex(): number;
1788
- enterRule(listener: FlinkSqlParserListener): void;
1789
- exitRule(listener: FlinkSqlParserListener): void;
1790
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1791
- }
1792
1713
  export declare class AlterTableContext extends antlr.ParserRuleContext {
1793
1714
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1794
1715
  KW_ALTER(): antlr.TerminalNode;
@@ -1833,7 +1754,8 @@ export declare class AddConstraintContext extends antlr.ParserRuleContext {
1833
1754
  KW_PRIMARY(): antlr.TerminalNode;
1834
1755
  KW_KEY(): antlr.TerminalNode;
1835
1756
  columnNameList(): ColumnNameListContext;
1836
- notForced(): NotForcedContext | null;
1757
+ KW_NOT(): antlr.TerminalNode | null;
1758
+ KW_ENFORCED(): antlr.TerminalNode | null;
1837
1759
  get ruleIndex(): number;
1838
1760
  enterRule(listener: FlinkSqlParserListener): void;
1839
1761
  exitRule(listener: FlinkSqlParserListener): void;
@@ -1859,15 +1781,6 @@ export declare class AddUniqueContext extends antlr.ParserRuleContext {
1859
1781
  exitRule(listener: FlinkSqlParserListener): void;
1860
1782
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1861
1783
  }
1862
- export declare class NotForcedContext extends antlr.ParserRuleContext {
1863
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1864
- KW_NOT(): antlr.TerminalNode;
1865
- KW_ENFORCED(): antlr.TerminalNode;
1866
- get ruleIndex(): number;
1867
- enterRule(listener: FlinkSqlParserListener): void;
1868
- exitRule(listener: FlinkSqlParserListener): void;
1869
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1870
- }
1871
1784
  export declare class AlterViewContext extends antlr.ParserRuleContext {
1872
1785
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1873
1786
  KW_ALTER(): antlr.TerminalNode;
@@ -1992,22 +1905,14 @@ export declare class InsertSimpleStatementContext extends antlr.ParserRuleContex
1992
1905
  KW_OVERWRITE(): antlr.TerminalNode | null;
1993
1906
  queryStatement(): QueryStatementContext | null;
1994
1907
  valuesDefinition(): ValuesDefinitionContext | null;
1995
- insertPartitionDefinition(): InsertPartitionDefinitionContext | null;
1908
+ KW_PARTITION(): antlr.TerminalNode | null;
1909
+ tablePropertyList(): TablePropertyListContext | null;
1996
1910
  columnNameList(): ColumnNameListContext | null;
1997
1911
  get ruleIndex(): number;
1998
1912
  enterRule(listener: FlinkSqlParserListener): void;
1999
1913
  exitRule(listener: FlinkSqlParserListener): void;
2000
1914
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2001
1915
  }
2002
- export declare class InsertPartitionDefinitionContext extends antlr.ParserRuleContext {
2003
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2004
- KW_PARTITION(): antlr.TerminalNode;
2005
- tablePropertyList(): TablePropertyListContext;
2006
- get ruleIndex(): number;
2007
- enterRule(listener: FlinkSqlParserListener): void;
2008
- exitRule(listener: FlinkSqlParserListener): void;
2009
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2010
- }
2011
1916
  export declare class ValuesDefinitionContext extends antlr.ParserRuleContext {
2012
1917
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2013
1918
  KW_VALUES(): antlr.TerminalNode;
@@ -2122,7 +2027,7 @@ export declare class WithClauseContext extends antlr.ParserRuleContext {
2122
2027
  }
2123
2028
  export declare class WithItemContext extends antlr.ParserRuleContext {
2124
2029
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2125
- withItemName(): WithItemNameContext;
2030
+ identifier(): IdentifierContext;
2126
2031
  KW_AS(): antlr.TerminalNode;
2127
2032
  LR_BRACKET(): antlr.TerminalNode[];
2128
2033
  LR_BRACKET(i: number): antlr.TerminalNode | null;
@@ -2138,14 +2043,6 @@ export declare class WithItemContext extends antlr.ParserRuleContext {
2138
2043
  exitRule(listener: FlinkSqlParserListener): void;
2139
2044
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2140
2045
  }
2141
- export declare class WithItemNameContext extends antlr.ParserRuleContext {
2142
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2143
- identifier(): IdentifierContext;
2144
- get ruleIndex(): number;
2145
- enterRule(listener: FlinkSqlParserListener): void;
2146
- exitRule(listener: FlinkSqlParserListener): void;
2147
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2148
- }
2149
2046
  export declare class SelectStatementContext extends antlr.ParserRuleContext {
2150
2047
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2151
2048
  selectClause(): SelectClauseContext;
@@ -2354,14 +2251,6 @@ export declare class SystemTimePeriodContext extends antlr.ParserRuleContext {
2354
2251
  KW_SYSTEM_TIME(): antlr.TerminalNode;
2355
2252
  KW_AS(): antlr.TerminalNode;
2356
2253
  KW_OF(): antlr.TerminalNode;
2357
- dateTimeExpression(): DateTimeExpressionContext;
2358
- get ruleIndex(): number;
2359
- enterRule(listener: FlinkSqlParserListener): void;
2360
- exitRule(listener: FlinkSqlParserListener): void;
2361
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2362
- }
2363
- export declare class DateTimeExpressionContext extends antlr.ParserRuleContext {
2364
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2365
2254
  expression(): ExpressionContext;
2366
2255
  get ruleIndex(): number;
2367
2256
  enterRule(listener: FlinkSqlParserListener): void;
@@ -2417,7 +2306,7 @@ export declare class WindowTVFNameContext extends antlr.ParserRuleContext {
2417
2306
  export declare class WindowTVFParamContext extends antlr.ParserRuleContext {
2418
2307
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2419
2308
  KW_TABLE(): antlr.TerminalNode | null;
2420
- timeAttrColumn(): TimeAttrColumnContext | null;
2309
+ uid(): UidContext | null;
2421
2310
  columnDescriptor(): ColumnDescriptorContext | null;
2422
2311
  timeIntervalExpression(): TimeIntervalExpressionContext | null;
2423
2312
  KW_DATA(): antlr.TerminalNode | null;
@@ -2500,28 +2389,12 @@ export declare class GroupItemDefinitionContext extends antlr.ParserRuleContext
2500
2389
  expression(i: number): ExpressionContext | null;
2501
2390
  COMMA(): antlr.TerminalNode[];
2502
2391
  COMMA(i: number): antlr.TerminalNode | null;
2503
- groupingSetsNotationName(): GroupingSetsNotationNameContext | null;
2504
- groupingSets(): GroupingSetsContext | null;
2505
- groupItemDefinition(): GroupItemDefinitionContext[];
2506
- groupItemDefinition(i: number): GroupItemDefinitionContext | null;
2507
- get ruleIndex(): number;
2508
- enterRule(listener: FlinkSqlParserListener): void;
2509
- exitRule(listener: FlinkSqlParserListener): void;
2510
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2511
- }
2512
- export declare class GroupingSetsContext extends antlr.ParserRuleContext {
2513
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2514
- KW_GROUPING(): antlr.TerminalNode;
2515
- KW_SETS(): antlr.TerminalNode;
2516
- get ruleIndex(): number;
2517
- enterRule(listener: FlinkSqlParserListener): void;
2518
- exitRule(listener: FlinkSqlParserListener): void;
2519
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2520
- }
2521
- export declare class GroupingSetsNotationNameContext extends antlr.ParserRuleContext {
2522
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2523
2392
  KW_CUBE(): antlr.TerminalNode | null;
2524
2393
  KW_ROLLUP(): antlr.TerminalNode | null;
2394
+ KW_GROUPING(): antlr.TerminalNode | null;
2395
+ KW_SETS(): antlr.TerminalNode | null;
2396
+ groupItemDefinition(): GroupItemDefinitionContext[];
2397
+ groupItemDefinition(i: number): GroupItemDefinitionContext | null;
2525
2398
  get ruleIndex(): number;
2526
2399
  enterRule(listener: FlinkSqlParserListener): void;
2527
2400
  exitRule(listener: FlinkSqlParserListener): void;
@@ -2531,7 +2404,7 @@ export declare class GroupWindowFunctionContext extends antlr.ParserRuleContext
2531
2404
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2532
2405
  groupWindowFunctionName(): GroupWindowFunctionNameContext;
2533
2406
  LR_BRACKET(): antlr.TerminalNode;
2534
- timeAttrColumn(): TimeAttrColumnContext;
2407
+ uid(): UidContext;
2535
2408
  COMMA(): antlr.TerminalNode;
2536
2409
  timeIntervalExpression(): TimeIntervalExpressionContext;
2537
2410
  RR_BRACKET(): antlr.TerminalNode;
@@ -2550,14 +2423,6 @@ export declare class GroupWindowFunctionNameContext extends antlr.ParserRuleCont
2550
2423
  exitRule(listener: FlinkSqlParserListener): void;
2551
2424
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2552
2425
  }
2553
- export declare class TimeAttrColumnContext extends antlr.ParserRuleContext {
2554
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2555
- uid(): UidContext;
2556
- get ruleIndex(): number;
2557
- enterRule(listener: FlinkSqlParserListener): void;
2558
- exitRule(listener: FlinkSqlParserListener): void;
2559
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2560
- }
2561
2426
  export declare class HavingClauseContext extends antlr.ParserRuleContext {
2562
2427
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2563
2428
  KW_HAVING(): antlr.TerminalNode;
@@ -3350,14 +3215,6 @@ export declare class DereferenceDefinitionContext extends antlr.ParserRuleContex
3350
3215
  exitRule(listener: FlinkSqlParserListener): void;
3351
3216
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3352
3217
  }
3353
- export declare class CorrelationNameContext extends antlr.ParserRuleContext {
3354
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3355
- identifier(): IdentifierContext;
3356
- get ruleIndex(): number;
3357
- enterRule(listener: FlinkSqlParserListener): void;
3358
- exitRule(listener: FlinkSqlParserListener): void;
3359
- accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
3360
- }
3361
3218
  export declare class QualifiedNameContext extends antlr.ParserRuleContext {
3362
3219
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3363
3220
  identifier(): IdentifierContext | null;