dt-sql-parser 4.1.2-beta.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +51 -0
  2. package/dist/lib/flink/FlinkSqlLexer.d.ts +5 -5
  3. package/dist/lib/flink/FlinkSqlLexer.js +1991 -1992
  4. package/dist/lib/flink/FlinkSqlParser.d.ts +240 -230
  5. package/dist/lib/flink/FlinkSqlParser.js +3036 -2978
  6. package/dist/lib/flink/FlinkSqlParserListener.d.ts +81 -70
  7. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +49 -42
  8. package/dist/lib/hive/HiveSqlParser.d.ts +251 -231
  9. package/dist/lib/hive/HiveSqlParser.js +6264 -5674
  10. package/dist/lib/hive/HiveSqlParserListener.d.ts +32 -10
  11. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +20 -6
  12. package/dist/lib/impala/ImpalaSqlLexer.d.ts +2 -2
  13. package/dist/lib/impala/ImpalaSqlLexer.js +587 -588
  14. package/dist/lib/impala/ImpalaSqlParser.d.ts +151 -113
  15. package/dist/lib/impala/ImpalaSqlParser.js +3464 -3250
  16. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +49 -5
  17. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +31 -3
  18. package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
  19. package/dist/lib/mysql/MySqlLexer.js +3515 -3516
  20. package/dist/lib/mysql/MySqlParser.d.ts +138 -138
  21. package/dist/lib/mysql/MySqlParser.js +511 -511
  22. package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
  23. package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
  24. package/dist/lib/postgresql/PostgreSqlLexer.d.ts +14 -15
  25. package/dist/lib/postgresql/PostgreSqlLexer.js +2077 -2092
  26. package/dist/lib/postgresql/PostgreSqlParser.d.ts +2860 -2980
  27. package/dist/lib/postgresql/PostgreSqlParser.js +20155 -20660
  28. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2110 -2181
  29. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1261 -1301
  30. package/dist/lib/spark/SparkSqlLexer.d.ts +2 -2
  31. package/dist/lib/spark/SparkSqlLexer.js +949 -950
  32. package/dist/lib/spark/SparkSqlParser.d.ts +413 -645
  33. package/dist/lib/spark/SparkSqlParser.js +6840 -8200
  34. package/dist/lib/spark/SparkSqlParserListener.d.ts +68 -356
  35. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +42 -225
  36. package/dist/lib/trino/TrinoSqlLexer.d.ts +2 -2
  37. package/dist/lib/trino/TrinoSqlLexer.js +319 -321
  38. package/dist/lib/trino/TrinoSqlListener.d.ts +67 -23
  39. package/dist/lib/trino/TrinoSqlParser.d.ts +210 -181
  40. package/dist/lib/trino/TrinoSqlParser.js +4854 -4695
  41. package/dist/lib/trino/TrinoSqlVisitor.d.ts +42 -14
  42. package/dist/parser/common/basicSQL.d.ts +43 -9
  43. package/dist/parser/common/basicSQL.js +147 -40
  44. package/dist/parser/common/semanticContextCollector.d.ts +50 -0
  45. package/dist/parser/common/semanticContextCollector.js +202 -0
  46. package/dist/parser/common/tokenUtils.d.ts +12 -0
  47. package/dist/parser/common/tokenUtils.js +38 -0
  48. package/dist/parser/common/types.d.ts +25 -0
  49. package/dist/parser/common/types.js +7 -0
  50. package/dist/parser/flink/flinkErrorListener.js +14 -2
  51. package/dist/parser/flink/flinkSemanticContextCollector.d.ts +9 -0
  52. package/dist/parser/flink/flinkSemanticContextCollector.js +14 -0
  53. package/dist/parser/flink/index.d.ts +4 -2
  54. package/dist/parser/flink/index.js +22 -14
  55. package/dist/parser/hive/hiveErrorListener.js +9 -3
  56. package/dist/parser/hive/hiveSemanticContextCollector.d.ts +9 -0
  57. package/dist/parser/hive/hiveSemanticContextCollector.js +14 -0
  58. package/dist/parser/hive/index.d.ts +4 -2
  59. package/dist/parser/hive/index.js +29 -14
  60. package/dist/parser/impala/ImpalaErrorListener.js +8 -2
  61. package/dist/parser/impala/impalaSemanticContextCollector.d.ts +9 -0
  62. package/dist/parser/impala/impalaSemanticContextCollector.js +14 -0
  63. package/dist/parser/impala/index.d.ts +4 -2
  64. package/dist/parser/impala/index.js +21 -14
  65. package/dist/parser/mysql/index.d.ts +4 -2
  66. package/dist/parser/mysql/index.js +10 -14
  67. package/dist/parser/mysql/mysqlErrorListener.js +6 -2
  68. package/dist/parser/mysql/mysqlSemanticContextCollector.d.ts +9 -0
  69. package/dist/parser/mysql/mysqlSemanticContextCollector.js +14 -0
  70. package/dist/parser/postgresql/index.d.ts +4 -2
  71. package/dist/parser/postgresql/index.js +51 -42
  72. package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
  73. package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
  74. package/dist/parser/postgresql/postgreErrorListener.js +36 -30
  75. package/dist/parser/postgresql/postgreSemanticContextCollector.d.ts +9 -0
  76. package/dist/parser/postgresql/postgreSemanticContextCollector.js +14 -0
  77. package/dist/parser/spark/index.d.ts +4 -2
  78. package/dist/parser/spark/index.js +26 -14
  79. package/dist/parser/spark/sparkErrorListener.js +9 -3
  80. package/dist/parser/spark/sparkSemanticContextCollector.d.ts +9 -0
  81. package/dist/parser/spark/sparkSemanticContextCollector.js +14 -0
  82. package/dist/parser/trino/index.d.ts +4 -2
  83. package/dist/parser/trino/index.js +22 -14
  84. package/dist/parser/trino/trinoErrorListener.js +9 -3
  85. package/dist/parser/trino/trinoSemanticContextCollector.d.ts +9 -0
  86. package/dist/parser/trino/trinoSemanticContextCollector.js +14 -0
  87. package/package.json +2 -1
@@ -4,8 +4,8 @@ import { FlinkSqlParserListener } from "./FlinkSqlParserListener.js";
4
4
  import { FlinkSqlParserVisitor } from "./FlinkSqlParserVisitor.js";
5
5
  import { SQLParserBase } from '../SQLParserBase';
6
6
  export declare class FlinkSqlParser extends SQLParserBase {
7
- static readonly SPACE = 1;
8
- static readonly COMMENT_INPUT = 2;
7
+ static readonly WHITE_SPACE = 1;
8
+ static readonly BRACKETED_COMMENT = 2;
9
9
  static readonly LINE_COMMENT = 3;
10
10
  static readonly KW_ABS = 4;
11
11
  static readonly KW_ALL = 5;
@@ -533,11 +533,11 @@ export declare class FlinkSqlParser extends SQLParserBase {
533
533
  static readonly COLON_SYMB = 527;
534
534
  static readonly ASTERISK_SIGN = 528;
535
535
  static readonly UNDERLINE_SIGN = 529;
536
- static readonly HYPNEN_SIGN = 530;
536
+ static readonly HYPHEN_SIGN = 530;
537
537
  static readonly ADD_SIGN = 531;
538
- static readonly PENCENT_SIGN = 532;
538
+ static readonly PERCENT_SIGN = 532;
539
539
  static readonly DOUBLE_VERTICAL_SIGN = 533;
540
- static readonly DOUBLE_HYPNEN_SIGN = 534;
540
+ static readonly DOUBLE_HYPHEN_SIGN = 534;
541
541
  static readonly SLASH_SIGN = 535;
542
542
  static readonly QUESTION_MARK_SIGN = 536;
543
543
  static readonly DOUBLE_RIGHT_ARROW = 537;
@@ -558,12 +558,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
558
558
  static readonly RULE_explainDetail = 9;
559
559
  static readonly RULE_useStatement = 10;
560
560
  static readonly RULE_useModuleStatement = 11;
561
- static readonly RULE_showStatememt = 12;
561
+ static readonly RULE_showStatement = 12;
562
562
  static readonly RULE_loadStatement = 13;
563
- static readonly RULE_unloadStatememt = 14;
564
- static readonly RULE_setStatememt = 15;
565
- static readonly RULE_resetStatememt = 16;
566
- static readonly RULE_jarStatememt = 17;
563
+ static readonly RULE_unloadStatement = 14;
564
+ static readonly RULE_setStatement = 15;
565
+ static readonly RULE_resetStatement = 16;
566
+ static readonly RULE_jarStatement = 17;
567
567
  static readonly RULE_dtAddStatement = 18;
568
568
  static readonly RULE_dtFilePath = 19;
569
569
  static readonly RULE_createTable = 20;
@@ -573,171 +573,172 @@ export declare class FlinkSqlParser extends SQLParserBase {
573
573
  static readonly RULE_physicalColumnDefinition = 24;
574
574
  static readonly RULE_columnNameCreate = 25;
575
575
  static readonly RULE_columnName = 26;
576
- static readonly RULE_columnNameList = 27;
577
- static readonly RULE_columnType = 28;
578
- static readonly RULE_lengthOneDimension = 29;
579
- static readonly RULE_lengthTwoOptionalDimension = 30;
580
- static readonly RULE_lengthTwoStringDimension = 31;
581
- static readonly RULE_lengthOneTypeDimension = 32;
582
- static readonly RULE_mapTypeDimension = 33;
583
- static readonly RULE_rowTypeDimension = 34;
584
- static readonly RULE_columnConstraint = 35;
585
- static readonly RULE_metadataColumnDefinition = 36;
586
- static readonly RULE_metadataKey = 37;
587
- static readonly RULE_computedColumnDefinition = 38;
588
- static readonly RULE_computedColumnExpression = 39;
589
- static readonly RULE_watermarkDefinition = 40;
590
- static readonly RULE_tableConstraint = 41;
591
- static readonly RULE_constraintName = 42;
592
- static readonly RULE_selfDefinitionClause = 43;
593
- static readonly RULE_partitionDefinition = 44;
594
- static readonly RULE_transformList = 45;
595
- static readonly RULE_transform = 46;
596
- static readonly RULE_transformArgument = 47;
597
- static readonly RULE_likeDefinition = 48;
598
- static readonly RULE_likeOption = 49;
599
- static readonly RULE_createCatalog = 50;
600
- static readonly RULE_createDatabase = 51;
601
- static readonly RULE_createView = 52;
602
- static readonly RULE_createFunction = 53;
603
- static readonly RULE_usingClause = 54;
604
- static readonly RULE_jarFileName = 55;
605
- static readonly RULE_alterTable = 56;
606
- static readonly RULE_renameDefinition = 57;
607
- static readonly RULE_setKeyValueDefinition = 58;
608
- static readonly RULE_addConstraint = 59;
609
- static readonly RULE_dropConstraint = 60;
610
- static readonly RULE_addUnique = 61;
611
- static readonly RULE_notForced = 62;
612
- static readonly RULE_alterView = 63;
613
- static readonly RULE_alterDatabase = 64;
614
- static readonly RULE_alterFunction = 65;
615
- static readonly RULE_dropCatalog = 66;
616
- static readonly RULE_dropTable = 67;
617
- static readonly RULE_dropDatabase = 68;
618
- static readonly RULE_dropView = 69;
619
- static readonly RULE_dropFunction = 70;
620
- static readonly RULE_insertStatement = 71;
621
- static readonly RULE_insertSimpleStatement = 72;
622
- static readonly RULE_insertPartitionDefinition = 73;
623
- static readonly RULE_valuesDefinition = 74;
624
- static readonly RULE_valuesRowDefinition = 75;
625
- static readonly RULE_insertMulStatementCompatibility = 76;
626
- static readonly RULE_insertMulStatement = 77;
627
- static readonly RULE_queryStatement = 78;
628
- static readonly RULE_valuesCaluse = 79;
629
- static readonly RULE_withClause = 80;
630
- static readonly RULE_withItem = 81;
631
- static readonly RULE_withItemName = 82;
632
- static readonly RULE_selectStatement = 83;
633
- static readonly RULE_selectClause = 84;
634
- static readonly RULE_projectItemDefinition = 85;
635
- static readonly RULE_overWindowItem = 86;
636
- static readonly RULE_fromClause = 87;
637
- static readonly RULE_tableExpression = 88;
638
- static readonly RULE_tableReference = 89;
639
- static readonly RULE_tablePrimary = 90;
640
- static readonly RULE_systemTimePeriod = 91;
641
- static readonly RULE_dateTimeExpression = 92;
642
- static readonly RULE_inlineDataValueClause = 93;
643
- static readonly RULE_windoTVFClause = 94;
644
- static readonly RULE_windowTVFExression = 95;
645
- static readonly RULE_windoTVFName = 96;
646
- static readonly RULE_windowTVFParam = 97;
647
- static readonly RULE_timeIntervalParamName = 98;
648
- static readonly RULE_columnDescriptor = 99;
649
- static readonly RULE_joinCondition = 100;
650
- static readonly RULE_whereClause = 101;
651
- static readonly RULE_groupByClause = 102;
652
- static readonly RULE_groupItemDefinition = 103;
653
- static readonly RULE_groupingSets = 104;
654
- static readonly RULE_groupingSetsNotaionName = 105;
655
- static readonly RULE_groupWindowFunction = 106;
656
- static readonly RULE_groupWindowFunctionName = 107;
657
- static readonly RULE_timeAttrColumn = 108;
658
- static readonly RULE_havingClause = 109;
659
- static readonly RULE_windowClause = 110;
660
- static readonly RULE_namedWindow = 111;
661
- static readonly RULE_windowSpec = 112;
662
- static readonly RULE_matchRecognizeClause = 113;
663
- static readonly RULE_orderByCaluse = 114;
664
- static readonly RULE_orderItemDefition = 115;
665
- static readonly RULE_limitClause = 116;
666
- static readonly RULE_partitionByClause = 117;
667
- static readonly RULE_quantifiers = 118;
668
- static readonly RULE_measuresClause = 119;
669
- static readonly RULE_patternDefination = 120;
670
- static readonly RULE_patternVariable = 121;
671
- static readonly RULE_outputMode = 122;
672
- static readonly RULE_afterMatchStrategy = 123;
673
- static readonly RULE_patternVariablesDefination = 124;
674
- static readonly RULE_windowFrame = 125;
675
- static readonly RULE_frameBound = 126;
676
- static readonly RULE_withinClause = 127;
677
- static readonly RULE_expression = 128;
678
- static readonly RULE_booleanExpression = 129;
679
- static readonly RULE_predicate = 130;
680
- static readonly RULE_likePredicate = 131;
681
- static readonly RULE_valueExpression = 132;
682
- static readonly RULE_functionCallExpression = 133;
683
- static readonly RULE_primaryExpression = 134;
684
- static readonly RULE_functionNameCreate = 135;
685
- static readonly RULE_functionName = 136;
686
- static readonly RULE_functionNameAndParams = 137;
687
- static readonly RULE_functionNameWithParams = 138;
688
- static readonly RULE_functionParam = 139;
689
- static readonly RULE_dereferenceDefinition = 140;
690
- static readonly RULE_correlationName = 141;
691
- static readonly RULE_qualifiedName = 142;
692
- static readonly RULE_timeIntervalExpression = 143;
693
- static readonly RULE_errorCapturingMultiUnitsInterval = 144;
694
- static readonly RULE_multiUnitsInterval = 145;
695
- static readonly RULE_errorCapturingUnitToUnitInterval = 146;
696
- static readonly RULE_unitToUnitInterval = 147;
697
- static readonly RULE_intervalValue = 148;
698
- static readonly RULE_tableAlias = 149;
699
- static readonly RULE_errorCapturingIdentifier = 150;
700
- static readonly RULE_errorCapturingIdentifierExtra = 151;
701
- static readonly RULE_identifierList = 152;
702
- static readonly RULE_identifierSeq = 153;
703
- static readonly RULE_identifier = 154;
704
- static readonly RULE_unquotedIdentifier = 155;
705
- static readonly RULE_quotedIdentifier = 156;
706
- static readonly RULE_whenClause = 157;
707
- static readonly RULE_catalogPath = 158;
708
- static readonly RULE_catalogPathCreate = 159;
709
- static readonly RULE_databasePath = 160;
710
- static readonly RULE_databasePathCreate = 161;
711
- static readonly RULE_tablePathCreate = 162;
712
- static readonly RULE_tablePath = 163;
713
- static readonly RULE_viewPath = 164;
714
- static readonly RULE_viewPathCreate = 165;
715
- static readonly RULE_uid = 166;
716
- static readonly RULE_withOption = 167;
717
- static readonly RULE_ifNotExists = 168;
718
- static readonly RULE_ifExists = 169;
719
- static readonly RULE_tablePropertyList = 170;
720
- static readonly RULE_tableProperty = 171;
721
- static readonly RULE_tablePropertyKey = 172;
722
- static readonly RULE_tablePropertyValue = 173;
723
- static readonly RULE_logicalOperator = 174;
724
- static readonly RULE_comparisonOperator = 175;
725
- static readonly RULE_bitOperator = 176;
726
- static readonly RULE_mathOperator = 177;
727
- static readonly RULE_unaryOperator = 178;
728
- static readonly RULE_constant = 179;
729
- static readonly RULE_timePointLiteral = 180;
730
- static readonly RULE_stringLiteral = 181;
731
- static readonly RULE_decimalLiteral = 182;
732
- static readonly RULE_booleanLiteral = 183;
733
- static readonly RULE_setQuantifier = 184;
734
- static readonly RULE_timePointUnit = 185;
735
- static readonly RULE_timeIntervalUnit = 186;
736
- static readonly RULE_reservedKeywordsUsedAsFuncParam = 187;
737
- static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 188;
738
- static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 189;
739
- static readonly RULE_reservedKeywordsUsedAsFuncName = 190;
740
- static readonly RULE_nonReservedKeywords = 191;
576
+ static readonly RULE_columnNamePath = 27;
577
+ static readonly RULE_columnNameList = 28;
578
+ static readonly RULE_columnType = 29;
579
+ static readonly RULE_lengthOneDimension = 30;
580
+ static readonly RULE_lengthTwoOptionalDimension = 31;
581
+ static readonly RULE_lengthTwoStringDimension = 32;
582
+ static readonly RULE_lengthOneTypeDimension = 33;
583
+ static readonly RULE_mapTypeDimension = 34;
584
+ static readonly RULE_rowTypeDimension = 35;
585
+ static readonly RULE_columnConstraint = 36;
586
+ static readonly RULE_metadataColumnDefinition = 37;
587
+ static readonly RULE_metadataKey = 38;
588
+ static readonly RULE_computedColumnDefinition = 39;
589
+ static readonly RULE_computedColumnExpression = 40;
590
+ static readonly RULE_watermarkDefinition = 41;
591
+ static readonly RULE_tableConstraint = 42;
592
+ static readonly RULE_constraintName = 43;
593
+ static readonly RULE_selfDefinitionClause = 44;
594
+ static readonly RULE_partitionDefinition = 45;
595
+ static readonly RULE_transformList = 46;
596
+ static readonly RULE_transform = 47;
597
+ static readonly RULE_transformArgument = 48;
598
+ static readonly RULE_likeDefinition = 49;
599
+ static readonly RULE_likeOption = 50;
600
+ static readonly RULE_createCatalog = 51;
601
+ static readonly RULE_createDatabase = 52;
602
+ static readonly RULE_createView = 53;
603
+ static readonly RULE_createFunction = 54;
604
+ static readonly RULE_usingClause = 55;
605
+ static readonly RULE_jarFileName = 56;
606
+ static readonly RULE_alterTable = 57;
607
+ static readonly RULE_renameDefinition = 58;
608
+ static readonly RULE_setKeyValueDefinition = 59;
609
+ static readonly RULE_addConstraint = 60;
610
+ static readonly RULE_dropConstraint = 61;
611
+ static readonly RULE_addUnique = 62;
612
+ static readonly RULE_notForced = 63;
613
+ static readonly RULE_alterView = 64;
614
+ static readonly RULE_alterDatabase = 65;
615
+ static readonly RULE_alterFunction = 66;
616
+ static readonly RULE_dropCatalog = 67;
617
+ static readonly RULE_dropTable = 68;
618
+ static readonly RULE_dropDatabase = 69;
619
+ static readonly RULE_dropView = 70;
620
+ static readonly RULE_dropFunction = 71;
621
+ static readonly RULE_insertStatement = 72;
622
+ static readonly RULE_insertSimpleStatement = 73;
623
+ static readonly RULE_insertPartitionDefinition = 74;
624
+ static readonly RULE_valuesDefinition = 75;
625
+ static readonly RULE_valuesRowDefinition = 76;
626
+ static readonly RULE_insertMulStatementCompatibility = 77;
627
+ static readonly RULE_insertMulStatement = 78;
628
+ static readonly RULE_queryStatement = 79;
629
+ static readonly RULE_valuesClause = 80;
630
+ static readonly RULE_withClause = 81;
631
+ static readonly RULE_withItem = 82;
632
+ static readonly RULE_withItemName = 83;
633
+ static readonly RULE_selectStatement = 84;
634
+ static readonly RULE_selectClause = 85;
635
+ static readonly RULE_projectItemDefinition = 86;
636
+ static readonly RULE_overWindowItem = 87;
637
+ static readonly RULE_fromClause = 88;
638
+ static readonly RULE_tableExpression = 89;
639
+ static readonly RULE_tableReference = 90;
640
+ static readonly RULE_tablePrimary = 91;
641
+ static readonly RULE_systemTimePeriod = 92;
642
+ static readonly RULE_dateTimeExpression = 93;
643
+ static readonly RULE_inlineDataValueClause = 94;
644
+ static readonly RULE_windowTVFClause = 95;
645
+ static readonly RULE_windowTVFExpression = 96;
646
+ static readonly RULE_windowTVFName = 97;
647
+ static readonly RULE_windowTVFParam = 98;
648
+ static readonly RULE_timeIntervalParamName = 99;
649
+ static readonly RULE_columnDescriptor = 100;
650
+ static readonly RULE_joinCondition = 101;
651
+ static readonly RULE_whereClause = 102;
652
+ static readonly RULE_groupByClause = 103;
653
+ static readonly RULE_groupItemDefinition = 104;
654
+ static readonly RULE_groupingSets = 105;
655
+ static readonly RULE_groupingSetsNotationName = 106;
656
+ static readonly RULE_groupWindowFunction = 107;
657
+ static readonly RULE_groupWindowFunctionName = 108;
658
+ static readonly RULE_timeAttrColumn = 109;
659
+ static readonly RULE_havingClause = 110;
660
+ static readonly RULE_windowClause = 111;
661
+ static readonly RULE_namedWindow = 112;
662
+ static readonly RULE_windowSpec = 113;
663
+ static readonly RULE_matchRecognizeClause = 114;
664
+ static readonly RULE_orderByClause = 115;
665
+ static readonly RULE_orderItemDefinition = 116;
666
+ static readonly RULE_limitClause = 117;
667
+ static readonly RULE_partitionByClause = 118;
668
+ static readonly RULE_quantifiers = 119;
669
+ static readonly RULE_measuresClause = 120;
670
+ static readonly RULE_patternDefinition = 121;
671
+ static readonly RULE_patternVariable = 122;
672
+ static readonly RULE_outputMode = 123;
673
+ static readonly RULE_afterMatchStrategy = 124;
674
+ static readonly RULE_patternVariablesDefinition = 125;
675
+ static readonly RULE_windowFrame = 126;
676
+ static readonly RULE_frameBound = 127;
677
+ static readonly RULE_withinClause = 128;
678
+ static readonly RULE_expression = 129;
679
+ static readonly RULE_booleanExpression = 130;
680
+ static readonly RULE_predicate = 131;
681
+ static readonly RULE_likePredicate = 132;
682
+ static readonly RULE_valueExpression = 133;
683
+ static readonly RULE_functionCallExpression = 134;
684
+ static readonly RULE_primaryExpression = 135;
685
+ static readonly RULE_functionNameCreate = 136;
686
+ static readonly RULE_functionName = 137;
687
+ static readonly RULE_functionNameAndParams = 138;
688
+ static readonly RULE_functionNameWithParams = 139;
689
+ static readonly RULE_functionParam = 140;
690
+ static readonly RULE_dereferenceDefinition = 141;
691
+ static readonly RULE_correlationName = 142;
692
+ static readonly RULE_qualifiedName = 143;
693
+ static readonly RULE_timeIntervalExpression = 144;
694
+ static readonly RULE_errorCapturingMultiUnitsInterval = 145;
695
+ static readonly RULE_multiUnitsInterval = 146;
696
+ static readonly RULE_errorCapturingUnitToUnitInterval = 147;
697
+ static readonly RULE_unitToUnitInterval = 148;
698
+ static readonly RULE_intervalValue = 149;
699
+ static readonly RULE_tableAlias = 150;
700
+ static readonly RULE_errorCapturingIdentifier = 151;
701
+ static readonly RULE_errorCapturingIdentifierExtra = 152;
702
+ static readonly RULE_identifierList = 153;
703
+ static readonly RULE_identifierSeq = 154;
704
+ static readonly RULE_identifier = 155;
705
+ static readonly RULE_unquotedIdentifier = 156;
706
+ static readonly RULE_quotedIdentifier = 157;
707
+ static readonly RULE_whenClause = 158;
708
+ static readonly RULE_catalogPath = 159;
709
+ static readonly RULE_catalogPathCreate = 160;
710
+ static readonly RULE_databasePath = 161;
711
+ static readonly RULE_databasePathCreate = 162;
712
+ static readonly RULE_tablePathCreate = 163;
713
+ static readonly RULE_tablePath = 164;
714
+ static readonly RULE_viewPath = 165;
715
+ static readonly RULE_viewPathCreate = 166;
716
+ static readonly RULE_uid = 167;
717
+ static readonly RULE_withOption = 168;
718
+ static readonly RULE_ifNotExists = 169;
719
+ static readonly RULE_ifExists = 170;
720
+ static readonly RULE_tablePropertyList = 171;
721
+ static readonly RULE_tableProperty = 172;
722
+ static readonly RULE_tablePropertyKey = 173;
723
+ static readonly RULE_tablePropertyValue = 174;
724
+ static readonly RULE_logicalOperator = 175;
725
+ static readonly RULE_comparisonOperator = 176;
726
+ static readonly RULE_bitOperator = 177;
727
+ static readonly RULE_mathOperator = 178;
728
+ static readonly RULE_unaryOperator = 179;
729
+ static readonly RULE_constant = 180;
730
+ static readonly RULE_timePointLiteral = 181;
731
+ static readonly RULE_stringLiteral = 182;
732
+ static readonly RULE_decimalLiteral = 183;
733
+ static readonly RULE_booleanLiteral = 184;
734
+ static readonly RULE_setQuantifier = 185;
735
+ static readonly RULE_timePointUnit = 186;
736
+ static readonly RULE_timeIntervalUnit = 187;
737
+ static readonly RULE_reservedKeywordsUsedAsFuncParam = 188;
738
+ static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 189;
739
+ static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 190;
740
+ static readonly RULE_reservedKeywordsUsedAsFuncName = 191;
741
+ static readonly RULE_nonReservedKeywords = 192;
741
742
  static readonly literalNames: (string | null)[];
742
743
  static readonly symbolicNames: (string | null)[];
743
744
  static readonly ruleNames: string[];
@@ -760,12 +761,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
760
761
  explainDetail(): ExplainDetailContext;
761
762
  useStatement(): UseStatementContext;
762
763
  useModuleStatement(): UseModuleStatementContext;
763
- showStatememt(): ShowStatememtContext;
764
+ showStatement(): ShowStatementContext;
764
765
  loadStatement(): LoadStatementContext;
765
- unloadStatememt(): UnloadStatememtContext;
766
- setStatememt(): SetStatememtContext;
767
- resetStatememt(): ResetStatememtContext;
768
- jarStatememt(): JarStatememtContext;
766
+ unloadStatement(): UnloadStatementContext;
767
+ setStatement(): SetStatementContext;
768
+ resetStatement(): ResetStatementContext;
769
+ jarStatement(): JarStatementContext;
769
770
  dtAddStatement(): DtAddStatementContext;
770
771
  dtFilePath(): DtFilePathContext;
771
772
  createTable(): CreateTableContext;
@@ -775,6 +776,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
775
776
  physicalColumnDefinition(): PhysicalColumnDefinitionContext;
776
777
  columnNameCreate(): ColumnNameCreateContext;
777
778
  columnName(): ColumnNameContext;
779
+ columnNamePath(): ColumnNamePathContext;
778
780
  columnNameList(): ColumnNameListContext;
779
781
  columnType(): ColumnTypeContext;
780
782
  lengthOneDimension(): LengthOneDimensionContext;
@@ -828,7 +830,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
828
830
  insertMulStatement(): InsertMulStatementContext;
829
831
  queryStatement(): QueryStatementContext;
830
832
  queryStatement(_p: number): QueryStatementContext;
831
- valuesCaluse(): ValuesCaluseContext;
833
+ valuesClause(): ValuesClauseContext;
832
834
  withClause(): WithClauseContext;
833
835
  withItem(): WithItemContext;
834
836
  withItemName(): WithItemNameContext;
@@ -844,9 +846,9 @@ export declare class FlinkSqlParser extends SQLParserBase {
844
846
  systemTimePeriod(): SystemTimePeriodContext;
845
847
  dateTimeExpression(): DateTimeExpressionContext;
846
848
  inlineDataValueClause(): InlineDataValueClauseContext;
847
- windoTVFClause(): WindoTVFClauseContext;
848
- windowTVFExression(): WindowTVFExressionContext;
849
- windoTVFName(): WindoTVFNameContext;
849
+ windowTVFClause(): WindowTVFClauseContext;
850
+ windowTVFExpression(): WindowTVFExpressionContext;
851
+ windowTVFName(): WindowTVFNameContext;
850
852
  windowTVFParam(): WindowTVFParamContext;
851
853
  timeIntervalParamName(): TimeIntervalParamNameContext;
852
854
  columnDescriptor(): ColumnDescriptorContext;
@@ -855,7 +857,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
855
857
  groupByClause(): GroupByClauseContext;
856
858
  groupItemDefinition(): GroupItemDefinitionContext;
857
859
  groupingSets(): GroupingSetsContext;
858
- groupingSetsNotaionName(): GroupingSetsNotaionNameContext;
860
+ groupingSetsNotationName(): GroupingSetsNotationNameContext;
859
861
  groupWindowFunction(): GroupWindowFunctionContext;
860
862
  groupWindowFunctionName(): GroupWindowFunctionNameContext;
861
863
  timeAttrColumn(): TimeAttrColumnContext;
@@ -864,17 +866,17 @@ export declare class FlinkSqlParser extends SQLParserBase {
864
866
  namedWindow(): NamedWindowContext;
865
867
  windowSpec(): WindowSpecContext;
866
868
  matchRecognizeClause(): MatchRecognizeClauseContext;
867
- orderByCaluse(): OrderByCaluseContext;
868
- orderItemDefition(): OrderItemDefitionContext;
869
+ orderByClause(): OrderByClauseContext;
870
+ orderItemDefinition(): OrderItemDefinitionContext;
869
871
  limitClause(): LimitClauseContext;
870
872
  partitionByClause(): PartitionByClauseContext;
871
873
  quantifiers(): QuantifiersContext;
872
874
  measuresClause(): MeasuresClauseContext;
873
- patternDefination(): PatternDefinationContext;
875
+ patternDefinition(): PatternDefinitionContext;
874
876
  patternVariable(): PatternVariableContext;
875
877
  outputMode(): OutputModeContext;
876
878
  afterMatchStrategy(): AfterMatchStrategyContext;
877
- patternVariablesDefination(): PatternVariablesDefinationContext;
879
+ patternVariablesDefinition(): PatternVariablesDefinitionContext;
878
880
  windowFrame(): WindowFrameContext;
879
881
  frameBound(): FrameBoundContext;
880
882
  withinClause(): WithinClauseContext;
@@ -986,12 +988,12 @@ export declare class SqlStatementContext extends antlr.ParserRuleContext {
986
988
  describeStatement(): DescribeStatementContext | null;
987
989
  explainStatement(): ExplainStatementContext | null;
988
990
  useStatement(): UseStatementContext | null;
989
- showStatememt(): ShowStatememtContext | null;
991
+ showStatement(): ShowStatementContext | null;
990
992
  loadStatement(): LoadStatementContext | null;
991
- unloadStatememt(): UnloadStatememtContext | null;
992
- setStatememt(): SetStatememtContext | null;
993
- resetStatememt(): ResetStatememtContext | null;
994
- jarStatememt(): JarStatememtContext | null;
993
+ unloadStatement(): UnloadStatementContext | null;
994
+ setStatement(): SetStatementContext | null;
995
+ resetStatement(): ResetStatementContext | null;
996
+ jarStatement(): JarStatementContext | null;
995
997
  dtAddStatement(): DtAddStatementContext | null;
996
998
  get ruleIndex(): number;
997
999
  enterRule(listener: FlinkSqlParserListener): void;
@@ -1106,7 +1108,7 @@ export declare class UseModuleStatementContext extends antlr.ParserRuleContext {
1106
1108
  exitRule(listener: FlinkSqlParserListener): void;
1107
1109
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1108
1110
  }
1109
- export declare class ShowStatememtContext extends antlr.ParserRuleContext {
1111
+ export declare class ShowStatementContext extends antlr.ParserRuleContext {
1110
1112
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1111
1113
  KW_SHOW(): antlr.TerminalNode;
1112
1114
  KW_CATALOGS(): antlr.TerminalNode | null;
@@ -1148,7 +1150,7 @@ export declare class LoadStatementContext extends antlr.ParserRuleContext {
1148
1150
  exitRule(listener: FlinkSqlParserListener): void;
1149
1151
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1150
1152
  }
1151
- export declare class UnloadStatememtContext extends antlr.ParserRuleContext {
1153
+ export declare class UnloadStatementContext extends antlr.ParserRuleContext {
1152
1154
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1153
1155
  KW_UNLOAD(): antlr.TerminalNode;
1154
1156
  KW_MODULE(): antlr.TerminalNode;
@@ -1158,7 +1160,7 @@ export declare class UnloadStatememtContext extends antlr.ParserRuleContext {
1158
1160
  exitRule(listener: FlinkSqlParserListener): void;
1159
1161
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1160
1162
  }
1161
- export declare class SetStatememtContext extends antlr.ParserRuleContext {
1163
+ export declare class SetStatementContext extends antlr.ParserRuleContext {
1162
1164
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1163
1165
  KW_SET(): antlr.TerminalNode;
1164
1166
  tableProperty(): TablePropertyContext | null;
@@ -1167,7 +1169,7 @@ export declare class SetStatememtContext extends antlr.ParserRuleContext {
1167
1169
  exitRule(listener: FlinkSqlParserListener): void;
1168
1170
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1169
1171
  }
1170
- export declare class ResetStatememtContext extends antlr.ParserRuleContext {
1172
+ export declare class ResetStatementContext extends antlr.ParserRuleContext {
1171
1173
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1172
1174
  KW_RESET(): antlr.TerminalNode;
1173
1175
  tablePropertyKey(): TablePropertyKeyContext | null;
@@ -1176,7 +1178,7 @@ export declare class ResetStatememtContext extends antlr.ParserRuleContext {
1176
1178
  exitRule(listener: FlinkSqlParserListener): void;
1177
1179
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1178
1180
  }
1179
- export declare class JarStatememtContext extends antlr.ParserRuleContext {
1181
+ export declare class JarStatementContext extends antlr.ParserRuleContext {
1180
1182
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1181
1183
  KW_JAR(): antlr.TerminalNode;
1182
1184
  jarFileName(): JarFileNameContext;
@@ -1314,6 +1316,14 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
1314
1316
  exitRule(listener: FlinkSqlParserListener): void;
1315
1317
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1316
1318
  }
1319
+ export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
1320
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1321
+ uid(): UidContext;
1322
+ get ruleIndex(): number;
1323
+ enterRule(listener: FlinkSqlParserListener): void;
1324
+ exitRule(listener: FlinkSqlParserListener): void;
1325
+ accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
1326
+ }
1317
1327
  export declare class ColumnNameListContext extends antlr.ParserRuleContext {
1318
1328
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1319
1329
  LR_BRACKET(): antlr.TerminalNode;
@@ -1996,14 +2006,14 @@ export declare class QueryStatementContext extends antlr.ParserRuleContext {
1996
2006
  _operator?: Token | null;
1997
2007
  _right?: QueryStatementContext;
1998
2008
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1999
- valuesCaluse(): ValuesCaluseContext | null;
2009
+ valuesClause(): ValuesClauseContext | null;
2000
2010
  withClause(): WithClauseContext | null;
2001
2011
  queryStatement(): QueryStatementContext[];
2002
2012
  queryStatement(i: number): QueryStatementContext | null;
2003
2013
  LR_BRACKET(): antlr.TerminalNode | null;
2004
2014
  RR_BRACKET(): antlr.TerminalNode | null;
2005
2015
  selectClause(): SelectClauseContext | null;
2006
- orderByCaluse(): OrderByCaluseContext | null;
2016
+ orderByClause(): OrderByClauseContext | null;
2007
2017
  limitClause(): LimitClauseContext | null;
2008
2018
  selectStatement(): SelectStatementContext | null;
2009
2019
  KW_INTERSECT(): antlr.TerminalNode | null;
@@ -2015,7 +2025,7 @@ export declare class QueryStatementContext extends antlr.ParserRuleContext {
2015
2025
  exitRule(listener: FlinkSqlParserListener): void;
2016
2026
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2017
2027
  }
2018
- export declare class ValuesCaluseContext extends antlr.ParserRuleContext {
2028
+ export declare class ValuesClauseContext extends antlr.ParserRuleContext {
2019
2029
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2020
2030
  KW_VALUES(): antlr.TerminalNode;
2021
2031
  expression(): ExpressionContext[];
@@ -2133,7 +2143,7 @@ export declare class TableExpressionContext extends antlr.ParserRuleContext {
2133
2143
  COMMA(): antlr.TerminalNode[];
2134
2144
  COMMA(i: number): antlr.TerminalNode | null;
2135
2145
  inlineDataValueClause(): InlineDataValueClauseContext | null;
2136
- windoTVFClause(): WindoTVFClauseContext | null;
2146
+ windowTVFClause(): WindowTVFClauseContext | null;
2137
2147
  tableExpression(): TableExpressionContext[];
2138
2148
  tableExpression(i: number): TableExpressionContext | null;
2139
2149
  KW_CROSS(): antlr.TerminalNode | null;
@@ -2208,20 +2218,20 @@ export declare class InlineDataValueClauseContext extends antlr.ParserRuleContex
2208
2218
  exitRule(listener: FlinkSqlParserListener): void;
2209
2219
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2210
2220
  }
2211
- export declare class WindoTVFClauseContext extends antlr.ParserRuleContext {
2221
+ export declare class WindowTVFClauseContext extends antlr.ParserRuleContext {
2212
2222
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2213
2223
  KW_TABLE(): antlr.TerminalNode;
2214
2224
  LR_BRACKET(): antlr.TerminalNode;
2215
- windowTVFExression(): WindowTVFExressionContext;
2225
+ windowTVFExpression(): WindowTVFExpressionContext;
2216
2226
  RR_BRACKET(): antlr.TerminalNode;
2217
2227
  get ruleIndex(): number;
2218
2228
  enterRule(listener: FlinkSqlParserListener): void;
2219
2229
  exitRule(listener: FlinkSqlParserListener): void;
2220
2230
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2221
2231
  }
2222
- export declare class WindowTVFExressionContext extends antlr.ParserRuleContext {
2232
+ export declare class WindowTVFExpressionContext extends antlr.ParserRuleContext {
2223
2233
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2224
- windoTVFName(): WindoTVFNameContext;
2234
+ windowTVFName(): WindowTVFNameContext;
2225
2235
  LR_BRACKET(): antlr.TerminalNode;
2226
2236
  windowTVFParam(): WindowTVFParamContext[];
2227
2237
  windowTVFParam(i: number): WindowTVFParamContext | null;
@@ -2233,7 +2243,7 @@ export declare class WindowTVFExressionContext extends antlr.ParserRuleContext {
2233
2243
  exitRule(listener: FlinkSqlParserListener): void;
2234
2244
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2235
2245
  }
2236
- export declare class WindoTVFNameContext extends antlr.ParserRuleContext {
2246
+ export declare class WindowTVFNameContext extends antlr.ParserRuleContext {
2237
2247
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2238
2248
  KW_TUMBLE(): antlr.TerminalNode | null;
2239
2249
  KW_HOP(): antlr.TerminalNode | null;
@@ -2325,7 +2335,7 @@ export declare class GroupItemDefinitionContext extends antlr.ParserRuleContext
2325
2335
  expression(i: number): ExpressionContext | null;
2326
2336
  COMMA(): antlr.TerminalNode[];
2327
2337
  COMMA(i: number): antlr.TerminalNode | null;
2328
- groupingSetsNotaionName(): GroupingSetsNotaionNameContext | null;
2338
+ groupingSetsNotationName(): GroupingSetsNotationNameContext | null;
2329
2339
  groupingSets(): GroupingSetsContext | null;
2330
2340
  groupItemDefinition(): GroupItemDefinitionContext[];
2331
2341
  groupItemDefinition(i: number): GroupItemDefinitionContext | null;
@@ -2343,7 +2353,7 @@ export declare class GroupingSetsContext extends antlr.ParserRuleContext {
2343
2353
  exitRule(listener: FlinkSqlParserListener): void;
2344
2354
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2345
2355
  }
2346
- export declare class GroupingSetsNotaionNameContext extends antlr.ParserRuleContext {
2356
+ export declare class GroupingSetsNotationNameContext extends antlr.ParserRuleContext {
2347
2357
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2348
2358
  KW_CUBE(): antlr.TerminalNode | null;
2349
2359
  KW_ROLLUP(): antlr.TerminalNode | null;
@@ -2421,7 +2431,7 @@ export declare class WindowSpecContext extends antlr.ParserRuleContext {
2421
2431
  LR_BRACKET(): antlr.TerminalNode;
2422
2432
  RR_BRACKET(): antlr.TerminalNode;
2423
2433
  partitionByClause(): PartitionByClauseContext | null;
2424
- orderByCaluse(): OrderByCaluseContext | null;
2434
+ orderByClause(): OrderByClauseContext | null;
2425
2435
  windowFrame(): WindowFrameContext | null;
2426
2436
  errorCapturingIdentifier(): ErrorCapturingIdentifierContext | null;
2427
2437
  get ruleIndex(): number;
@@ -2433,14 +2443,14 @@ export declare class MatchRecognizeClauseContext extends antlr.ParserRuleContext
2433
2443
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2434
2444
  KW_MATCH_RECOGNIZE(): antlr.TerminalNode;
2435
2445
  LR_BRACKET(): antlr.TerminalNode;
2436
- patternVariablesDefination(): PatternVariablesDefinationContext;
2446
+ patternVariablesDefinition(): PatternVariablesDefinitionContext;
2437
2447
  RR_BRACKET(): antlr.TerminalNode;
2438
2448
  partitionByClause(): PartitionByClauseContext | null;
2439
- orderByCaluse(): OrderByCaluseContext | null;
2449
+ orderByClause(): OrderByClauseContext | null;
2440
2450
  measuresClause(): MeasuresClauseContext | null;
2441
2451
  outputMode(): OutputModeContext | null;
2442
2452
  afterMatchStrategy(): AfterMatchStrategyContext | null;
2443
- patternDefination(): PatternDefinationContext | null;
2453
+ patternDefinition(): PatternDefinitionContext | null;
2444
2454
  identifier(): IdentifierContext | null;
2445
2455
  KW_AS(): antlr.TerminalNode | null;
2446
2456
  get ruleIndex(): number;
@@ -2448,12 +2458,12 @@ export declare class MatchRecognizeClauseContext extends antlr.ParserRuleContext
2448
2458
  exitRule(listener: FlinkSqlParserListener): void;
2449
2459
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2450
2460
  }
2451
- export declare class OrderByCaluseContext extends antlr.ParserRuleContext {
2461
+ export declare class OrderByClauseContext extends antlr.ParserRuleContext {
2452
2462
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2453
2463
  KW_ORDER(): antlr.TerminalNode;
2454
2464
  KW_BY(): antlr.TerminalNode;
2455
- orderItemDefition(): OrderItemDefitionContext[];
2456
- orderItemDefition(i: number): OrderItemDefitionContext | null;
2465
+ orderItemDefinition(): OrderItemDefinitionContext[];
2466
+ orderItemDefinition(i: number): OrderItemDefinitionContext | null;
2457
2467
  COMMA(): antlr.TerminalNode[];
2458
2468
  COMMA(i: number): antlr.TerminalNode | null;
2459
2469
  get ruleIndex(): number;
@@ -2461,7 +2471,7 @@ export declare class OrderByCaluseContext extends antlr.ParserRuleContext {
2461
2471
  exitRule(listener: FlinkSqlParserListener): void;
2462
2472
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2463
2473
  }
2464
- export declare class OrderItemDefitionContext extends antlr.ParserRuleContext {
2474
+ export declare class OrderItemDefinitionContext extends antlr.ParserRuleContext {
2465
2475
  _ordering?: Token | null;
2466
2476
  _nullOrder?: Token | null;
2467
2477
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
@@ -2529,7 +2539,7 @@ export declare class MeasuresClauseContext extends antlr.ParserRuleContext {
2529
2539
  exitRule(listener: FlinkSqlParserListener): void;
2530
2540
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2531
2541
  }
2532
- export declare class PatternDefinationContext extends antlr.ParserRuleContext {
2542
+ export declare class PatternDefinitionContext extends antlr.ParserRuleContext {
2533
2543
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2534
2544
  KW_PATTERN(): antlr.TerminalNode;
2535
2545
  LR_BRACKET(): antlr.TerminalNode;
@@ -2581,7 +2591,7 @@ export declare class AfterMatchStrategyContext extends antlr.ParserRuleContext {
2581
2591
  exitRule(listener: FlinkSqlParserListener): void;
2582
2592
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
2583
2593
  }
2584
- export declare class PatternVariablesDefinationContext extends antlr.ParserRuleContext {
2594
+ export declare class PatternVariablesDefinitionContext extends antlr.ParserRuleContext {
2585
2595
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2586
2596
  KW_DEFINE(): antlr.TerminalNode;
2587
2597
  projectItemDefinition(): ProjectItemDefinitionContext[];
@@ -2792,10 +2802,10 @@ export declare class ArithmeticBinaryContext extends ValueExpressionContext {
2792
2802
  valueExpression(i: number): ValueExpressionContext | null;
2793
2803
  ASTERISK_SIGN(): antlr.TerminalNode | null;
2794
2804
  SLASH_SIGN(): antlr.TerminalNode | null;
2795
- PENCENT_SIGN(): antlr.TerminalNode | null;
2805
+ PERCENT_SIGN(): antlr.TerminalNode | null;
2796
2806
  KW_DIV(): antlr.TerminalNode | null;
2797
2807
  ADD_SIGN(): antlr.TerminalNode | null;
2798
- HYPNEN_SIGN(): antlr.TerminalNode | null;
2808
+ HYPHEN_SIGN(): antlr.TerminalNode | null;
2799
2809
  DOUBLE_VERTICAL_SIGN(): antlr.TerminalNode | null;
2800
2810
  BIT_AND_OP(): antlr.TerminalNode | null;
2801
2811
  BIT_XOR_OP(): antlr.TerminalNode | null;
@@ -2808,7 +2818,7 @@ export declare class ArithmeticUnaryContext extends ValueExpressionContext {
2808
2818
  _operator?: Token | null;
2809
2819
  constructor(ctx: ValueExpressionContext);
2810
2820
  valueExpression(): ValueExpressionContext;
2811
- HYPNEN_SIGN(): antlr.TerminalNode | null;
2821
+ HYPHEN_SIGN(): antlr.TerminalNode | null;
2812
2822
  ADD_SIGN(): antlr.TerminalNode | null;
2813
2823
  BIT_NOT_OP(): antlr.TerminalNode | null;
2814
2824
  enterRule(listener: FlinkSqlParserListener): void;
@@ -2861,7 +2871,7 @@ export declare class SimpleCaseContext extends PrimaryExpressionContext {
2861
2871
  }
2862
2872
  export declare class ColumnReferenceContext extends PrimaryExpressionContext {
2863
2873
  constructor(ctx: PrimaryExpressionContext);
2864
- identifier(): IdentifierContext;
2874
+ columnNamePath(): ColumnNamePathContext;
2865
2875
  enterRule(listener: FlinkSqlParserListener): void;
2866
2876
  exitRule(listener: FlinkSqlParserListener): void;
2867
2877
  accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
@@ -3118,7 +3128,7 @@ export declare class IntervalValueContext extends antlr.ParserRuleContext {
3118
3128
  DIG_LITERAL(): antlr.TerminalNode | null;
3119
3129
  REAL_LITERAL(): antlr.TerminalNode | null;
3120
3130
  ADD_SIGN(): antlr.TerminalNode | null;
3121
- HYPNEN_SIGN(): antlr.TerminalNode | null;
3131
+ HYPHEN_SIGN(): antlr.TerminalNode | null;
3122
3132
  STRING_LITERAL(): antlr.TerminalNode | null;
3123
3133
  get ruleIndex(): number;
3124
3134
  enterRule(listener: FlinkSqlParserListener): void;
@@ -3450,11 +3460,11 @@ export declare class MathOperatorContext extends antlr.ParserRuleContext {
3450
3460
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3451
3461
  ASTERISK_SIGN(): antlr.TerminalNode | null;
3452
3462
  SLASH_SIGN(): antlr.TerminalNode | null;
3453
- PENCENT_SIGN(): antlr.TerminalNode | null;
3463
+ PERCENT_SIGN(): antlr.TerminalNode | null;
3454
3464
  KW_DIV(): antlr.TerminalNode | null;
3455
3465
  ADD_SIGN(): antlr.TerminalNode | null;
3456
- HYPNEN_SIGN(): antlr.TerminalNode | null;
3457
- DOUBLE_HYPNEN_SIGN(): antlr.TerminalNode | null;
3466
+ HYPHEN_SIGN(): antlr.TerminalNode | null;
3467
+ DOUBLE_HYPHEN_SIGN(): antlr.TerminalNode | null;
3458
3468
  get ruleIndex(): number;
3459
3469
  enterRule(listener: FlinkSqlParserListener): void;
3460
3470
  exitRule(listener: FlinkSqlParserListener): void;
@@ -3465,7 +3475,7 @@ export declare class UnaryOperatorContext extends antlr.ParserRuleContext {
3465
3475
  EXCLAMATION_SYMBOL(): antlr.TerminalNode | null;
3466
3476
  BIT_NOT_OP(): antlr.TerminalNode | null;
3467
3477
  ADD_SIGN(): antlr.TerminalNode | null;
3468
- HYPNEN_SIGN(): antlr.TerminalNode | null;
3478
+ HYPHEN_SIGN(): antlr.TerminalNode | null;
3469
3479
  KW_NOT(): antlr.TerminalNode | null;
3470
3480
  get ruleIndex(): number;
3471
3481
  enterRule(listener: FlinkSqlParserListener): void;
@@ -3478,7 +3488,7 @@ export declare class ConstantContext extends antlr.ParserRuleContext {
3478
3488
  timePointLiteral(): TimePointLiteralContext | null;
3479
3489
  stringLiteral(): StringLiteralContext | null;
3480
3490
  decimalLiteral(): DecimalLiteralContext | null;
3481
- HYPNEN_SIGN(): antlr.TerminalNode | null;
3491
+ HYPHEN_SIGN(): antlr.TerminalNode | null;
3482
3492
  booleanLiteral(): BooleanLiteralContext | null;
3483
3493
  REAL_LITERAL(): antlr.TerminalNode | null;
3484
3494
  BIT_STRING(): antlr.TerminalNode | null;