dt-sql-parser 4.5.0-beta.1 → 4.5.0-beta.3

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 (40) hide show
  1. package/dist/lib/SQLParserBase.d.ts +1 -13
  2. package/dist/lib/SQLParserBase.js +5 -40
  3. package/dist/lib/flink/FlinkSqlLexer.d.ts +399 -397
  4. package/dist/lib/flink/FlinkSqlLexer.js +2504 -2489
  5. package/dist/lib/flink/FlinkSqlParser.d.ts +726 -617
  6. package/dist/lib/flink/FlinkSqlParser.js +4861 -3558
  7. package/dist/lib/flink/FlinkSqlParserListener.d.ts +90 -33
  8. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +57 -21
  9. package/dist/lib/hive/HiveSqlParser.d.ts +228 -274
  10. package/dist/lib/hive/HiveSqlParser.js +5912 -6304
  11. package/dist/lib/hive/HiveSqlParserListener.d.ts +0 -33
  12. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +0 -21
  13. package/dist/lib/impala/ImpalaSqlParser.d.ts +103 -145
  14. package/dist/lib/impala/ImpalaSqlParser.js +3320 -3687
  15. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -33
  16. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -21
  17. package/dist/lib/mysql/MySqlParser.d.ts +94 -161
  18. package/dist/lib/mysql/MySqlParser.js +9499 -9959
  19. package/dist/lib/mysql/MySqlParserListener.d.ts +5 -79
  20. package/dist/lib/mysql/MySqlParserVisitor.d.ts +3 -49
  21. package/dist/lib/postgresql/PostgreSqlParser.d.ts +71 -108
  22. package/dist/lib/postgresql/PostgreSqlParser.js +10388 -13330
  23. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +0 -48
  24. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +0 -30
  25. package/dist/lib/spark/SparkSqlParser.d.ts +145 -185
  26. package/dist/lib/spark/SparkSqlParser.js +5109 -5420
  27. package/dist/lib/spark/SparkSqlParserListener.d.ts +0 -33
  28. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +0 -21
  29. package/dist/parser/common/basicSQL.d.ts +17 -5
  30. package/dist/parser/common/basicSQL.js +74 -3
  31. package/dist/parser/common/entityCollector.js +2 -14
  32. package/dist/parser/flink/index.js +2 -5
  33. package/dist/parser/mysql/index.js +1 -3
  34. package/dist/parser/mysql/mysqlEntityCollector.d.ts +1 -2
  35. package/dist/parser/mysql/mysqlEntityCollector.js +3 -13
  36. package/dist/parser/mysql/mysqlErrorListener.js +0 -2
  37. package/dist/parser/postgresql/postgreEntityCollector.d.ts +1 -3
  38. package/dist/parser/postgresql/postgreEntityCollector.js +0 -13
  39. package/dist/parser/spark/index.js +1 -3
  40. package/package.json +1 -1
@@ -572,232 +572,229 @@ export declare class HiveSqlParser extends SQLParserBase {
572
572
  static readonly RULE_columnNameList = 127;
573
573
  static readonly RULE_columnName = 128;
574
574
  static readonly RULE_columnNamePath = 129;
575
- static readonly RULE_columnNamePathAllowEmpty = 130;
576
- static readonly RULE_columnNameCreate = 131;
577
- static readonly RULE_extColumnName = 132;
578
- static readonly RULE_columnNameOrderList = 133;
579
- static readonly RULE_columnParenthesesList = 134;
580
- static readonly RULE_enableValidateSpecification = 135;
581
- static readonly RULE_enableSpecification = 136;
582
- static readonly RULE_validateSpecification = 137;
583
- static readonly RULE_enforcedSpecification = 138;
584
- static readonly RULE_relySpecification = 139;
585
- static readonly RULE_createConstraint = 140;
586
- static readonly RULE_alterConstraintWithName = 141;
587
- static readonly RULE_tableLevelConstraint = 142;
588
- static readonly RULE_pkUkConstraint = 143;
589
- static readonly RULE_checkConstraint = 144;
590
- static readonly RULE_createForeignKey = 145;
591
- static readonly RULE_alterForeignKeyWithName = 146;
592
- static readonly RULE_skewedValueElement = 147;
593
- static readonly RULE_skewedColumnValuePairList = 148;
594
- static readonly RULE_skewedColumnValuePair = 149;
595
- static readonly RULE_constantList = 150;
596
- static readonly RULE_orderSpecification = 151;
597
- static readonly RULE_nullOrdering = 152;
598
- static readonly RULE_columnNameOrder = 153;
599
- static readonly RULE_columnNameCommentList = 154;
600
- static readonly RULE_columnNameComment = 155;
601
- static readonly RULE_columnRefOrder = 156;
602
- static readonly RULE_columnNameType = 157;
603
- static readonly RULE_columnNameTypeOrConstraint = 158;
604
- static readonly RULE_tableConstraint = 159;
605
- static readonly RULE_columnNameTypeConstraint = 160;
606
- static readonly RULE_columnConstraint = 161;
607
- static readonly RULE_foreignKeyConstraint = 162;
608
- static readonly RULE_colConstraint = 163;
609
- static readonly RULE_alterColumnConstraint = 164;
610
- static readonly RULE_alterForeignKeyConstraint = 165;
611
- static readonly RULE_alterColConstraint = 166;
612
- static readonly RULE_columnConstraintType = 167;
613
- static readonly RULE_defaultVal = 168;
614
- static readonly RULE_tableConstraintType = 169;
615
- static readonly RULE_constraintOptsCreate = 170;
616
- static readonly RULE_constraintOptsAlter = 171;
617
- static readonly RULE_columnNameColonType = 172;
618
- static readonly RULE_columnType = 173;
619
- static readonly RULE_columnTypeList = 174;
620
- static readonly RULE_type = 175;
621
- static readonly RULE_primitiveType = 176;
622
- static readonly RULE_listType = 177;
623
- static readonly RULE_structType = 178;
624
- static readonly RULE_mapType = 179;
625
- static readonly RULE_unionType = 180;
626
- static readonly RULE_setOperator = 181;
627
- static readonly RULE_queryStatementExpression = 182;
628
- static readonly RULE_queryStatementExpressionBody = 183;
629
- static readonly RULE_withClause = 184;
630
- static readonly RULE_cteStatement = 185;
631
- static readonly RULE_fromStatement = 186;
632
- static readonly RULE_singleFromStatement = 187;
633
- static readonly RULE_regularBody = 188;
634
- static readonly RULE_atomSelectStatement = 189;
635
- static readonly RULE_selectStatement = 190;
636
- static readonly RULE_setOpSelectStatement = 191;
637
- static readonly RULE_selectStatementWithCTE = 192;
638
- static readonly RULE_insertClause = 193;
639
- static readonly RULE_destination = 194;
640
- static readonly RULE_limitClause = 195;
641
- static readonly RULE_columnAssignmentClause = 196;
642
- static readonly RULE_precedencePlusExpressionOrDefault = 197;
643
- static readonly RULE_setColumnsClause = 198;
644
- static readonly RULE_sqlTransactionStatement = 199;
645
- static readonly RULE_transactionMode = 200;
646
- static readonly RULE_whenClauses = 201;
647
- static readonly RULE_whenNotMatchedClause = 202;
648
- static readonly RULE_whenMatchedAndClause = 203;
649
- static readonly RULE_whenMatchedThenClause = 204;
650
- static readonly RULE_compactionPool = 205;
651
- static readonly RULE_compactionType = 206;
652
- static readonly RULE_compactionStatus = 207;
653
- static readonly RULE_alterStatement = 208;
654
- static readonly RULE_alterTableStatementSuffix = 209;
655
- static readonly RULE_alterTblPartitionStatementSuffix = 210;
656
- static readonly RULE_alterViewStatementSuffix = 211;
657
- static readonly RULE_alterDatabaseStatementSuffix = 212;
658
- static readonly RULE_alterDataConnectorStatementSuffix = 213;
659
- static readonly RULE_locationPath = 214;
660
- static readonly RULE_alterStatementSuffixDropPartitions = 215;
661
- static readonly RULE_skewedLocationMap = 216;
662
- static readonly RULE_alterStatementSuffixExecute = 217;
663
- static readonly RULE_fileFormat = 218;
664
- static readonly RULE_likeTableOrFile = 219;
665
- static readonly RULE_createTableStatement = 220;
666
- static readonly RULE_createDataConnectorStatement = 221;
667
- static readonly RULE_dropDataConnectorStatement = 222;
668
- static readonly RULE_tableAllColumns = 223;
669
- static readonly RULE_expressionList = 224;
670
- static readonly RULE_aliasList = 225;
671
- static readonly RULE_fromClause = 226;
672
- static readonly RULE_fromSource = 227;
673
- static readonly RULE_atomjoinSource = 228;
674
- static readonly RULE_joinSource = 229;
675
- static readonly RULE_joinSourcePart = 230;
676
- static readonly RULE_uniqueJoinSource = 231;
677
- static readonly RULE_joinToken = 232;
678
- static readonly RULE_lateralView = 233;
679
- static readonly RULE_tableAlias = 234;
680
- static readonly RULE_tableSample = 235;
681
- static readonly RULE_tableSource = 236;
682
- static readonly RULE_asOfClause = 237;
683
- static readonly RULE_dbSchemaName = 238;
684
- static readonly RULE_dbSchemaNameCreate = 239;
685
- static readonly RULE_tableOrView = 240;
686
- static readonly RULE_tableName = 241;
687
- static readonly RULE_tableNameCreate = 242;
688
- static readonly RULE_viewName = 243;
689
- static readonly RULE_viewNameCreate = 244;
690
- static readonly RULE_subQuerySource = 245;
691
- static readonly RULE_partitioningSpec = 246;
692
- static readonly RULE_partitionTableFunctionSource = 247;
693
- static readonly RULE_partitionedTableFunction = 248;
694
- static readonly RULE_atomPartitionedTableFunction = 249;
695
- static readonly RULE_whereClause = 250;
696
- static readonly RULE_valuesClause = 251;
697
- static readonly RULE_atomValuesClause = 252;
698
- static readonly RULE_virtualTableSource = 253;
699
- static readonly RULE_selectClause = 254;
700
- static readonly RULE_selectTrfmClause = 255;
701
- static readonly RULE_selectList = 256;
702
- static readonly RULE_selectItem = 257;
703
- static readonly RULE_selectLiteralColumnName = 258;
704
- static readonly RULE_selectExpressionColumnName = 259;
705
- static readonly RULE_trfmClause = 260;
706
- static readonly RULE_selectExpression = 261;
707
- static readonly RULE_selectExpressionList = 262;
708
- static readonly RULE_window_clause = 263;
709
- static readonly RULE_window_specification = 264;
710
- static readonly RULE_window_frame = 265;
711
- static readonly RULE_window_frame_boundary = 266;
712
- static readonly RULE_groupByClause = 267;
713
- static readonly RULE_rollupStandard = 268;
714
- static readonly RULE_rollupOldSyntax = 269;
715
- static readonly RULE_groupingSetExpression = 270;
716
- static readonly RULE_havingClause = 271;
717
- static readonly RULE_qualifyClause = 272;
718
- static readonly RULE_expressionOrDefault = 273;
719
- static readonly RULE_firstExpressionsWithAlias = 274;
720
- static readonly RULE_expressions = 275;
721
- static readonly RULE_expressionsInParenthesis = 276;
722
- static readonly RULE_expressionsNotInParenthesis = 277;
723
- static readonly RULE_orderByClause = 278;
724
- static readonly RULE_partitionByClause = 279;
725
- static readonly RULE_clusterByClause = 280;
726
- static readonly RULE_distributeByClause = 281;
727
- static readonly RULE_sortByClause = 282;
728
- static readonly RULE_function_ = 283;
729
- static readonly RULE_null_treatment = 284;
730
- static readonly RULE_functionNameCreate = 285;
731
- static readonly RULE_functionNameForDDL = 286;
732
- static readonly RULE_functionNameForInvoke = 287;
733
- static readonly RULE_castExpression = 288;
734
- static readonly RULE_caseExpression = 289;
735
- static readonly RULE_whenExpression = 290;
736
- static readonly RULE_floorExpression = 291;
737
- static readonly RULE_extractExpression = 292;
738
- static readonly RULE_timeQualifiers = 293;
739
- static readonly RULE_constant = 294;
740
- static readonly RULE_intervalValue = 295;
741
- static readonly RULE_intervalExpression = 296;
742
- static readonly RULE_intervalQualifiers = 297;
743
- static readonly RULE_expression = 298;
744
- static readonly RULE_atomExpression = 299;
745
- static readonly RULE_precedenceUnaryPrefixExpression = 300;
746
- static readonly RULE_precedenceBitwiseXorExpression = 301;
747
- static readonly RULE_precedenceStarExpression = 302;
748
- static readonly RULE_precedencePlusExpression = 303;
749
- static readonly RULE_precedenceConcatenateExpression = 304;
750
- static readonly RULE_precedenceAmpersandExpression = 305;
751
- static readonly RULE_precedenceBitwiseOrExpression = 306;
752
- static readonly RULE_precedenceSimilarOperator = 307;
753
- static readonly RULE_subQueryExpression = 308;
754
- static readonly RULE_precedenceSimilarExpression = 309;
755
- static readonly RULE_precedenceSimilarExpressionPart = 310;
756
- static readonly RULE_precedenceSimilarExpressionAtom = 311;
757
- static readonly RULE_precedenceSimilarExpressionIn = 312;
758
- static readonly RULE_precedenceSimilarExpressionPartNot = 313;
759
- static readonly RULE_precedenceDistinctOperator = 314;
760
- static readonly RULE_precedenceEqualOperator = 315;
761
- static readonly RULE_precedenceEqualExpression = 316;
762
- static readonly RULE_isCondition = 317;
763
- static readonly RULE_precedenceNotExpression = 318;
764
- static readonly RULE_precedenceAndExpression = 319;
765
- static readonly RULE_tableOrPartition = 320;
766
- static readonly RULE_partitionSpec = 321;
767
- static readonly RULE_partitionVal = 322;
768
- static readonly RULE_partitionSelectorSpec = 323;
769
- static readonly RULE_partitionSelectorVal = 324;
770
- static readonly RULE_subQuerySelectorOperator = 325;
771
- static readonly RULE_sysFuncNames = 326;
772
- static readonly RULE_id_ = 327;
773
- static readonly RULE_functionIdentifier = 328;
774
- static readonly RULE_principalIdentifier = 329;
775
- static readonly RULE_nonReserved = 330;
776
- static readonly RULE_sql11ReservedKeywordsUsedAsFunctionName = 331;
777
- static readonly RULE_configPropertiesItem = 332;
778
- static readonly RULE_resourcePlanDdlStatements = 333;
779
- static readonly RULE_mappingTypes = 334;
780
- static readonly RULE_rpAssign = 335;
781
- static readonly RULE_rpAssignList = 336;
782
- static readonly RULE_rpUnassign = 337;
783
- static readonly RULE_activate = 338;
784
- static readonly RULE_enable = 339;
785
- static readonly RULE_disable = 340;
786
- static readonly RULE_year = 341;
787
- static readonly RULE_month = 342;
788
- static readonly RULE_week = 343;
789
- static readonly RULE_day = 344;
790
- static readonly RULE_hour = 345;
791
- static readonly RULE_minute = 346;
792
- static readonly RULE_second = 347;
793
- static readonly RULE_decimal = 348;
794
- static readonly RULE_emptyColumn = 349;
795
- static readonly RULE_poolPath = 350;
796
- static readonly RULE_poolPathAllowEmpty = 351;
797
- static readonly RULE_triggerAtomExpression = 352;
798
- static readonly RULE_triggerActionExpression = 353;
799
- static readonly RULE_poolAssign = 354;
800
- static readonly RULE_poolAssignList = 355;
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_atomPartitionedTableFunction = 248;
694
+ static readonly RULE_whereClause = 249;
695
+ static readonly RULE_valuesClause = 250;
696
+ static readonly RULE_atomValuesClause = 251;
697
+ static readonly RULE_virtualTableSource = 252;
698
+ static readonly RULE_selectClause = 253;
699
+ static readonly RULE_selectTrfmClause = 254;
700
+ static readonly RULE_selectList = 255;
701
+ static readonly RULE_selectItem = 256;
702
+ static readonly RULE_selectLiteralColumnName = 257;
703
+ static readonly RULE_selectExpressionColumnName = 258;
704
+ static readonly RULE_trfmClause = 259;
705
+ static readonly RULE_selectExpression = 260;
706
+ static readonly RULE_selectExpressionList = 261;
707
+ static readonly RULE_window_clause = 262;
708
+ static readonly RULE_window_specification = 263;
709
+ static readonly RULE_window_frame = 264;
710
+ static readonly RULE_window_frame_boundary = 265;
711
+ static readonly RULE_groupByClause = 266;
712
+ static readonly RULE_rollupStandard = 267;
713
+ static readonly RULE_rollupOldSyntax = 268;
714
+ static readonly RULE_groupingSetExpression = 269;
715
+ static readonly RULE_havingClause = 270;
716
+ static readonly RULE_qualifyClause = 271;
717
+ static readonly RULE_expressionOrDefault = 272;
718
+ static readonly RULE_firstExpressionsWithAlias = 273;
719
+ static readonly RULE_expressions = 274;
720
+ static readonly RULE_expressionsInParenthesis = 275;
721
+ static readonly RULE_expressionsNotInParenthesis = 276;
722
+ static readonly RULE_orderByClause = 277;
723
+ static readonly RULE_partitionByClause = 278;
724
+ static readonly RULE_clusterByClause = 279;
725
+ static readonly RULE_distributeByClause = 280;
726
+ static readonly RULE_sortByClause = 281;
727
+ static readonly RULE_function_ = 282;
728
+ static readonly RULE_null_treatment = 283;
729
+ static readonly RULE_functionNameCreate = 284;
730
+ static readonly RULE_functionNameForDDL = 285;
731
+ static readonly RULE_functionNameForInvoke = 286;
732
+ static readonly RULE_castExpression = 287;
733
+ static readonly RULE_caseExpression = 288;
734
+ static readonly RULE_whenExpression = 289;
735
+ static readonly RULE_floorExpression = 290;
736
+ static readonly RULE_extractExpression = 291;
737
+ static readonly RULE_timeQualifiers = 292;
738
+ static readonly RULE_constant = 293;
739
+ static readonly RULE_intervalValue = 294;
740
+ static readonly RULE_intervalExpression = 295;
741
+ static readonly RULE_intervalQualifiers = 296;
742
+ static readonly RULE_expression = 297;
743
+ static readonly RULE_atomExpression = 298;
744
+ static readonly RULE_precedenceUnaryPrefixExpression = 299;
745
+ static readonly RULE_precedenceBitwiseXorExpression = 300;
746
+ static readonly RULE_precedenceStarExpression = 301;
747
+ static readonly RULE_precedencePlusExpression = 302;
748
+ static readonly RULE_precedenceConcatenateExpression = 303;
749
+ static readonly RULE_precedenceAmpersandExpression = 304;
750
+ static readonly RULE_precedenceBitwiseOrExpression = 305;
751
+ static readonly RULE_precedenceSimilarOperator = 306;
752
+ static readonly RULE_subQueryExpression = 307;
753
+ static readonly RULE_precedenceSimilarExpression = 308;
754
+ static readonly RULE_precedenceSimilarExpressionPart = 309;
755
+ static readonly RULE_precedenceSimilarExpressionAtom = 310;
756
+ static readonly RULE_precedenceSimilarExpressionIn = 311;
757
+ static readonly RULE_precedenceSimilarExpressionPartNot = 312;
758
+ static readonly RULE_precedenceDistinctOperator = 313;
759
+ static readonly RULE_precedenceEqualOperator = 314;
760
+ static readonly RULE_precedenceEqualExpression = 315;
761
+ static readonly RULE_isCondition = 316;
762
+ static readonly RULE_precedenceNotExpression = 317;
763
+ static readonly RULE_precedenceAndExpression = 318;
764
+ static readonly RULE_tableOrPartition = 319;
765
+ static readonly RULE_partitionSpec = 320;
766
+ static readonly RULE_partitionVal = 321;
767
+ static readonly RULE_partitionSelectorSpec = 322;
768
+ static readonly RULE_partitionSelectorVal = 323;
769
+ static readonly RULE_subQuerySelectorOperator = 324;
770
+ static readonly RULE_sysFuncNames = 325;
771
+ static readonly RULE_id_ = 326;
772
+ static readonly RULE_functionIdentifier = 327;
773
+ static readonly RULE_principalIdentifier = 328;
774
+ static readonly RULE_nonReserved = 329;
775
+ static readonly RULE_sql11ReservedKeywordsUsedAsFunctionName = 330;
776
+ static readonly RULE_configPropertiesItem = 331;
777
+ static readonly RULE_resourcePlanDdlStatements = 332;
778
+ static readonly RULE_mappingTypes = 333;
779
+ static readonly RULE_rpAssign = 334;
780
+ static readonly RULE_rpAssignList = 335;
781
+ static readonly RULE_rpUnassign = 336;
782
+ static readonly RULE_activate = 337;
783
+ static readonly RULE_enable = 338;
784
+ static readonly RULE_disable = 339;
785
+ static readonly RULE_year = 340;
786
+ static readonly RULE_month = 341;
787
+ static readonly RULE_week = 342;
788
+ static readonly RULE_day = 343;
789
+ static readonly RULE_hour = 344;
790
+ static readonly RULE_minute = 345;
791
+ static readonly RULE_second = 346;
792
+ static readonly RULE_decimal = 347;
793
+ static readonly RULE_poolPath = 348;
794
+ static readonly RULE_triggerAtomExpression = 349;
795
+ static readonly RULE_triggerActionExpression = 350;
796
+ static readonly RULE_poolAssign = 351;
797
+ static readonly RULE_poolAssignList = 352;
801
798
  static readonly literalNames: (string | null)[];
802
799
  static readonly symbolicNames: (string | null)[];
803
800
  static readonly ruleNames: string[];
@@ -938,7 +935,6 @@ export declare class HiveSqlParser extends SQLParserBase {
938
935
  columnNameList(): ColumnNameListContext;
939
936
  columnName(): ColumnNameContext;
940
937
  columnNamePath(): ColumnNamePathContext;
941
- columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext;
942
938
  columnNameCreate(): ColumnNameCreateContext;
943
939
  extColumnName(): ExtColumnNameContext;
944
940
  columnNameOrderList(): ColumnNameOrderListContext;
@@ -1157,18 +1153,13 @@ export declare class HiveSqlParser extends SQLParserBase {
1157
1153
  minute(): MinuteContext;
1158
1154
  second(): SecondContext;
1159
1155
  decimal(): DecimalContext;
1160
- emptyColumn(): EmptyColumnContext;
1161
1156
  poolPath(): PoolPathContext;
1162
- poolPathAllowEmpty(): PoolPathAllowEmptyContext;
1163
1157
  triggerAtomExpression(): TriggerAtomExpressionContext;
1164
1158
  triggerActionExpression(): TriggerActionExpressionContext;
1165
1159
  poolAssign(): PoolAssignContext;
1166
1160
  poolAssignList(): PoolAssignListContext;
1167
1161
  sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
1168
1162
  private columnName_sempred;
1169
- private columnNamePathAllowEmpty_sempred;
1170
- private selectItem_sempred;
1171
- private poolPathAllowEmpty_sempred;
1172
1163
  static readonly _serializedATN: number[];
1173
1164
  private static __ATN;
1174
1165
  static get _ATN(): antlr.ATN;
@@ -2979,8 +2970,7 @@ export declare class ColumnNameListContext extends antlr.ParserRuleContext {
2979
2970
  }
2980
2971
  export declare class ColumnNameContext extends antlr.ParserRuleContext {
2981
2972
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2982
- poolPathAllowEmpty(): PoolPathAllowEmptyContext | null;
2983
- emptyColumn(): EmptyColumnContext | null;
2973
+ poolPath(): PoolPathContext | null;
2984
2974
  get ruleIndex(): number;
2985
2975
  enterRule(listener: HiveSqlParserListener): void;
2986
2976
  exitRule(listener: HiveSqlParserListener): void;
@@ -2994,15 +2984,6 @@ export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
2994
2984
  exitRule(listener: HiveSqlParserListener): void;
2995
2985
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
2996
2986
  }
2997
- export declare class ColumnNamePathAllowEmptyContext extends antlr.ParserRuleContext {
2998
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2999
- poolPathAllowEmpty(): PoolPathAllowEmptyContext | null;
3000
- emptyColumn(): EmptyColumnContext | null;
3001
- get ruleIndex(): number;
3002
- enterRule(listener: HiveSqlParserListener): void;
3003
- exitRule(listener: HiveSqlParserListener): void;
3004
- accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
3005
- }
3006
2987
  export declare class ColumnNameCreateContext extends antlr.ParserRuleContext {
3007
2988
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3008
2989
  id_(): Id_Context;
@@ -4479,16 +4460,12 @@ export declare class JoinSourceContext extends antlr.ParserRuleContext {
4479
4460
  joinSourcePart(i: number): JoinSourcePartContext | null;
4480
4461
  KW_ON(): antlr.TerminalNode[];
4481
4462
  KW_ON(i: number): antlr.TerminalNode | null;
4463
+ expression(): ExpressionContext[];
4464
+ expression(i: number): ExpressionContext | null;
4482
4465
  KW_USING(): antlr.TerminalNode[];
4483
4466
  KW_USING(i: number): antlr.TerminalNode | null;
4484
4467
  columnParenthesesList(): ColumnParenthesesListContext[];
4485
4468
  columnParenthesesList(i: number): ColumnParenthesesListContext | null;
4486
- expression(): ExpressionContext[];
4487
- expression(i: number): ExpressionContext | null;
4488
- columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext[];
4489
- columnNamePathAllowEmpty(i: number): ColumnNamePathAllowEmptyContext | null;
4490
- EQUAL(): antlr.TerminalNode[];
4491
- EQUAL(i: number): antlr.TerminalNode | null;
4492
4469
  get ruleIndex(): number;
4493
4470
  enterRule(listener: HiveSqlParserListener): void;
4494
4471
  exitRule(listener: HiveSqlParserListener): void;
@@ -4785,8 +4762,7 @@ export declare class AtomPartitionedTableFunctionContext extends antlr.ParserRul
4785
4762
  export declare class WhereClauseContext extends antlr.ParserRuleContext {
4786
4763
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
4787
4764
  KW_WHERE(): antlr.TerminalNode;
4788
- expression(): ExpressionContext | null;
4789
- columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
4765
+ expression(): ExpressionContext;
4790
4766
  get ruleIndex(): number;
4791
4767
  enterRule(listener: HiveSqlParserListener): void;
4792
4768
  exitRule(listener: HiveSqlParserListener): void;
@@ -4895,7 +4871,6 @@ export declare class SelectItemContext extends antlr.ParserRuleContext {
4895
4871
  id_(i: number): Id_Context | null;
4896
4872
  COMMA(): antlr.TerminalNode[];
4897
4873
  COMMA(i: number): antlr.TerminalNode | null;
4898
- emptyColumn(): EmptyColumnContext | null;
4899
4874
  get ruleIndex(): number;
4900
4875
  enterRule(listener: HiveSqlParserListener): void;
4901
4876
  exitRule(listener: HiveSqlParserListener): void;
@@ -5087,8 +5062,7 @@ export declare class GroupingSetExpressionContext extends antlr.ParserRuleContex
5087
5062
  export declare class HavingClauseContext extends antlr.ParserRuleContext {
5088
5063
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5089
5064
  KW_HAVING(): antlr.TerminalNode;
5090
- expression(): ExpressionContext | null;
5091
- columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
5065
+ expression(): ExpressionContext;
5092
5066
  get ruleIndex(): number;
5093
5067
  enterRule(listener: HiveSqlParserListener): void;
5094
5068
  exitRule(listener: HiveSqlParserListener): void;
@@ -6451,13 +6425,6 @@ export declare class DecimalContext extends antlr.ParserRuleContext {
6451
6425
  exitRule(listener: HiveSqlParserListener): void;
6452
6426
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
6453
6427
  }
6454
- export declare class EmptyColumnContext extends antlr.ParserRuleContext {
6455
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
6456
- get ruleIndex(): number;
6457
- enterRule(listener: HiveSqlParserListener): void;
6458
- exitRule(listener: HiveSqlParserListener): void;
6459
- accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
6460
- }
6461
6428
  export declare class PoolPathContext extends antlr.ParserRuleContext {
6462
6429
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
6463
6430
  id_(): Id_Context[];
@@ -6469,19 +6436,6 @@ export declare class PoolPathContext extends antlr.ParserRuleContext {
6469
6436
  exitRule(listener: HiveSqlParserListener): void;
6470
6437
  accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
6471
6438
  }
6472
- export declare class PoolPathAllowEmptyContext extends antlr.ParserRuleContext {
6473
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
6474
- id_(): Id_Context[];
6475
- id_(i: number): Id_Context | null;
6476
- DOT(): antlr.TerminalNode[];
6477
- DOT(i: number): antlr.TerminalNode | null;
6478
- emptyColumn(): EmptyColumnContext[];
6479
- emptyColumn(i: number): EmptyColumnContext | null;
6480
- get ruleIndex(): number;
6481
- enterRule(listener: HiveSqlParserListener): void;
6482
- exitRule(listener: HiveSqlParserListener): void;
6483
- accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
6484
- }
6485
6439
  export declare class TriggerAtomExpressionContext extends antlr.ParserRuleContext {
6486
6440
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
6487
6441
  id_(): Id_Context;