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
@@ -446,7 +446,7 @@ export declare class HiveSqlParser extends SQLParserBase {
446
446
  static readonly RULE_statement = 1;
447
447
  static readonly RULE_explainStatement = 2;
448
448
  static readonly RULE_explainOption = 3;
449
- static readonly RULE_vectorizatonDetail = 4;
449
+ static readonly RULE_vectorizationDetail = 4;
450
450
  static readonly RULE_execStatement = 5;
451
451
  static readonly RULE_loadStatement = 6;
452
452
  static readonly RULE_replicationClause = 7;
@@ -502,7 +502,7 @@ export declare class HiveSqlParser extends SQLParserBase {
502
502
  static readonly RULE_privObject = 57;
503
503
  static readonly RULE_privObjectCols = 58;
504
504
  static readonly RULE_privilegeList = 59;
505
- static readonly RULE_privlegeDef = 60;
505
+ static readonly RULE_privilegeDef = 60;
506
506
  static readonly RULE_privilegeType = 61;
507
507
  static readonly RULE_principalSpecification = 62;
508
508
  static readonly RULE_principalName = 63;
@@ -571,223 +571,225 @@ export declare class HiveSqlParser extends SQLParserBase {
571
571
  static readonly RULE_columnNameColonTypeList = 126;
572
572
  static readonly RULE_columnNameList = 127;
573
573
  static readonly RULE_columnName = 128;
574
- static readonly RULE_columnNameCreate = 129;
575
- static readonly RULE_extColumnName = 130;
576
- static readonly RULE_columnNameOrderList = 131;
577
- static readonly RULE_columnParenthesesList = 132;
578
- static readonly RULE_enableValidateSpecification = 133;
579
- static readonly RULE_enableSpecification = 134;
580
- static readonly RULE_validateSpecification = 135;
581
- static readonly RULE_enforcedSpecification = 136;
582
- static readonly RULE_relySpecification = 137;
583
- static readonly RULE_createConstraint = 138;
584
- static readonly RULE_alterConstraintWithName = 139;
585
- static readonly RULE_tableLevelConstraint = 140;
586
- static readonly RULE_pkUkConstraint = 141;
587
- static readonly RULE_checkConstraint = 142;
588
- static readonly RULE_createForeignKey = 143;
589
- static readonly RULE_alterForeignKeyWithName = 144;
590
- static readonly RULE_skewedValueElement = 145;
591
- static readonly RULE_skewedColumnValuePairList = 146;
592
- static readonly RULE_skewedColumnValuePair = 147;
593
- static readonly RULE_constantList = 148;
594
- static readonly RULE_orderSpecification = 149;
595
- static readonly RULE_nullOrdering = 150;
596
- static readonly RULE_columnNameOrder = 151;
597
- static readonly RULE_columnNameCommentList = 152;
598
- static readonly RULE_columnNameComment = 153;
599
- static readonly RULE_columnRefOrder = 154;
600
- static readonly RULE_columnNameType = 155;
601
- static readonly RULE_columnNameTypeOrConstraint = 156;
602
- static readonly RULE_tableConstraint = 157;
603
- static readonly RULE_columnNameTypeConstraint = 158;
604
- static readonly RULE_columnConstraint = 159;
605
- static readonly RULE_foreignKeyConstraint = 160;
606
- static readonly RULE_colConstraint = 161;
607
- static readonly RULE_alterColumnConstraint = 162;
608
- static readonly RULE_alterForeignKeyConstraint = 163;
609
- static readonly RULE_alterColConstraint = 164;
610
- static readonly RULE_columnConstraintType = 165;
611
- static readonly RULE_defaultVal = 166;
612
- static readonly RULE_tableConstraintType = 167;
613
- static readonly RULE_constraintOptsCreate = 168;
614
- static readonly RULE_constraintOptsAlter = 169;
615
- static readonly RULE_columnNameColonType = 170;
616
- static readonly RULE_columnType = 171;
617
- static readonly RULE_columnTypeList = 172;
618
- static readonly RULE_type = 173;
619
- static readonly RULE_primitiveType = 174;
620
- static readonly RULE_listType = 175;
621
- static readonly RULE_structType = 176;
622
- static readonly RULE_mapType = 177;
623
- static readonly RULE_unionType = 178;
624
- static readonly RULE_setOperator = 179;
625
- static readonly RULE_queryStatementExpression = 180;
626
- static readonly RULE_queryStatementExpressionBody = 181;
627
- static readonly RULE_withClause = 182;
628
- static readonly RULE_cteStatement = 183;
629
- static readonly RULE_fromStatement = 184;
630
- static readonly RULE_singleFromStatement = 185;
631
- static readonly RULE_regularBody = 186;
632
- static readonly RULE_atomSelectStatement = 187;
633
- static readonly RULE_selectStatement = 188;
634
- static readonly RULE_setOpSelectStatement = 189;
635
- static readonly RULE_selectStatementWithCTE = 190;
636
- static readonly RULE_insertClause = 191;
637
- static readonly RULE_destination = 192;
638
- static readonly RULE_limitClause = 193;
639
- static readonly RULE_columnAssignmentClause = 194;
640
- static readonly RULE_precedencePlusExpressionOrDefault = 195;
641
- static readonly RULE_setColumnsClause = 196;
642
- static readonly RULE_sqlTransactionStatement = 197;
643
- static readonly RULE_transactionMode = 198;
644
- static readonly RULE_whenClauses = 199;
645
- static readonly RULE_whenNotMatchedClause = 200;
646
- static readonly RULE_whenMatchedAndClause = 201;
647
- static readonly RULE_whenMatchedThenClause = 202;
648
- static readonly RULE_compactionPool = 203;
649
- static readonly RULE_compactionType = 204;
650
- static readonly RULE_compactionStatus = 205;
651
- static readonly RULE_alterStatement = 206;
652
- static readonly RULE_alterTableStatementSuffix = 207;
653
- static readonly RULE_alterTblPartitionStatementSuffix = 208;
654
- static readonly RULE_alterViewStatementSuffix = 209;
655
- static readonly RULE_alterDatabaseStatementSuffix = 210;
656
- static readonly RULE_alterDataConnectorStatementSuffix = 211;
657
- static readonly RULE_locationPath = 212;
658
- static readonly RULE_alterStatementSuffixDropPartitions = 213;
659
- static readonly RULE_skewedLocationMap = 214;
660
- static readonly RULE_alterStatementSuffixExecute = 215;
661
- static readonly RULE_fileFormat = 216;
662
- static readonly RULE_likeTableOrFile = 217;
663
- static readonly RULE_createTableStatement = 218;
664
- static readonly RULE_createDataConnectorStatement = 219;
665
- static readonly RULE_dropDataConnectorStatement = 220;
666
- static readonly RULE_tableAllColumns = 221;
667
- static readonly RULE_expressionList = 222;
668
- static readonly RULE_aliasList = 223;
669
- static readonly RULE_fromClause = 224;
670
- static readonly RULE_fromSource = 225;
671
- static readonly RULE_atomjoinSource = 226;
672
- static readonly RULE_joinSource = 227;
673
- static readonly RULE_joinSourcePart = 228;
674
- static readonly RULE_uniqueJoinSource = 229;
675
- static readonly RULE_joinToken = 230;
676
- static readonly RULE_lateralView = 231;
677
- static readonly RULE_tableAlias = 232;
678
- static readonly RULE_tableSample = 233;
679
- static readonly RULE_tableSource = 234;
680
- static readonly RULE_asOfClause = 235;
681
- static readonly RULE_dbSchemaName = 236;
682
- static readonly RULE_dbSchemaNameCreate = 237;
683
- static readonly RULE_tableOrView = 238;
684
- static readonly RULE_tableName = 239;
685
- static readonly RULE_tableNameCreate = 240;
686
- static readonly RULE_viewName = 241;
687
- static readonly RULE_viewNameCreate = 242;
688
- static readonly RULE_subQuerySource = 243;
689
- static readonly RULE_partitioningSpec = 244;
690
- static readonly RULE_partitionTableFunctionSource = 245;
691
- static readonly RULE_partitionedTableFunction = 246;
692
- static readonly RULE_whereClause = 247;
693
- static readonly RULE_valuesClause = 248;
694
- static readonly RULE_virtualTableSource = 249;
695
- static readonly RULE_selectClause = 250;
696
- static readonly RULE_selectTrfmClause = 251;
697
- static readonly RULE_selectItem = 252;
698
- static readonly RULE_trfmClause = 253;
699
- static readonly RULE_selectExpression = 254;
700
- static readonly RULE_selectExpressionList = 255;
701
- static readonly RULE_window_clause = 256;
702
- static readonly RULE_window_specification = 257;
703
- static readonly RULE_window_frame = 258;
704
- static readonly RULE_window_frame_boundary = 259;
705
- static readonly RULE_groupByClause = 260;
706
- static readonly RULE_rollupStandard = 261;
707
- static readonly RULE_rollupOldSyntax = 262;
708
- static readonly RULE_groupingSetExpression = 263;
709
- static readonly RULE_havingClause = 264;
710
- static readonly RULE_qualifyClause = 265;
711
- static readonly RULE_expressionOrDefault = 266;
712
- static readonly RULE_firstExpressionsWithAlias = 267;
713
- static readonly RULE_expressions = 268;
714
- static readonly RULE_expressionsInParenthesis = 269;
715
- static readonly RULE_expressionsNotInParenthesis = 270;
716
- static readonly RULE_orderByClause = 271;
717
- static readonly RULE_clusterByClause = 272;
718
- static readonly RULE_distributeByClause = 273;
719
- static readonly RULE_sortByClause = 274;
720
- static readonly RULE_function_ = 275;
721
- static readonly RULE_null_treatment = 276;
722
- static readonly RULE_functionNameCreate = 277;
723
- static readonly RULE_functionNameForDDL = 278;
724
- static readonly RULE_functionNameForInvoke = 279;
725
- static readonly RULE_castExpression = 280;
726
- static readonly RULE_caseExpression = 281;
727
- static readonly RULE_whenExpression = 282;
728
- static readonly RULE_floorExpression = 283;
729
- static readonly RULE_extractExpression = 284;
730
- static readonly RULE_timeQualifiers = 285;
731
- static readonly RULE_constant = 286;
732
- static readonly RULE_intervalValue = 287;
733
- static readonly RULE_intervalExpression = 288;
734
- static readonly RULE_intervalQualifiers = 289;
735
- static readonly RULE_expression = 290;
736
- static readonly RULE_atomExpression = 291;
737
- static readonly RULE_precedenceUnaryPrefixExpression = 292;
738
- static readonly RULE_precedenceBitwiseXorExpression = 293;
739
- static readonly RULE_precedenceStarExpression = 294;
740
- static readonly RULE_precedencePlusExpression = 295;
741
- static readonly RULE_precedenceConcatenateExpression = 296;
742
- static readonly RULE_precedenceAmpersandExpression = 297;
743
- static readonly RULE_precedenceBitwiseOrExpression = 298;
744
- static readonly RULE_precedenceSimilarOperator = 299;
745
- static readonly RULE_subQueryExpression = 300;
746
- static readonly RULE_precedenceSimilarExpression = 301;
747
- static readonly RULE_precedenceSimilarExpressionPart = 302;
748
- static readonly RULE_precedenceSimilarExpressionAtom = 303;
749
- static readonly RULE_precedenceSimilarExpressionIn = 304;
750
- static readonly RULE_precedenceSimilarExpressionPartNot = 305;
751
- static readonly RULE_precedenceDistinctOperator = 306;
752
- static readonly RULE_precedenceEqualOperator = 307;
753
- static readonly RULE_precedenceEqualExpression = 308;
754
- static readonly RULE_isCondition = 309;
755
- static readonly RULE_precedenceNotExpression = 310;
756
- static readonly RULE_precedenceAndExpression = 311;
757
- static readonly RULE_tableOrPartition = 312;
758
- static readonly RULE_partitionSpec = 313;
759
- static readonly RULE_partitionVal = 314;
760
- static readonly RULE_partitionSelectorSpec = 315;
761
- static readonly RULE_partitionSelectorVal = 316;
762
- static readonly RULE_subQuerySelectorOperator = 317;
763
- static readonly RULE_sysFuncNames = 318;
764
- static readonly RULE_id_ = 319;
765
- static readonly RULE_functionIdentifier = 320;
766
- static readonly RULE_principalIdentifier = 321;
767
- static readonly RULE_nonReserved = 322;
768
- static readonly RULE_sql11ReservedKeywordsUsedAsFunctionName = 323;
769
- static readonly RULE_configPropertiesItem = 324;
770
- static readonly RULE_resourcePlanDdlStatements = 325;
771
- static readonly RULE_mappingTypes = 326;
772
- static readonly RULE_rpAssign = 327;
773
- static readonly RULE_rpAssignList = 328;
774
- static readonly RULE_rpUnassign = 329;
775
- static readonly RULE_activate = 330;
776
- static readonly RULE_enable = 331;
777
- static readonly RULE_disable = 332;
778
- static readonly RULE_year = 333;
779
- static readonly RULE_month = 334;
780
- static readonly RULE_week = 335;
781
- static readonly RULE_day = 336;
782
- static readonly RULE_hour = 337;
783
- static readonly RULE_minute = 338;
784
- static readonly RULE_second = 339;
785
- static readonly RULE_decimal = 340;
786
- static readonly RULE_poolPath = 341;
787
- static readonly RULE_triggerAtomExpression = 342;
788
- static readonly RULE_triggerActionExpression = 343;
789
- static readonly RULE_poolAssign = 344;
790
- static readonly RULE_poolAssignList = 345;
574
+ static readonly RULE_columnNamePath = 129;
575
+ static readonly RULE_columnNameCreate = 130;
576
+ static readonly RULE_extColumnName = 131;
577
+ static readonly RULE_columnNameOrderList = 132;
578
+ static readonly RULE_columnParenthesesList = 133;
579
+ static readonly RULE_enableValidateSpecification = 134;
580
+ static readonly RULE_enableSpecification = 135;
581
+ static readonly RULE_validateSpecification = 136;
582
+ static readonly RULE_enforcedSpecification = 137;
583
+ static readonly RULE_relySpecification = 138;
584
+ static readonly RULE_createConstraint = 139;
585
+ static readonly RULE_alterConstraintWithName = 140;
586
+ static readonly RULE_tableLevelConstraint = 141;
587
+ static readonly RULE_pkUkConstraint = 142;
588
+ static readonly RULE_checkConstraint = 143;
589
+ static readonly RULE_createForeignKey = 144;
590
+ static readonly RULE_alterForeignKeyWithName = 145;
591
+ static readonly RULE_skewedValueElement = 146;
592
+ static readonly RULE_skewedColumnValuePairList = 147;
593
+ static readonly RULE_skewedColumnValuePair = 148;
594
+ static readonly RULE_constantList = 149;
595
+ static readonly RULE_orderSpecification = 150;
596
+ static readonly RULE_nullOrdering = 151;
597
+ static readonly RULE_columnNameOrder = 152;
598
+ static readonly RULE_columnNameCommentList = 153;
599
+ static readonly RULE_columnNameComment = 154;
600
+ static readonly RULE_columnRefOrder = 155;
601
+ static readonly RULE_columnNameType = 156;
602
+ static readonly RULE_columnNameTypeOrConstraint = 157;
603
+ static readonly RULE_tableConstraint = 158;
604
+ static readonly RULE_columnNameTypeConstraint = 159;
605
+ static readonly RULE_columnConstraint = 160;
606
+ static readonly RULE_foreignKeyConstraint = 161;
607
+ static readonly RULE_colConstraint = 162;
608
+ static readonly RULE_alterColumnConstraint = 163;
609
+ static readonly RULE_alterForeignKeyConstraint = 164;
610
+ static readonly RULE_alterColConstraint = 165;
611
+ static readonly RULE_columnConstraintType = 166;
612
+ static readonly RULE_defaultVal = 167;
613
+ static readonly RULE_tableConstraintType = 168;
614
+ static readonly RULE_constraintOptsCreate = 169;
615
+ static readonly RULE_constraintOptsAlter = 170;
616
+ static readonly RULE_columnNameColonType = 171;
617
+ static readonly RULE_columnType = 172;
618
+ static readonly RULE_columnTypeList = 173;
619
+ static readonly RULE_type = 174;
620
+ static readonly RULE_primitiveType = 175;
621
+ static readonly RULE_listType = 176;
622
+ static readonly RULE_structType = 177;
623
+ static readonly RULE_mapType = 178;
624
+ static readonly RULE_unionType = 179;
625
+ static readonly RULE_setOperator = 180;
626
+ static readonly RULE_queryStatementExpression = 181;
627
+ static readonly RULE_queryStatementExpressionBody = 182;
628
+ static readonly RULE_withClause = 183;
629
+ static readonly RULE_cteStatement = 184;
630
+ static readonly RULE_fromStatement = 185;
631
+ static readonly RULE_singleFromStatement = 186;
632
+ static readonly RULE_regularBody = 187;
633
+ static readonly RULE_atomSelectStatement = 188;
634
+ static readonly RULE_selectStatement = 189;
635
+ static readonly RULE_setOpSelectStatement = 190;
636
+ static readonly RULE_selectStatementWithCTE = 191;
637
+ static readonly RULE_insertClause = 192;
638
+ static readonly RULE_destination = 193;
639
+ static readonly RULE_limitClause = 194;
640
+ static readonly RULE_columnAssignmentClause = 195;
641
+ static readonly RULE_precedencePlusExpressionOrDefault = 196;
642
+ static readonly RULE_setColumnsClause = 197;
643
+ static readonly RULE_sqlTransactionStatement = 198;
644
+ static readonly RULE_transactionMode = 199;
645
+ static readonly RULE_whenClauses = 200;
646
+ static readonly RULE_whenNotMatchedClause = 201;
647
+ static readonly RULE_whenMatchedAndClause = 202;
648
+ static readonly RULE_whenMatchedThenClause = 203;
649
+ static readonly RULE_compactionPool = 204;
650
+ static readonly RULE_compactionType = 205;
651
+ static readonly RULE_compactionStatus = 206;
652
+ static readonly RULE_alterStatement = 207;
653
+ static readonly RULE_alterTableStatementSuffix = 208;
654
+ static readonly RULE_alterTblPartitionStatementSuffix = 209;
655
+ static readonly RULE_alterViewStatementSuffix = 210;
656
+ static readonly RULE_alterDatabaseStatementSuffix = 211;
657
+ static readonly RULE_alterDataConnectorStatementSuffix = 212;
658
+ static readonly RULE_locationPath = 213;
659
+ static readonly RULE_alterStatementSuffixDropPartitions = 214;
660
+ static readonly RULE_skewedLocationMap = 215;
661
+ static readonly RULE_alterStatementSuffixExecute = 216;
662
+ static readonly RULE_fileFormat = 217;
663
+ static readonly RULE_likeTableOrFile = 218;
664
+ static readonly RULE_createTableStatement = 219;
665
+ static readonly RULE_createDataConnectorStatement = 220;
666
+ static readonly RULE_dropDataConnectorStatement = 221;
667
+ static readonly RULE_tableAllColumns = 222;
668
+ static readonly RULE_expressionList = 223;
669
+ static readonly RULE_aliasList = 224;
670
+ static readonly RULE_fromClause = 225;
671
+ static readonly RULE_fromSource = 226;
672
+ static readonly RULE_atomjoinSource = 227;
673
+ static readonly RULE_joinSource = 228;
674
+ static readonly RULE_joinSourcePart = 229;
675
+ static readonly RULE_uniqueJoinSource = 230;
676
+ static readonly RULE_joinToken = 231;
677
+ static readonly RULE_lateralView = 232;
678
+ static readonly RULE_tableAlias = 233;
679
+ static readonly RULE_tableSample = 234;
680
+ static readonly RULE_tableSource = 235;
681
+ static readonly RULE_asOfClause = 236;
682
+ static readonly RULE_dbSchemaName = 237;
683
+ static readonly RULE_dbSchemaNameCreate = 238;
684
+ static readonly RULE_tableOrView = 239;
685
+ static readonly RULE_tableName = 240;
686
+ static readonly RULE_tableNameCreate = 241;
687
+ static readonly RULE_viewName = 242;
688
+ static readonly RULE_viewNameCreate = 243;
689
+ static readonly RULE_subQuerySource = 244;
690
+ static readonly RULE_partitioningSpec = 245;
691
+ static readonly RULE_partitionTableFunctionSource = 246;
692
+ static readonly RULE_partitionedTableFunction = 247;
693
+ static readonly RULE_whereClause = 248;
694
+ static readonly RULE_valuesClause = 249;
695
+ static readonly RULE_virtualTableSource = 250;
696
+ static readonly RULE_selectClause = 251;
697
+ static readonly RULE_selectTrfmClause = 252;
698
+ static readonly RULE_selectItem = 253;
699
+ static readonly RULE_trfmClause = 254;
700
+ static readonly RULE_selectExpression = 255;
701
+ static readonly RULE_selectExpressionList = 256;
702
+ static readonly RULE_window_clause = 257;
703
+ static readonly RULE_window_specification = 258;
704
+ static readonly RULE_window_frame = 259;
705
+ static readonly RULE_window_frame_boundary = 260;
706
+ static readonly RULE_groupByClause = 261;
707
+ static readonly RULE_rollupStandard = 262;
708
+ static readonly RULE_rollupOldSyntax = 263;
709
+ static readonly RULE_groupingSetExpression = 264;
710
+ static readonly RULE_havingClause = 265;
711
+ static readonly RULE_qualifyClause = 266;
712
+ static readonly RULE_expressionOrDefault = 267;
713
+ static readonly RULE_firstExpressionsWithAlias = 268;
714
+ static readonly RULE_expressions = 269;
715
+ static readonly RULE_expressionsInParenthesis = 270;
716
+ static readonly RULE_expressionsNotInParenthesis = 271;
717
+ static readonly RULE_orderByClause = 272;
718
+ static readonly RULE_partitionByClause = 273;
719
+ static readonly RULE_clusterByClause = 274;
720
+ static readonly RULE_distributeByClause = 275;
721
+ static readonly RULE_sortByClause = 276;
722
+ static readonly RULE_function_ = 277;
723
+ static readonly RULE_null_treatment = 278;
724
+ static readonly RULE_functionNameCreate = 279;
725
+ static readonly RULE_functionNameForDDL = 280;
726
+ static readonly RULE_functionNameForInvoke = 281;
727
+ static readonly RULE_castExpression = 282;
728
+ static readonly RULE_caseExpression = 283;
729
+ static readonly RULE_whenExpression = 284;
730
+ static readonly RULE_floorExpression = 285;
731
+ static readonly RULE_extractExpression = 286;
732
+ static readonly RULE_timeQualifiers = 287;
733
+ static readonly RULE_constant = 288;
734
+ static readonly RULE_intervalValue = 289;
735
+ static readonly RULE_intervalExpression = 290;
736
+ static readonly RULE_intervalQualifiers = 291;
737
+ static readonly RULE_expression = 292;
738
+ static readonly RULE_atomExpression = 293;
739
+ static readonly RULE_precedenceUnaryPrefixExpression = 294;
740
+ static readonly RULE_precedenceBitwiseXorExpression = 295;
741
+ static readonly RULE_precedenceStarExpression = 296;
742
+ static readonly RULE_precedencePlusExpression = 297;
743
+ static readonly RULE_precedenceConcatenateExpression = 298;
744
+ static readonly RULE_precedenceAmpersandExpression = 299;
745
+ static readonly RULE_precedenceBitwiseOrExpression = 300;
746
+ static readonly RULE_precedenceSimilarOperator = 301;
747
+ static readonly RULE_subQueryExpression = 302;
748
+ static readonly RULE_precedenceSimilarExpression = 303;
749
+ static readonly RULE_precedenceSimilarExpressionPart = 304;
750
+ static readonly RULE_precedenceSimilarExpressionAtom = 305;
751
+ static readonly RULE_precedenceSimilarExpressionIn = 306;
752
+ static readonly RULE_precedenceSimilarExpressionPartNot = 307;
753
+ static readonly RULE_precedenceDistinctOperator = 308;
754
+ static readonly RULE_precedenceEqualOperator = 309;
755
+ static readonly RULE_precedenceEqualExpression = 310;
756
+ static readonly RULE_isCondition = 311;
757
+ static readonly RULE_precedenceNotExpression = 312;
758
+ static readonly RULE_precedenceAndExpression = 313;
759
+ static readonly RULE_tableOrPartition = 314;
760
+ static readonly RULE_partitionSpec = 315;
761
+ static readonly RULE_partitionVal = 316;
762
+ static readonly RULE_partitionSelectorSpec = 317;
763
+ static readonly RULE_partitionSelectorVal = 318;
764
+ static readonly RULE_subQuerySelectorOperator = 319;
765
+ static readonly RULE_sysFuncNames = 320;
766
+ static readonly RULE_id_ = 321;
767
+ static readonly RULE_functionIdentifier = 322;
768
+ static readonly RULE_principalIdentifier = 323;
769
+ static readonly RULE_nonReserved = 324;
770
+ static readonly RULE_sql11ReservedKeywordsUsedAsFunctionName = 325;
771
+ static readonly RULE_configPropertiesItem = 326;
772
+ static readonly RULE_resourcePlanDdlStatements = 327;
773
+ static readonly RULE_mappingTypes = 328;
774
+ static readonly RULE_rpAssign = 329;
775
+ static readonly RULE_rpAssignList = 330;
776
+ static readonly RULE_rpUnassign = 331;
777
+ static readonly RULE_activate = 332;
778
+ static readonly RULE_enable = 333;
779
+ static readonly RULE_disable = 334;
780
+ static readonly RULE_year = 335;
781
+ static readonly RULE_month = 336;
782
+ static readonly RULE_week = 337;
783
+ static readonly RULE_day = 338;
784
+ static readonly RULE_hour = 339;
785
+ static readonly RULE_minute = 340;
786
+ static readonly RULE_second = 341;
787
+ static readonly RULE_decimal = 342;
788
+ static readonly RULE_poolPath = 343;
789
+ static readonly RULE_triggerAtomExpression = 344;
790
+ static readonly RULE_triggerActionExpression = 345;
791
+ static readonly RULE_poolAssign = 346;
792
+ static readonly RULE_poolAssignList = 347;
791
793
  static readonly literalNames: (string | null)[];
792
794
  static readonly symbolicNames: (string | null)[];
793
795
  static readonly ruleNames: string[];
@@ -802,7 +804,7 @@ export declare class HiveSqlParser extends SQLParserBase {
802
804
  statement(): StatementContext;
803
805
  explainStatement(): ExplainStatementContext;
804
806
  explainOption(): ExplainOptionContext;
805
- vectorizatonDetail(): VectorizatonDetailContext;
807
+ vectorizationDetail(): VectorizationDetailContext;
806
808
  execStatement(): ExecStatementContext;
807
809
  loadStatement(): LoadStatementContext;
808
810
  replicationClause(): ReplicationClauseContext;
@@ -858,7 +860,7 @@ export declare class HiveSqlParser extends SQLParserBase {
858
860
  privObject(): PrivObjectContext;
859
861
  privObjectCols(): PrivObjectColsContext;
860
862
  privilegeList(): PrivilegeListContext;
861
- privlegeDef(): PrivlegeDefContext;
863
+ privilegeDef(): PrivilegeDefContext;
862
864
  privilegeType(): PrivilegeTypeContext;
863
865
  principalSpecification(): PrincipalSpecificationContext;
864
866
  principalName(): PrincipalNameContext;
@@ -927,6 +929,7 @@ export declare class HiveSqlParser extends SQLParserBase {
927
929
  columnNameColonTypeList(): ColumnNameColonTypeListContext;
928
930
  columnNameList(): ColumnNameListContext;
929
931
  columnName(): ColumnNameContext;
932
+ columnNamePath(): ColumnNamePathContext;
930
933
  columnNameCreate(): ColumnNameCreateContext;
931
934
  extColumnName(): ExtColumnNameContext;
932
935
  columnNameOrderList(): ColumnNameOrderListContext;
@@ -1070,6 +1073,7 @@ export declare class HiveSqlParser extends SQLParserBase {
1070
1073
  expressionsInParenthesis(): ExpressionsInParenthesisContext;
1071
1074
  expressionsNotInParenthesis(): ExpressionsNotInParenthesisContext;
1072
1075
  orderByClause(): OrderByClauseContext;
1076
+ partitionByClause(): PartitionByClauseContext;
1073
1077
  clusterByClause(): ClusterByClauseContext;
1074
1078
  distributeByClause(): DistributeByClauseContext;
1075
1079
  sortByClause(): SortByClauseContext;
@@ -1202,7 +1206,7 @@ export declare class ExplainOptionContext extends antlr.ParserRuleContext {
1202
1206
  KW_AST(): antlr.TerminalNode | null;
1203
1207
  KW_VECTORIZATION(): antlr.TerminalNode | null;
1204
1208
  KW_ONLY(): antlr.TerminalNode | null;
1205
- vectorizatonDetail(): VectorizatonDetailContext | null;
1209
+ vectorizationDetail(): VectorizationDetailContext | null;
1206
1210
  KW_DEBUG(): antlr.TerminalNode | null;
1207
1211
  KW_DDL(): antlr.TerminalNode | null;
1208
1212
  get ruleIndex(): number;
@@ -1210,7 +1214,7 @@ export declare class ExplainOptionContext extends antlr.ParserRuleContext {
1210
1214
  exitRule(listener: HiveSqlParserListener): void;
1211
1215
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
1212
1216
  }
1213
- export declare class VectorizatonDetailContext extends antlr.ParserRuleContext {
1217
+ export declare class VectorizationDetailContext extends antlr.ParserRuleContext {
1214
1218
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1215
1219
  KW_SUMMARY(): antlr.TerminalNode | null;
1216
1220
  KW_OPERATOR(): antlr.TerminalNode | null;
@@ -2043,8 +2047,8 @@ export declare class PrivObjectColsContext extends antlr.ParserRuleContext {
2043
2047
  }
2044
2048
  export declare class PrivilegeListContext extends antlr.ParserRuleContext {
2045
2049
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2046
- privlegeDef(): PrivlegeDefContext[];
2047
- privlegeDef(i: number): PrivlegeDefContext | null;
2050
+ privilegeDef(): PrivilegeDefContext[];
2051
+ privilegeDef(i: number): PrivilegeDefContext | null;
2048
2052
  COMMA(): antlr.TerminalNode[];
2049
2053
  COMMA(i: number): antlr.TerminalNode | null;
2050
2054
  get ruleIndex(): number;
@@ -2052,7 +2056,7 @@ export declare class PrivilegeListContext extends antlr.ParserRuleContext {
2052
2056
  exitRule(listener: HiveSqlParserListener): void;
2053
2057
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
2054
2058
  }
2055
- export declare class PrivlegeDefContext extends antlr.ParserRuleContext {
2059
+ export declare class PrivilegeDefContext extends antlr.ParserRuleContext {
2056
2060
  _cols?: ColumnNameListContext;
2057
2061
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2058
2062
  privilegeType(): PrivilegeTypeContext;
@@ -2711,7 +2715,7 @@ export declare class RecordWriterContext extends antlr.ParserRuleContext {
2711
2715
  }
2712
2716
  export declare class RowFormatSerdeContext extends antlr.ParserRuleContext {
2713
2717
  _name?: Token | null;
2714
- _serdeprops?: TablePropertiesContext;
2718
+ _serderops?: TablePropertiesContext;
2715
2719
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2716
2720
  KW_ROW(): antlr.TerminalNode;
2717
2721
  KW_FORMAT(): antlr.TerminalNode;
@@ -2962,6 +2966,14 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
2962
2966
  exitRule(listener: HiveSqlParserListener): void;
2963
2967
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
2964
2968
  }
2969
+ export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
2970
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2971
+ poolPath(): PoolPathContext;
2972
+ get ruleIndex(): number;
2973
+ enterRule(listener: HiveSqlParserListener): void;
2974
+ exitRule(listener: HiveSqlParserListener): void;
2975
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
2976
+ }
2965
2977
  export declare class ColumnNameCreateContext extends antlr.ParserRuleContext {
2966
2978
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2967
2979
  id_(): Id_Context;
@@ -4682,9 +4694,7 @@ export declare class SubQuerySourceContext extends antlr.ParserRuleContext {
4682
4694
  }
4683
4695
  export declare class PartitioningSpecContext extends antlr.ParserRuleContext {
4684
4696
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
4685
- KW_PARTITION(): antlr.TerminalNode | null;
4686
- KW_BY(): antlr.TerminalNode | null;
4687
- expressions(): ExpressionsContext | null;
4697
+ partitionByClause(): PartitionByClauseContext | null;
4688
4698
  orderByClause(): OrderByClauseContext | null;
4689
4699
  distributeByClause(): DistributeByClauseContext | null;
4690
4700
  sortByClause(): SortByClauseContext | null;
@@ -5085,6 +5095,16 @@ export declare class OrderByClauseContext extends antlr.ParserRuleContext {
5085
5095
  exitRule(listener: HiveSqlParserListener): void;
5086
5096
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
5087
5097
  }
5098
+ export declare class PartitionByClauseContext extends antlr.ParserRuleContext {
5099
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5100
+ KW_PARTITION(): antlr.TerminalNode;
5101
+ KW_BY(): antlr.TerminalNode;
5102
+ expressions(): ExpressionsContext;
5103
+ get ruleIndex(): number;
5104
+ enterRule(listener: HiveSqlParserListener): void;
5105
+ exitRule(listener: HiveSqlParserListener): void;
5106
+ accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
5107
+ }
5088
5108
  export declare class ClusterByClauseContext extends antlr.ParserRuleContext {
5089
5109
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5090
5110
  KW_CLUSTER(): antlr.TerminalNode;
@@ -5314,7 +5334,7 @@ export declare class ConstantContext extends antlr.ParserRuleContext {
5314
5334
  KW_FALSE(): antlr.TerminalNode | null;
5315
5335
  KW_NULL(): antlr.TerminalNode | null;
5316
5336
  QUESTION(): antlr.TerminalNode | null;
5317
- Identifier(): antlr.TerminalNode | null;
5337
+ columnNamePath(): ColumnNamePathContext | null;
5318
5338
  get ruleIndex(): number;
5319
5339
  enterRule(listener: HiveSqlParserListener): void;
5320
5340
  exitRule(listener: HiveSqlParserListener): void;