dt-sql-parser 4.0.1 → 4.0.3-beta.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.
- package/README.md +6 -1
- package/dist/lib/flink/FlinkSqlLexer.js +1 -2
- package/dist/lib/flink/FlinkSqlParser.d.ts +14 -6
- package/dist/lib/flink/FlinkSqlParser.js +1448 -1379
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +5 -5
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +3 -3
- package/dist/lib/hive/HiveSqlLexer.js +1 -2
- package/dist/lib/hive/HiveSqlParser.d.ts +1 -0
- package/dist/lib/hive/HiveSqlParser.js +537 -527
- package/dist/lib/impala/ImpalaSqlLexer.js +1 -2
- package/dist/lib/impala/ImpalaSqlParser.d.ts +2 -2
- package/dist/lib/impala/ImpalaSqlParser.js +1914 -1924
- package/dist/lib/mysql/MySqlLexer.js +1 -2
- package/dist/lib/mysql/MySqlParser.d.ts +465 -422
- package/dist/lib/mysql/MySqlParser.js +11459 -10508
- package/dist/lib/mysql/MySqlParserListener.d.ts +42 -20
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +26 -12
- package/dist/lib/postgresql/PostgreSqlLexer.js +1 -2
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2025 -6267
- package/dist/lib/postgresql/PostgreSqlParser.js +59631 -88362
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +1688 -6083
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +712 -3511
- package/dist/lib/spark/SparkSqlLexer.js +1 -2
- package/dist/lib/spark/SparkSqlParser.js +1 -2
- package/dist/lib/trino/TrinoSqlLexer.d.ts +323 -260
- package/dist/lib/trino/TrinoSqlLexer.js +1610 -1264
- package/dist/lib/trino/TrinoSqlListener.d.ts +1311 -200
- package/dist/lib/trino/TrinoSqlParser.d.ts +1884 -546
- package/dist/lib/trino/TrinoSqlParser.js +22685 -13468
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +761 -69
- package/dist/parser/common/basicSQL.js +0 -10
- package/dist/parser/common/entityCollector.d.ts +2 -1
- package/dist/parser/common/entityCollector.js +1 -0
- package/dist/parser/flink/index.js +9 -9
- package/dist/parser/hive/index.js +9 -9
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +3 -1
- package/dist/parser/mysql/mysqlEntityCollector.js +6 -0
- package/dist/parser/postgresql/index.js +13 -13
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +3 -1
- package/dist/parser/postgresql/postgreEntityCollector.js +6 -0
- package/dist/parser/trino/index.js +19 -10
- package/dist/parser/trino/trinoEntityCollector.d.ts +6 -4
- package/dist/parser/trino/trinoEntityCollector.js +9 -3
- package/package.json +39 -12
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
import * as antlr from "antlr4ng";
|
|
4
4
|
import { SQLParserBase } from '../SQLParserBase';
|
|
5
|
-
class HiveSqlParser extends SQLParserBase {
|
|
5
|
+
export class HiveSqlParser extends SQLParserBase {
|
|
6
6
|
get grammarFileName() { return "HiveSqlParser.g4"; }
|
|
7
7
|
get literalNames() { return HiveSqlParser.literalNames; }
|
|
8
8
|
get symbolicNames() { return HiveSqlParser.symbolicNames; }
|
|
@@ -22307,7 +22307,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
22307
22307
|
let localContext = new ConfigPropertiesItemContext(this.context, this.state);
|
|
22308
22308
|
this.enterRule(localContext, 648, HiveSqlParser.RULE_configPropertiesItem);
|
|
22309
22309
|
try {
|
|
22310
|
-
this.state =
|
|
22310
|
+
this.state = 4542;
|
|
22311
22311
|
this.errorHandler.sync(this);
|
|
22312
22312
|
switch (this.tokenStream.LA(1)) {
|
|
22313
22313
|
case HiveSqlParser.KW_ABORT:
|
|
@@ -22556,346 +22556,353 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
22556
22556
|
this.id_();
|
|
22557
22557
|
}
|
|
22558
22558
|
break;
|
|
22559
|
-
case HiveSqlParser.
|
|
22559
|
+
case HiveSqlParser.KW_SELECT:
|
|
22560
22560
|
this.enterOuterAlt(localContext, 2);
|
|
22561
22561
|
{
|
|
22562
22562
|
this.state = 4492;
|
|
22563
|
-
this.match(HiveSqlParser.
|
|
22563
|
+
this.match(HiveSqlParser.KW_SELECT);
|
|
22564
22564
|
}
|
|
22565
22565
|
break;
|
|
22566
|
-
case HiveSqlParser.
|
|
22566
|
+
case HiveSqlParser.KW_JOIN:
|
|
22567
22567
|
this.enterOuterAlt(localContext, 3);
|
|
22568
22568
|
{
|
|
22569
22569
|
this.state = 4493;
|
|
22570
|
-
this.match(HiveSqlParser.
|
|
22570
|
+
this.match(HiveSqlParser.KW_JOIN);
|
|
22571
22571
|
}
|
|
22572
22572
|
break;
|
|
22573
|
-
case HiveSqlParser.
|
|
22573
|
+
case HiveSqlParser.KW_PARTITION:
|
|
22574
22574
|
this.enterOuterAlt(localContext, 4);
|
|
22575
22575
|
{
|
|
22576
22576
|
this.state = 4494;
|
|
22577
|
-
this.match(HiveSqlParser.
|
|
22577
|
+
this.match(HiveSqlParser.KW_PARTITION);
|
|
22578
22578
|
}
|
|
22579
22579
|
break;
|
|
22580
|
-
case HiveSqlParser.
|
|
22580
|
+
case HiveSqlParser.KW_MAP:
|
|
22581
22581
|
this.enterOuterAlt(localContext, 5);
|
|
22582
22582
|
{
|
|
22583
22583
|
this.state = 4495;
|
|
22584
|
-
this.match(HiveSqlParser.
|
|
22584
|
+
this.match(HiveSqlParser.KW_MAP);
|
|
22585
22585
|
}
|
|
22586
22586
|
break;
|
|
22587
|
-
case HiveSqlParser.
|
|
22587
|
+
case HiveSqlParser.KW_REDUCE:
|
|
22588
22588
|
this.enterOuterAlt(localContext, 6);
|
|
22589
22589
|
{
|
|
22590
22590
|
this.state = 4496;
|
|
22591
|
-
this.match(HiveSqlParser.
|
|
22591
|
+
this.match(HiveSqlParser.KW_REDUCE);
|
|
22592
22592
|
}
|
|
22593
22593
|
break;
|
|
22594
|
-
case HiveSqlParser.
|
|
22594
|
+
case HiveSqlParser.KW_USER:
|
|
22595
22595
|
this.enterOuterAlt(localContext, 7);
|
|
22596
22596
|
{
|
|
22597
22597
|
this.state = 4497;
|
|
22598
|
-
this.match(HiveSqlParser.
|
|
22598
|
+
this.match(HiveSqlParser.KW_USER);
|
|
22599
22599
|
}
|
|
22600
22600
|
break;
|
|
22601
|
-
case HiveSqlParser.
|
|
22601
|
+
case HiveSqlParser.KW_PERCENT:
|
|
22602
22602
|
this.enterOuterAlt(localContext, 8);
|
|
22603
22603
|
{
|
|
22604
22604
|
this.state = 4498;
|
|
22605
|
-
this.match(HiveSqlParser.
|
|
22605
|
+
this.match(HiveSqlParser.KW_PERCENT);
|
|
22606
22606
|
}
|
|
22607
22607
|
break;
|
|
22608
|
-
case HiveSqlParser.
|
|
22608
|
+
case HiveSqlParser.KW_INTERVAL:
|
|
22609
22609
|
this.enterOuterAlt(localContext, 9);
|
|
22610
22610
|
{
|
|
22611
22611
|
this.state = 4499;
|
|
22612
|
-
this.match(HiveSqlParser.
|
|
22612
|
+
this.match(HiveSqlParser.KW_INTERVAL);
|
|
22613
22613
|
}
|
|
22614
22614
|
break;
|
|
22615
|
-
case HiveSqlParser.
|
|
22615
|
+
case HiveSqlParser.KW_ROWS:
|
|
22616
22616
|
this.enterOuterAlt(localContext, 10);
|
|
22617
22617
|
{
|
|
22618
22618
|
this.state = 4500;
|
|
22619
|
-
this.match(HiveSqlParser.
|
|
22619
|
+
this.match(HiveSqlParser.KW_ROWS);
|
|
22620
22620
|
}
|
|
22621
22621
|
break;
|
|
22622
|
-
case HiveSqlParser.
|
|
22622
|
+
case HiveSqlParser.KW_UNION:
|
|
22623
22623
|
this.enterOuterAlt(localContext, 11);
|
|
22624
22624
|
{
|
|
22625
22625
|
this.state = 4501;
|
|
22626
|
-
this.match(HiveSqlParser.
|
|
22626
|
+
this.match(HiveSqlParser.KW_UNION);
|
|
22627
22627
|
}
|
|
22628
22628
|
break;
|
|
22629
|
-
case HiveSqlParser.
|
|
22629
|
+
case HiveSqlParser.KW_GROUP:
|
|
22630
22630
|
this.enterOuterAlt(localContext, 12);
|
|
22631
22631
|
{
|
|
22632
22632
|
this.state = 4502;
|
|
22633
|
-
this.match(HiveSqlParser.
|
|
22633
|
+
this.match(HiveSqlParser.KW_GROUP);
|
|
22634
22634
|
}
|
|
22635
22635
|
break;
|
|
22636
|
-
case HiveSqlParser.
|
|
22636
|
+
case HiveSqlParser.KW_MERGE:
|
|
22637
22637
|
this.enterOuterAlt(localContext, 13);
|
|
22638
22638
|
{
|
|
22639
22639
|
this.state = 4503;
|
|
22640
|
-
this.match(HiveSqlParser.
|
|
22640
|
+
this.match(HiveSqlParser.KW_MERGE);
|
|
22641
22641
|
}
|
|
22642
22642
|
break;
|
|
22643
|
-
case HiveSqlParser.
|
|
22643
|
+
case HiveSqlParser.KW_NULL:
|
|
22644
22644
|
this.enterOuterAlt(localContext, 14);
|
|
22645
22645
|
{
|
|
22646
22646
|
this.state = 4504;
|
|
22647
|
-
this.match(HiveSqlParser.
|
|
22647
|
+
this.match(HiveSqlParser.KW_NULL);
|
|
22648
22648
|
}
|
|
22649
22649
|
break;
|
|
22650
|
-
case HiveSqlParser.
|
|
22650
|
+
case HiveSqlParser.KW_FETCH:
|
|
22651
22651
|
this.enterOuterAlt(localContext, 15);
|
|
22652
22652
|
{
|
|
22653
22653
|
this.state = 4505;
|
|
22654
|
-
this.match(HiveSqlParser.
|
|
22654
|
+
this.match(HiveSqlParser.KW_FETCH);
|
|
22655
22655
|
}
|
|
22656
22656
|
break;
|
|
22657
|
-
case HiveSqlParser.
|
|
22657
|
+
case HiveSqlParser.KW_LOCAL:
|
|
22658
22658
|
this.enterOuterAlt(localContext, 16);
|
|
22659
22659
|
{
|
|
22660
22660
|
this.state = 4506;
|
|
22661
|
-
this.match(HiveSqlParser.
|
|
22661
|
+
this.match(HiveSqlParser.KW_LOCAL);
|
|
22662
22662
|
}
|
|
22663
22663
|
break;
|
|
22664
|
-
case HiveSqlParser.
|
|
22664
|
+
case HiveSqlParser.KW_DROP:
|
|
22665
22665
|
this.enterOuterAlt(localContext, 17);
|
|
22666
22666
|
{
|
|
22667
22667
|
this.state = 4507;
|
|
22668
|
-
this.match(HiveSqlParser.
|
|
22668
|
+
this.match(HiveSqlParser.KW_DROP);
|
|
22669
22669
|
}
|
|
22670
22670
|
break;
|
|
22671
|
-
case HiveSqlParser.
|
|
22671
|
+
case HiveSqlParser.KW_TABLE:
|
|
22672
22672
|
this.enterOuterAlt(localContext, 18);
|
|
22673
22673
|
{
|
|
22674
22674
|
this.state = 4508;
|
|
22675
|
-
this.match(HiveSqlParser.
|
|
22675
|
+
this.match(HiveSqlParser.KW_TABLE);
|
|
22676
22676
|
}
|
|
22677
22677
|
break;
|
|
22678
|
-
case HiveSqlParser.
|
|
22678
|
+
case HiveSqlParser.KW_ON:
|
|
22679
22679
|
this.enterOuterAlt(localContext, 19);
|
|
22680
22680
|
{
|
|
22681
22681
|
this.state = 4509;
|
|
22682
|
-
this.match(HiveSqlParser.
|
|
22682
|
+
this.match(HiveSqlParser.KW_ON);
|
|
22683
22683
|
}
|
|
22684
22684
|
break;
|
|
22685
|
-
case HiveSqlParser.
|
|
22685
|
+
case HiveSqlParser.KW_ROW:
|
|
22686
22686
|
this.enterOuterAlt(localContext, 20);
|
|
22687
22687
|
{
|
|
22688
22688
|
this.state = 4510;
|
|
22689
|
-
this.match(HiveSqlParser.
|
|
22689
|
+
this.match(HiveSqlParser.KW_ROW);
|
|
22690
22690
|
}
|
|
22691
22691
|
break;
|
|
22692
|
-
case HiveSqlParser.
|
|
22692
|
+
case HiveSqlParser.KW_GROUPING:
|
|
22693
22693
|
this.enterOuterAlt(localContext, 21);
|
|
22694
22694
|
{
|
|
22695
22695
|
this.state = 4511;
|
|
22696
|
-
this.match(HiveSqlParser.
|
|
22696
|
+
this.match(HiveSqlParser.KW_GROUPING);
|
|
22697
22697
|
}
|
|
22698
22698
|
break;
|
|
22699
|
-
case HiveSqlParser.
|
|
22699
|
+
case HiveSqlParser.KW_SET:
|
|
22700
22700
|
this.enterOuterAlt(localContext, 22);
|
|
22701
22701
|
{
|
|
22702
22702
|
this.state = 4512;
|
|
22703
|
-
this.match(HiveSqlParser.
|
|
22703
|
+
this.match(HiveSqlParser.KW_SET);
|
|
22704
22704
|
}
|
|
22705
22705
|
break;
|
|
22706
|
-
case HiveSqlParser.
|
|
22706
|
+
case HiveSqlParser.KW_FORCE:
|
|
22707
22707
|
this.enterOuterAlt(localContext, 23);
|
|
22708
22708
|
{
|
|
22709
22709
|
this.state = 4513;
|
|
22710
|
-
this.match(HiveSqlParser.
|
|
22710
|
+
this.match(HiveSqlParser.KW_FORCE);
|
|
22711
22711
|
}
|
|
22712
22712
|
break;
|
|
22713
|
-
case HiveSqlParser.
|
|
22713
|
+
case HiveSqlParser.KW_START:
|
|
22714
22714
|
this.enterOuterAlt(localContext, 24);
|
|
22715
22715
|
{
|
|
22716
22716
|
this.state = 4514;
|
|
22717
|
-
this.match(HiveSqlParser.
|
|
22717
|
+
this.match(HiveSqlParser.KW_START);
|
|
22718
22718
|
}
|
|
22719
22719
|
break;
|
|
22720
|
-
case HiveSqlParser.
|
|
22720
|
+
case HiveSqlParser.KW_INSERT:
|
|
22721
22721
|
this.enterOuterAlt(localContext, 25);
|
|
22722
22722
|
{
|
|
22723
22723
|
this.state = 4515;
|
|
22724
|
-
this.match(HiveSqlParser.
|
|
22724
|
+
this.match(HiveSqlParser.KW_INSERT);
|
|
22725
22725
|
}
|
|
22726
22726
|
break;
|
|
22727
|
-
case HiveSqlParser.
|
|
22727
|
+
case HiveSqlParser.KW_CONF:
|
|
22728
22728
|
this.enterOuterAlt(localContext, 26);
|
|
22729
22729
|
{
|
|
22730
22730
|
this.state = 4516;
|
|
22731
|
-
this.match(HiveSqlParser.
|
|
22731
|
+
this.match(HiveSqlParser.KW_CONF);
|
|
22732
22732
|
}
|
|
22733
22733
|
break;
|
|
22734
|
-
case HiveSqlParser.
|
|
22734
|
+
case HiveSqlParser.KW_INTO:
|
|
22735
22735
|
this.enterOuterAlt(localContext, 27);
|
|
22736
22736
|
{
|
|
22737
22737
|
this.state = 4517;
|
|
22738
|
-
this.match(HiveSqlParser.
|
|
22738
|
+
this.match(HiveSqlParser.KW_INTO);
|
|
22739
22739
|
}
|
|
22740
22740
|
break;
|
|
22741
|
-
case HiveSqlParser.
|
|
22741
|
+
case HiveSqlParser.KW_UNIQUE:
|
|
22742
22742
|
this.enterOuterAlt(localContext, 28);
|
|
22743
22743
|
{
|
|
22744
22744
|
this.state = 4518;
|
|
22745
|
-
this.match(HiveSqlParser.
|
|
22745
|
+
this.match(HiveSqlParser.KW_UNIQUE);
|
|
22746
22746
|
}
|
|
22747
22747
|
break;
|
|
22748
|
-
case HiveSqlParser.
|
|
22748
|
+
case HiveSqlParser.KW_COLUMN:
|
|
22749
22749
|
this.enterOuterAlt(localContext, 29);
|
|
22750
22750
|
{
|
|
22751
22751
|
this.state = 4519;
|
|
22752
|
-
this.match(HiveSqlParser.
|
|
22752
|
+
this.match(HiveSqlParser.KW_COLUMN);
|
|
22753
22753
|
}
|
|
22754
22754
|
break;
|
|
22755
|
-
case HiveSqlParser.
|
|
22755
|
+
case HiveSqlParser.KW_TRANSFORM:
|
|
22756
22756
|
this.enterOuterAlt(localContext, 30);
|
|
22757
22757
|
{
|
|
22758
22758
|
this.state = 4520;
|
|
22759
|
-
this.match(HiveSqlParser.
|
|
22759
|
+
this.match(HiveSqlParser.KW_TRANSFORM);
|
|
22760
22760
|
}
|
|
22761
22761
|
break;
|
|
22762
|
-
case HiveSqlParser.
|
|
22762
|
+
case HiveSqlParser.KW_DISTINCT:
|
|
22763
22763
|
this.enterOuterAlt(localContext, 31);
|
|
22764
22764
|
{
|
|
22765
22765
|
this.state = 4521;
|
|
22766
|
-
this.match(HiveSqlParser.
|
|
22766
|
+
this.match(HiveSqlParser.KW_DISTINCT);
|
|
22767
22767
|
}
|
|
22768
22768
|
break;
|
|
22769
|
-
case HiveSqlParser.
|
|
22769
|
+
case HiveSqlParser.KW_IN:
|
|
22770
22770
|
this.enterOuterAlt(localContext, 32);
|
|
22771
22771
|
{
|
|
22772
22772
|
this.state = 4522;
|
|
22773
|
-
this.match(HiveSqlParser.
|
|
22773
|
+
this.match(HiveSqlParser.KW_IN);
|
|
22774
22774
|
}
|
|
22775
22775
|
break;
|
|
22776
|
-
case HiveSqlParser.
|
|
22776
|
+
case HiveSqlParser.KW_REFERENCES:
|
|
22777
22777
|
this.enterOuterAlt(localContext, 33);
|
|
22778
22778
|
{
|
|
22779
22779
|
this.state = 4523;
|
|
22780
|
-
this.match(HiveSqlParser.
|
|
22780
|
+
this.match(HiveSqlParser.KW_REFERENCES);
|
|
22781
22781
|
}
|
|
22782
22782
|
break;
|
|
22783
|
-
case HiveSqlParser.
|
|
22783
|
+
case HiveSqlParser.KW_TIMESTAMP:
|
|
22784
22784
|
this.enterOuterAlt(localContext, 34);
|
|
22785
22785
|
{
|
|
22786
22786
|
this.state = 4524;
|
|
22787
|
-
this.match(HiveSqlParser.
|
|
22787
|
+
this.match(HiveSqlParser.KW_TIMESTAMP);
|
|
22788
22788
|
}
|
|
22789
22789
|
break;
|
|
22790
|
-
case HiveSqlParser.
|
|
22790
|
+
case HiveSqlParser.KW_ONLY:
|
|
22791
22791
|
this.enterOuterAlt(localContext, 35);
|
|
22792
22792
|
{
|
|
22793
22793
|
this.state = 4525;
|
|
22794
|
-
this.match(HiveSqlParser.
|
|
22794
|
+
this.match(HiveSqlParser.KW_ONLY);
|
|
22795
22795
|
}
|
|
22796
22796
|
break;
|
|
22797
|
-
case HiveSqlParser.
|
|
22797
|
+
case HiveSqlParser.KW_END:
|
|
22798
22798
|
this.enterOuterAlt(localContext, 36);
|
|
22799
22799
|
{
|
|
22800
22800
|
this.state = 4526;
|
|
22801
|
-
this.match(HiveSqlParser.
|
|
22801
|
+
this.match(HiveSqlParser.KW_END);
|
|
22802
22802
|
}
|
|
22803
22803
|
break;
|
|
22804
|
-
case HiveSqlParser.
|
|
22804
|
+
case HiveSqlParser.KW_FUNCTION:
|
|
22805
22805
|
this.enterOuterAlt(localContext, 37);
|
|
22806
22806
|
{
|
|
22807
22807
|
this.state = 4527;
|
|
22808
|
-
this.match(HiveSqlParser.
|
|
22808
|
+
this.match(HiveSqlParser.KW_FUNCTION);
|
|
22809
22809
|
}
|
|
22810
22810
|
break;
|
|
22811
|
-
case HiveSqlParser.
|
|
22811
|
+
case HiveSqlParser.KW_UPDATE:
|
|
22812
22812
|
this.enterOuterAlt(localContext, 38);
|
|
22813
22813
|
{
|
|
22814
22814
|
this.state = 4528;
|
|
22815
|
-
this.match(HiveSqlParser.
|
|
22815
|
+
this.match(HiveSqlParser.KW_UPDATE);
|
|
22816
22816
|
}
|
|
22817
22817
|
break;
|
|
22818
|
-
case HiveSqlParser.
|
|
22818
|
+
case HiveSqlParser.KW_AUTHORIZATION:
|
|
22819
22819
|
this.enterOuterAlt(localContext, 39);
|
|
22820
22820
|
{
|
|
22821
22821
|
this.state = 4529;
|
|
22822
|
-
this.match(HiveSqlParser.
|
|
22822
|
+
this.match(HiveSqlParser.KW_AUTHORIZATION);
|
|
22823
22823
|
}
|
|
22824
22824
|
break;
|
|
22825
|
-
case HiveSqlParser.
|
|
22825
|
+
case HiveSqlParser.KW_DDL:
|
|
22826
22826
|
this.enterOuterAlt(localContext, 40);
|
|
22827
22827
|
{
|
|
22828
22828
|
this.state = 4530;
|
|
22829
|
-
this.match(HiveSqlParser.
|
|
22829
|
+
this.match(HiveSqlParser.KW_DDL);
|
|
22830
22830
|
}
|
|
22831
22831
|
break;
|
|
22832
|
-
case HiveSqlParser.
|
|
22832
|
+
case HiveSqlParser.KW_VALUES:
|
|
22833
22833
|
this.enterOuterAlt(localContext, 41);
|
|
22834
22834
|
{
|
|
22835
22835
|
this.state = 4531;
|
|
22836
|
-
this.match(HiveSqlParser.
|
|
22836
|
+
this.match(HiveSqlParser.KW_VALUES);
|
|
22837
22837
|
}
|
|
22838
22838
|
break;
|
|
22839
|
-
case HiveSqlParser.
|
|
22839
|
+
case HiveSqlParser.KW_TIME:
|
|
22840
22840
|
this.enterOuterAlt(localContext, 42);
|
|
22841
22841
|
{
|
|
22842
22842
|
this.state = 4532;
|
|
22843
|
-
this.match(HiveSqlParser.
|
|
22843
|
+
this.match(HiveSqlParser.KW_TIME);
|
|
22844
22844
|
}
|
|
22845
22845
|
break;
|
|
22846
|
-
case HiveSqlParser.
|
|
22846
|
+
case HiveSqlParser.KW_IS:
|
|
22847
22847
|
this.enterOuterAlt(localContext, 43);
|
|
22848
22848
|
{
|
|
22849
22849
|
this.state = 4533;
|
|
22850
|
-
this.match(HiveSqlParser.
|
|
22850
|
+
this.match(HiveSqlParser.KW_IS);
|
|
22851
22851
|
}
|
|
22852
22852
|
break;
|
|
22853
|
-
case HiveSqlParser.
|
|
22853
|
+
case HiveSqlParser.KW_FOR:
|
|
22854
22854
|
this.enterOuterAlt(localContext, 44);
|
|
22855
22855
|
{
|
|
22856
22856
|
this.state = 4534;
|
|
22857
|
-
this.match(HiveSqlParser.
|
|
22857
|
+
this.match(HiveSqlParser.KW_FOR);
|
|
22858
22858
|
}
|
|
22859
22859
|
break;
|
|
22860
|
-
case HiveSqlParser.
|
|
22860
|
+
case HiveSqlParser.KW_NOT:
|
|
22861
22861
|
this.enterOuterAlt(localContext, 45);
|
|
22862
22862
|
{
|
|
22863
22863
|
this.state = 4535;
|
|
22864
|
-
this.match(HiveSqlParser.
|
|
22864
|
+
this.match(HiveSqlParser.KW_NOT);
|
|
22865
22865
|
}
|
|
22866
22866
|
break;
|
|
22867
|
-
case HiveSqlParser.
|
|
22867
|
+
case HiveSqlParser.KW_BINARY:
|
|
22868
22868
|
this.enterOuterAlt(localContext, 46);
|
|
22869
22869
|
{
|
|
22870
22870
|
this.state = 4536;
|
|
22871
|
-
this.match(HiveSqlParser.
|
|
22871
|
+
this.match(HiveSqlParser.KW_BINARY);
|
|
22872
22872
|
}
|
|
22873
22873
|
break;
|
|
22874
|
-
case HiveSqlParser.
|
|
22874
|
+
case HiveSqlParser.KW_USING:
|
|
22875
22875
|
this.enterOuterAlt(localContext, 47);
|
|
22876
22876
|
{
|
|
22877
22877
|
this.state = 4537;
|
|
22878
|
-
this.match(HiveSqlParser.
|
|
22878
|
+
this.match(HiveSqlParser.KW_USING);
|
|
22879
22879
|
}
|
|
22880
22880
|
break;
|
|
22881
|
-
case HiveSqlParser.
|
|
22881
|
+
case HiveSqlParser.KW_READS:
|
|
22882
22882
|
this.enterOuterAlt(localContext, 48);
|
|
22883
22883
|
{
|
|
22884
22884
|
this.state = 4538;
|
|
22885
|
-
this.match(HiveSqlParser.
|
|
22885
|
+
this.match(HiveSqlParser.KW_READS);
|
|
22886
22886
|
}
|
|
22887
22887
|
break;
|
|
22888
|
-
case HiveSqlParser.
|
|
22888
|
+
case HiveSqlParser.KW_BETWEEN:
|
|
22889
22889
|
this.enterOuterAlt(localContext, 49);
|
|
22890
22890
|
{
|
|
22891
22891
|
this.state = 4539;
|
|
22892
|
-
this.match(HiveSqlParser.
|
|
22892
|
+
this.match(HiveSqlParser.KW_BETWEEN);
|
|
22893
22893
|
}
|
|
22894
22894
|
break;
|
|
22895
|
-
case HiveSqlParser.
|
|
22895
|
+
case HiveSqlParser.KW_CURRENT:
|
|
22896
22896
|
this.enterOuterAlt(localContext, 50);
|
|
22897
22897
|
{
|
|
22898
22898
|
this.state = 4540;
|
|
22899
|
+
this.match(HiveSqlParser.KW_CURRENT);
|
|
22900
|
+
}
|
|
22901
|
+
break;
|
|
22902
|
+
case HiveSqlParser.KW_AS:
|
|
22903
|
+
this.enterOuterAlt(localContext, 51);
|
|
22904
|
+
{
|
|
22905
|
+
this.state = 4541;
|
|
22899
22906
|
this.match(HiveSqlParser.KW_AS);
|
|
22900
22907
|
}
|
|
22901
22908
|
break;
|
|
@@ -22923,52 +22930,52 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
22923
22930
|
this.enterRule(localContext, 650, HiveSqlParser.RULE_resourcePlanDdlStatements);
|
|
22924
22931
|
let _la;
|
|
22925
22932
|
try {
|
|
22926
|
-
this.state =
|
|
22933
|
+
this.state = 4709;
|
|
22927
22934
|
this.errorHandler.sync(this);
|
|
22928
22935
|
switch (this.interpreter.adaptivePredict(this.tokenStream, 612, this.context)) {
|
|
22929
22936
|
case 1:
|
|
22930
22937
|
this.enterOuterAlt(localContext, 1);
|
|
22931
22938
|
{
|
|
22932
|
-
this.state = 4543;
|
|
22933
|
-
this.match(HiveSqlParser.KW_CREATE);
|
|
22934
22939
|
this.state = 4544;
|
|
22935
|
-
this.match(HiveSqlParser.
|
|
22940
|
+
this.match(HiveSqlParser.KW_CREATE);
|
|
22936
22941
|
this.state = 4545;
|
|
22942
|
+
this.match(HiveSqlParser.KW_RESOURCE);
|
|
22943
|
+
this.state = 4546;
|
|
22937
22944
|
this.match(HiveSqlParser.KW_PLAN);
|
|
22938
|
-
this.state =
|
|
22945
|
+
this.state = 4548;
|
|
22939
22946
|
this.errorHandler.sync(this);
|
|
22940
22947
|
_la = this.tokenStream.LA(1);
|
|
22941
22948
|
if (_la === 151) {
|
|
22942
22949
|
{
|
|
22943
|
-
this.state =
|
|
22950
|
+
this.state = 4547;
|
|
22944
22951
|
this.ifNotExists();
|
|
22945
22952
|
}
|
|
22946
22953
|
}
|
|
22947
|
-
this.state =
|
|
22954
|
+
this.state = 4559;
|
|
22948
22955
|
this.errorHandler.sync(this);
|
|
22949
22956
|
switch (this.interpreter.adaptivePredict(this.tokenStream, 598, this.context)) {
|
|
22950
22957
|
case 1:
|
|
22951
22958
|
{
|
|
22952
|
-
this.state = 4549;
|
|
22953
|
-
localContext._name = this.id_();
|
|
22954
22959
|
this.state = 4550;
|
|
22955
|
-
this.
|
|
22960
|
+
localContext._name = this.id_();
|
|
22956
22961
|
this.state = 4551;
|
|
22962
|
+
this.match(HiveSqlParser.KW_LIKE);
|
|
22963
|
+
this.state = 4552;
|
|
22957
22964
|
localContext._likeName = this.id_();
|
|
22958
22965
|
}
|
|
22959
22966
|
break;
|
|
22960
22967
|
case 2:
|
|
22961
22968
|
{
|
|
22962
|
-
this.state =
|
|
22969
|
+
this.state = 4554;
|
|
22963
22970
|
localContext._name = this.id_();
|
|
22964
|
-
this.state =
|
|
22971
|
+
this.state = 4557;
|
|
22965
22972
|
this.errorHandler.sync(this);
|
|
22966
22973
|
switch (this.interpreter.adaptivePredict(this.tokenStream, 597, this.context)) {
|
|
22967
22974
|
case 1:
|
|
22968
22975
|
{
|
|
22969
|
-
this.state = 4554;
|
|
22970
|
-
this.match(HiveSqlParser.KW_WITH);
|
|
22971
22976
|
this.state = 4555;
|
|
22977
|
+
this.match(HiveSqlParser.KW_WITH);
|
|
22978
|
+
this.state = 4556;
|
|
22972
22979
|
this.rpAssignList();
|
|
22973
22980
|
}
|
|
22974
22981
|
break;
|
|
@@ -22981,57 +22988,57 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
22981
22988
|
case 2:
|
|
22982
22989
|
this.enterOuterAlt(localContext, 2);
|
|
22983
22990
|
{
|
|
22984
|
-
this.state = 4560;
|
|
22985
|
-
this.match(HiveSqlParser.KW_ALTER);
|
|
22986
22991
|
this.state = 4561;
|
|
22987
|
-
this.match(HiveSqlParser.
|
|
22992
|
+
this.match(HiveSqlParser.KW_ALTER);
|
|
22988
22993
|
this.state = 4562;
|
|
22989
|
-
this.match(HiveSqlParser.
|
|
22994
|
+
this.match(HiveSqlParser.KW_RESOURCE);
|
|
22990
22995
|
this.state = 4563;
|
|
22996
|
+
this.match(HiveSqlParser.KW_PLAN);
|
|
22997
|
+
this.state = 4564;
|
|
22991
22998
|
localContext._name = this.id_();
|
|
22992
|
-
this.state =
|
|
22999
|
+
this.state = 4589;
|
|
22993
23000
|
this.errorHandler.sync(this);
|
|
22994
23001
|
switch (this.tokenStream.LA(1)) {
|
|
22995
23002
|
case HiveSqlParser.KW_VALIDATE:
|
|
22996
23003
|
{
|
|
22997
|
-
this.state =
|
|
23004
|
+
this.state = 4565;
|
|
22998
23005
|
this.match(HiveSqlParser.KW_VALIDATE);
|
|
22999
23006
|
}
|
|
23000
23007
|
break;
|
|
23001
23008
|
case HiveSqlParser.KW_DISABLE:
|
|
23002
23009
|
case HiveSqlParser.KW_DISABLED:
|
|
23003
23010
|
{
|
|
23004
|
-
this.state =
|
|
23011
|
+
this.state = 4566;
|
|
23005
23012
|
this.disable();
|
|
23006
23013
|
}
|
|
23007
23014
|
break;
|
|
23008
23015
|
case HiveSqlParser.KW_SET:
|
|
23009
23016
|
{
|
|
23010
|
-
this.state = 4566;
|
|
23011
|
-
this.match(HiveSqlParser.KW_SET);
|
|
23012
23017
|
this.state = 4567;
|
|
23018
|
+
this.match(HiveSqlParser.KW_SET);
|
|
23019
|
+
this.state = 4568;
|
|
23013
23020
|
this.rpAssignList();
|
|
23014
23021
|
}
|
|
23015
23022
|
break;
|
|
23016
23023
|
case HiveSqlParser.KW_UNSET:
|
|
23017
23024
|
{
|
|
23018
|
-
this.state = 4568;
|
|
23019
|
-
this.match(HiveSqlParser.KW_UNSET);
|
|
23020
23025
|
this.state = 4569;
|
|
23026
|
+
this.match(HiveSqlParser.KW_UNSET);
|
|
23027
|
+
this.state = 4570;
|
|
23021
23028
|
this.rpUnassign();
|
|
23022
|
-
this.state =
|
|
23029
|
+
this.state = 4575;
|
|
23023
23030
|
this.errorHandler.sync(this);
|
|
23024
23031
|
_la = this.tokenStream.LA(1);
|
|
23025
23032
|
while (_la === 397) {
|
|
23026
23033
|
{
|
|
23027
23034
|
{
|
|
23028
|
-
this.state = 4570;
|
|
23029
|
-
this.match(HiveSqlParser.COMMA);
|
|
23030
23035
|
this.state = 4571;
|
|
23036
|
+
this.match(HiveSqlParser.COMMA);
|
|
23037
|
+
this.state = 4572;
|
|
23031
23038
|
this.rpUnassign();
|
|
23032
23039
|
}
|
|
23033
23040
|
}
|
|
23034
|
-
this.state =
|
|
23041
|
+
this.state = 4577;
|
|
23035
23042
|
this.errorHandler.sync(this);
|
|
23036
23043
|
_la = this.tokenStream.LA(1);
|
|
23037
23044
|
}
|
|
@@ -23039,24 +23046,24 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23039
23046
|
break;
|
|
23040
23047
|
case HiveSqlParser.KW_RENAME:
|
|
23041
23048
|
{
|
|
23042
|
-
this.state = 4577;
|
|
23043
|
-
this.match(HiveSqlParser.KW_RENAME);
|
|
23044
23049
|
this.state = 4578;
|
|
23045
|
-
this.match(HiveSqlParser.
|
|
23050
|
+
this.match(HiveSqlParser.KW_RENAME);
|
|
23046
23051
|
this.state = 4579;
|
|
23052
|
+
this.match(HiveSqlParser.KW_TO);
|
|
23053
|
+
this.state = 4580;
|
|
23047
23054
|
localContext._newName = this.id_();
|
|
23048
23055
|
}
|
|
23049
23056
|
break;
|
|
23050
23057
|
case HiveSqlParser.KW_ACTIVATE:
|
|
23051
23058
|
{
|
|
23052
|
-
this.state =
|
|
23059
|
+
this.state = 4581;
|
|
23053
23060
|
this.activate();
|
|
23054
|
-
this.state =
|
|
23061
|
+
this.state = 4583;
|
|
23055
23062
|
this.errorHandler.sync(this);
|
|
23056
23063
|
switch (this.interpreter.adaptivePredict(this.tokenStream, 600, this.context)) {
|
|
23057
23064
|
case 1:
|
|
23058
23065
|
{
|
|
23059
|
-
this.state =
|
|
23066
|
+
this.state = 4582;
|
|
23060
23067
|
this.enable();
|
|
23061
23068
|
}
|
|
23062
23069
|
break;
|
|
@@ -23066,14 +23073,14 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23066
23073
|
case HiveSqlParser.KW_ENABLE:
|
|
23067
23074
|
case HiveSqlParser.KW_ENABLED:
|
|
23068
23075
|
{
|
|
23069
|
-
this.state =
|
|
23076
|
+
this.state = 4585;
|
|
23070
23077
|
this.enable();
|
|
23071
|
-
this.state =
|
|
23078
|
+
this.state = 4587;
|
|
23072
23079
|
this.errorHandler.sync(this);
|
|
23073
23080
|
_la = this.tokenStream.LA(1);
|
|
23074
23081
|
if (_la === 2) {
|
|
23075
23082
|
{
|
|
23076
|
-
this.state =
|
|
23083
|
+
this.state = 4586;
|
|
23077
23084
|
this.activate();
|
|
23078
23085
|
}
|
|
23079
23086
|
}
|
|
@@ -23087,87 +23094,87 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23087
23094
|
case 3:
|
|
23088
23095
|
this.enterOuterAlt(localContext, 3);
|
|
23089
23096
|
{
|
|
23090
|
-
this.state = 4590;
|
|
23091
|
-
this.match(HiveSqlParser.KW_DROP);
|
|
23092
23097
|
this.state = 4591;
|
|
23093
|
-
this.match(HiveSqlParser.
|
|
23098
|
+
this.match(HiveSqlParser.KW_DROP);
|
|
23094
23099
|
this.state = 4592;
|
|
23100
|
+
this.match(HiveSqlParser.KW_RESOURCE);
|
|
23101
|
+
this.state = 4593;
|
|
23095
23102
|
this.match(HiveSqlParser.KW_PLAN);
|
|
23096
|
-
this.state =
|
|
23103
|
+
this.state = 4595;
|
|
23097
23104
|
this.errorHandler.sync(this);
|
|
23098
23105
|
_la = this.tokenStream.LA(1);
|
|
23099
23106
|
if (_la === 151) {
|
|
23100
23107
|
{
|
|
23101
|
-
this.state =
|
|
23108
|
+
this.state = 4594;
|
|
23102
23109
|
this.ifExists();
|
|
23103
23110
|
}
|
|
23104
23111
|
}
|
|
23105
|
-
this.state =
|
|
23112
|
+
this.state = 4597;
|
|
23106
23113
|
localContext._name = this.id_();
|
|
23107
23114
|
}
|
|
23108
23115
|
break;
|
|
23109
23116
|
case 4:
|
|
23110
23117
|
this.enterOuterAlt(localContext, 4);
|
|
23111
23118
|
{
|
|
23112
|
-
this.state =
|
|
23119
|
+
this.state = 4600;
|
|
23113
23120
|
this.errorHandler.sync(this);
|
|
23114
23121
|
switch (this.tokenStream.LA(1)) {
|
|
23115
23122
|
case HiveSqlParser.KW_ENABLE:
|
|
23116
23123
|
case HiveSqlParser.KW_ENABLED:
|
|
23117
23124
|
{
|
|
23118
|
-
this.state =
|
|
23125
|
+
this.state = 4598;
|
|
23119
23126
|
this.enable();
|
|
23120
23127
|
}
|
|
23121
23128
|
break;
|
|
23122
23129
|
case HiveSqlParser.KW_DISABLE:
|
|
23123
23130
|
case HiveSqlParser.KW_DISABLED:
|
|
23124
23131
|
{
|
|
23125
|
-
this.state =
|
|
23132
|
+
this.state = 4599;
|
|
23126
23133
|
this.disable();
|
|
23127
23134
|
}
|
|
23128
23135
|
break;
|
|
23129
23136
|
default:
|
|
23130
23137
|
throw new antlr.NoViableAltException(this);
|
|
23131
23138
|
}
|
|
23132
|
-
this.state = 4601;
|
|
23133
|
-
this.match(HiveSqlParser.KW_WORKLOAD);
|
|
23134
23139
|
this.state = 4602;
|
|
23140
|
+
this.match(HiveSqlParser.KW_WORKLOAD);
|
|
23141
|
+
this.state = 4603;
|
|
23135
23142
|
this.match(HiveSqlParser.KW_MANAGEMENT);
|
|
23136
23143
|
}
|
|
23137
23144
|
break;
|
|
23138
23145
|
case 5:
|
|
23139
23146
|
this.enterOuterAlt(localContext, 5);
|
|
23140
23147
|
{
|
|
23141
|
-
this.state =
|
|
23148
|
+
this.state = 4605;
|
|
23142
23149
|
this.match(HiveSqlParser.KW_REPLACE);
|
|
23143
|
-
this.state =
|
|
23150
|
+
this.state = 4617;
|
|
23144
23151
|
this.errorHandler.sync(this);
|
|
23145
23152
|
switch (this.tokenStream.LA(1)) {
|
|
23146
23153
|
case HiveSqlParser.KW_ACTIVE:
|
|
23147
23154
|
{
|
|
23148
|
-
this.state = 4605;
|
|
23149
|
-
this.match(HiveSqlParser.KW_ACTIVE);
|
|
23150
23155
|
this.state = 4606;
|
|
23151
|
-
this.match(HiveSqlParser.
|
|
23156
|
+
this.match(HiveSqlParser.KW_ACTIVE);
|
|
23152
23157
|
this.state = 4607;
|
|
23153
|
-
this.match(HiveSqlParser.
|
|
23158
|
+
this.match(HiveSqlParser.KW_RESOURCE);
|
|
23154
23159
|
this.state = 4608;
|
|
23155
|
-
this.match(HiveSqlParser.
|
|
23160
|
+
this.match(HiveSqlParser.KW_PLAN);
|
|
23156
23161
|
this.state = 4609;
|
|
23162
|
+
this.match(HiveSqlParser.KW_WITH);
|
|
23163
|
+
this.state = 4610;
|
|
23157
23164
|
localContext._src = this.id_();
|
|
23158
23165
|
}
|
|
23159
23166
|
break;
|
|
23160
23167
|
case HiveSqlParser.KW_RESOURCE:
|
|
23161
23168
|
{
|
|
23162
|
-
this.state = 4610;
|
|
23163
|
-
this.match(HiveSqlParser.KW_RESOURCE);
|
|
23164
23169
|
this.state = 4611;
|
|
23165
|
-
this.match(HiveSqlParser.
|
|
23170
|
+
this.match(HiveSqlParser.KW_RESOURCE);
|
|
23166
23171
|
this.state = 4612;
|
|
23167
|
-
|
|
23172
|
+
this.match(HiveSqlParser.KW_PLAN);
|
|
23168
23173
|
this.state = 4613;
|
|
23169
|
-
this.
|
|
23174
|
+
localContext._dest = this.id_();
|
|
23170
23175
|
this.state = 4614;
|
|
23176
|
+
this.match(HiveSqlParser.KW_WITH);
|
|
23177
|
+
this.state = 4615;
|
|
23171
23178
|
localContext._src = this.id_();
|
|
23172
23179
|
}
|
|
23173
23180
|
break;
|
|
@@ -23179,93 +23186,93 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23179
23186
|
case 6:
|
|
23180
23187
|
this.enterOuterAlt(localContext, 6);
|
|
23181
23188
|
{
|
|
23182
|
-
this.state = 4618;
|
|
23183
|
-
this.match(HiveSqlParser.KW_CREATE);
|
|
23184
23189
|
this.state = 4619;
|
|
23185
|
-
this.match(HiveSqlParser.
|
|
23190
|
+
this.match(HiveSqlParser.KW_CREATE);
|
|
23186
23191
|
this.state = 4620;
|
|
23187
|
-
|
|
23192
|
+
this.match(HiveSqlParser.KW_TRIGGER);
|
|
23188
23193
|
this.state = 4621;
|
|
23189
|
-
this.
|
|
23194
|
+
localContext._rpName = this.id_();
|
|
23190
23195
|
this.state = 4622;
|
|
23191
|
-
|
|
23196
|
+
this.match(HiveSqlParser.DOT);
|
|
23192
23197
|
this.state = 4623;
|
|
23193
|
-
this.
|
|
23198
|
+
localContext._triggerName = this.id_();
|
|
23194
23199
|
this.state = 4624;
|
|
23195
|
-
this.
|
|
23200
|
+
this.match(HiveSqlParser.KW_WHEN);
|
|
23196
23201
|
this.state = 4625;
|
|
23197
|
-
this.
|
|
23202
|
+
this.triggerAtomExpression();
|
|
23198
23203
|
this.state = 4626;
|
|
23204
|
+
this.match(HiveSqlParser.KW_DO);
|
|
23205
|
+
this.state = 4627;
|
|
23199
23206
|
this.triggerActionExpression();
|
|
23200
23207
|
}
|
|
23201
23208
|
break;
|
|
23202
23209
|
case 7:
|
|
23203
23210
|
this.enterOuterAlt(localContext, 7);
|
|
23204
23211
|
{
|
|
23205
|
-
this.state = 4628;
|
|
23206
|
-
this.match(HiveSqlParser.KW_ALTER);
|
|
23207
23212
|
this.state = 4629;
|
|
23208
|
-
this.match(HiveSqlParser.
|
|
23213
|
+
this.match(HiveSqlParser.KW_ALTER);
|
|
23209
23214
|
this.state = 4630;
|
|
23210
|
-
|
|
23215
|
+
this.match(HiveSqlParser.KW_TRIGGER);
|
|
23211
23216
|
this.state = 4631;
|
|
23212
|
-
this.
|
|
23217
|
+
localContext._rpName = this.id_();
|
|
23213
23218
|
this.state = 4632;
|
|
23219
|
+
this.match(HiveSqlParser.DOT);
|
|
23220
|
+
this.state = 4633;
|
|
23214
23221
|
localContext._triggerName = this.id_();
|
|
23215
|
-
this.state =
|
|
23222
|
+
this.state = 4650;
|
|
23216
23223
|
this.errorHandler.sync(this);
|
|
23217
23224
|
switch (this.tokenStream.LA(1)) {
|
|
23218
23225
|
case HiveSqlParser.KW_WHEN:
|
|
23219
23226
|
{
|
|
23220
|
-
this.state = 4633;
|
|
23221
|
-
this.match(HiveSqlParser.KW_WHEN);
|
|
23222
23227
|
this.state = 4634;
|
|
23223
|
-
this.
|
|
23228
|
+
this.match(HiveSqlParser.KW_WHEN);
|
|
23224
23229
|
this.state = 4635;
|
|
23225
|
-
this.
|
|
23230
|
+
this.triggerAtomExpression();
|
|
23226
23231
|
this.state = 4636;
|
|
23232
|
+
this.match(HiveSqlParser.KW_DO);
|
|
23233
|
+
this.state = 4637;
|
|
23227
23234
|
this.triggerActionExpression();
|
|
23228
23235
|
}
|
|
23229
23236
|
break;
|
|
23230
23237
|
case HiveSqlParser.KW_ADD:
|
|
23231
23238
|
case HiveSqlParser.KW_DROP:
|
|
23232
23239
|
{
|
|
23233
|
-
this.state =
|
|
23240
|
+
this.state = 4643;
|
|
23234
23241
|
this.errorHandler.sync(this);
|
|
23235
23242
|
switch (this.tokenStream.LA(1)) {
|
|
23236
23243
|
case HiveSqlParser.KW_ADD:
|
|
23237
23244
|
{
|
|
23238
|
-
this.state = 4638;
|
|
23239
|
-
this.match(HiveSqlParser.KW_ADD);
|
|
23240
23245
|
this.state = 4639;
|
|
23246
|
+
this.match(HiveSqlParser.KW_ADD);
|
|
23247
|
+
this.state = 4640;
|
|
23241
23248
|
this.match(HiveSqlParser.KW_TO);
|
|
23242
23249
|
}
|
|
23243
23250
|
break;
|
|
23244
23251
|
case HiveSqlParser.KW_DROP:
|
|
23245
23252
|
{
|
|
23246
|
-
this.state = 4640;
|
|
23247
|
-
this.match(HiveSqlParser.KW_DROP);
|
|
23248
23253
|
this.state = 4641;
|
|
23254
|
+
this.match(HiveSqlParser.KW_DROP);
|
|
23255
|
+
this.state = 4642;
|
|
23249
23256
|
this.match(HiveSqlParser.KW_FROM);
|
|
23250
23257
|
}
|
|
23251
23258
|
break;
|
|
23252
23259
|
default:
|
|
23253
23260
|
throw new antlr.NoViableAltException(this);
|
|
23254
23261
|
}
|
|
23255
|
-
this.state =
|
|
23262
|
+
this.state = 4648;
|
|
23256
23263
|
this.errorHandler.sync(this);
|
|
23257
23264
|
switch (this.tokenStream.LA(1)) {
|
|
23258
23265
|
case HiveSqlParser.KW_POOL:
|
|
23259
23266
|
{
|
|
23260
|
-
this.state = 4644;
|
|
23261
|
-
this.match(HiveSqlParser.KW_POOL);
|
|
23262
23267
|
this.state = 4645;
|
|
23268
|
+
this.match(HiveSqlParser.KW_POOL);
|
|
23269
|
+
this.state = 4646;
|
|
23263
23270
|
localContext._poolName = this.poolPath();
|
|
23264
23271
|
}
|
|
23265
23272
|
break;
|
|
23266
23273
|
case HiveSqlParser.KW_UNMANAGED:
|
|
23267
23274
|
{
|
|
23268
|
-
this.state =
|
|
23275
|
+
this.state = 4647;
|
|
23269
23276
|
this.match(HiveSqlParser.KW_UNMANAGED);
|
|
23270
23277
|
}
|
|
23271
23278
|
break;
|
|
@@ -23282,73 +23289,73 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23282
23289
|
case 8:
|
|
23283
23290
|
this.enterOuterAlt(localContext, 8);
|
|
23284
23291
|
{
|
|
23285
|
-
this.state = 4651;
|
|
23286
|
-
this.match(HiveSqlParser.KW_DROP);
|
|
23287
23292
|
this.state = 4652;
|
|
23288
|
-
this.match(HiveSqlParser.
|
|
23293
|
+
this.match(HiveSqlParser.KW_DROP);
|
|
23289
23294
|
this.state = 4653;
|
|
23290
|
-
|
|
23295
|
+
this.match(HiveSqlParser.KW_TRIGGER);
|
|
23291
23296
|
this.state = 4654;
|
|
23292
|
-
this.
|
|
23297
|
+
localContext._rpName = this.id_();
|
|
23293
23298
|
this.state = 4655;
|
|
23299
|
+
this.match(HiveSqlParser.DOT);
|
|
23300
|
+
this.state = 4656;
|
|
23294
23301
|
localContext._triggerName = this.id_();
|
|
23295
23302
|
}
|
|
23296
23303
|
break;
|
|
23297
23304
|
case 9:
|
|
23298
23305
|
this.enterOuterAlt(localContext, 9);
|
|
23299
23306
|
{
|
|
23300
|
-
this.state = 4657;
|
|
23301
|
-
this.match(HiveSqlParser.KW_CREATE);
|
|
23302
23307
|
this.state = 4658;
|
|
23303
|
-
this.match(HiveSqlParser.
|
|
23308
|
+
this.match(HiveSqlParser.KW_CREATE);
|
|
23304
23309
|
this.state = 4659;
|
|
23305
|
-
|
|
23310
|
+
this.match(HiveSqlParser.KW_POOL);
|
|
23306
23311
|
this.state = 4660;
|
|
23307
|
-
this.
|
|
23312
|
+
localContext._rpName = this.id_();
|
|
23308
23313
|
this.state = 4661;
|
|
23309
|
-
this.
|
|
23314
|
+
this.match(HiveSqlParser.DOT);
|
|
23310
23315
|
this.state = 4662;
|
|
23311
|
-
this.
|
|
23316
|
+
this.poolPath();
|
|
23312
23317
|
this.state = 4663;
|
|
23318
|
+
this.match(HiveSqlParser.KW_WITH);
|
|
23319
|
+
this.state = 4664;
|
|
23313
23320
|
this.poolAssignList();
|
|
23314
23321
|
}
|
|
23315
23322
|
break;
|
|
23316
23323
|
case 10:
|
|
23317
23324
|
this.enterOuterAlt(localContext, 10);
|
|
23318
23325
|
{
|
|
23319
|
-
this.state = 4665;
|
|
23320
|
-
this.match(HiveSqlParser.KW_ALTER);
|
|
23321
23326
|
this.state = 4666;
|
|
23322
|
-
this.match(HiveSqlParser.
|
|
23327
|
+
this.match(HiveSqlParser.KW_ALTER);
|
|
23323
23328
|
this.state = 4667;
|
|
23324
|
-
|
|
23329
|
+
this.match(HiveSqlParser.KW_POOL);
|
|
23325
23330
|
this.state = 4668;
|
|
23326
|
-
this.
|
|
23331
|
+
localContext._rpName = this.id_();
|
|
23327
23332
|
this.state = 4669;
|
|
23333
|
+
this.match(HiveSqlParser.DOT);
|
|
23334
|
+
this.state = 4670;
|
|
23328
23335
|
this.poolPath();
|
|
23329
|
-
this.state =
|
|
23336
|
+
this.state = 4678;
|
|
23330
23337
|
this.errorHandler.sync(this);
|
|
23331
23338
|
switch (this.tokenStream.LA(1)) {
|
|
23332
23339
|
case HiveSqlParser.KW_SET:
|
|
23333
23340
|
{
|
|
23334
|
-
this.state = 4670;
|
|
23335
|
-
this.match(HiveSqlParser.KW_SET);
|
|
23336
23341
|
this.state = 4671;
|
|
23342
|
+
this.match(HiveSqlParser.KW_SET);
|
|
23343
|
+
this.state = 4672;
|
|
23337
23344
|
this.poolAssignList();
|
|
23338
23345
|
}
|
|
23339
23346
|
break;
|
|
23340
23347
|
case HiveSqlParser.KW_UNSET:
|
|
23341
23348
|
{
|
|
23342
|
-
this.state = 4672;
|
|
23343
|
-
this.match(HiveSqlParser.KW_UNSET);
|
|
23344
23349
|
this.state = 4673;
|
|
23350
|
+
this.match(HiveSqlParser.KW_UNSET);
|
|
23351
|
+
this.state = 4674;
|
|
23345
23352
|
this.match(HiveSqlParser.KW_SCHEDULING_POLICY);
|
|
23346
23353
|
}
|
|
23347
23354
|
break;
|
|
23348
23355
|
case HiveSqlParser.KW_ADD:
|
|
23349
23356
|
case HiveSqlParser.KW_DROP:
|
|
23350
23357
|
{
|
|
23351
|
-
this.state =
|
|
23358
|
+
this.state = 4675;
|
|
23352
23359
|
_la = this.tokenStream.LA(1);
|
|
23353
23360
|
if (!(_la === 4 || _la === 101)) {
|
|
23354
23361
|
this.errorHandler.recoverInline(this);
|
|
@@ -23357,9 +23364,9 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23357
23364
|
this.errorHandler.reportMatch(this);
|
|
23358
23365
|
this.consume();
|
|
23359
23366
|
}
|
|
23360
|
-
this.state = 4675;
|
|
23361
|
-
this.match(HiveSqlParser.KW_TRIGGER);
|
|
23362
23367
|
this.state = 4676;
|
|
23368
|
+
this.match(HiveSqlParser.KW_TRIGGER);
|
|
23369
|
+
this.state = 4677;
|
|
23363
23370
|
localContext._triggerName = this.id_();
|
|
23364
23371
|
}
|
|
23365
23372
|
break;
|
|
@@ -23371,22 +23378,22 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23371
23378
|
case 11:
|
|
23372
23379
|
this.enterOuterAlt(localContext, 11);
|
|
23373
23380
|
{
|
|
23374
|
-
this.state = 4679;
|
|
23375
|
-
this.match(HiveSqlParser.KW_DROP);
|
|
23376
23381
|
this.state = 4680;
|
|
23377
|
-
this.match(HiveSqlParser.
|
|
23382
|
+
this.match(HiveSqlParser.KW_DROP);
|
|
23378
23383
|
this.state = 4681;
|
|
23379
|
-
|
|
23384
|
+
this.match(HiveSqlParser.KW_POOL);
|
|
23380
23385
|
this.state = 4682;
|
|
23381
|
-
this.
|
|
23386
|
+
localContext._rpName = this.id_();
|
|
23382
23387
|
this.state = 4683;
|
|
23388
|
+
this.match(HiveSqlParser.DOT);
|
|
23389
|
+
this.state = 4684;
|
|
23383
23390
|
this.poolPath();
|
|
23384
23391
|
}
|
|
23385
23392
|
break;
|
|
23386
23393
|
case 12:
|
|
23387
23394
|
this.enterOuterAlt(localContext, 12);
|
|
23388
23395
|
{
|
|
23389
|
-
this.state =
|
|
23396
|
+
this.state = 4686;
|
|
23390
23397
|
_la = this.tokenStream.LA(1);
|
|
23391
23398
|
if (!(_la === 9 || _la === 58)) {
|
|
23392
23399
|
this.errorHandler.recoverInline(this);
|
|
@@ -23395,46 +23402,46 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23395
23402
|
this.errorHandler.reportMatch(this);
|
|
23396
23403
|
this.consume();
|
|
23397
23404
|
}
|
|
23398
|
-
this.state = 4686;
|
|
23399
|
-
localContext._mappingType = this.mappingTypes();
|
|
23400
23405
|
this.state = 4687;
|
|
23401
|
-
this.
|
|
23406
|
+
localContext._mappingType = this.mappingTypes();
|
|
23402
23407
|
this.state = 4688;
|
|
23403
|
-
this.match(HiveSqlParser.
|
|
23408
|
+
this.match(HiveSqlParser.KW_MAPPING);
|
|
23404
23409
|
this.state = 4689;
|
|
23405
|
-
this.match(HiveSqlParser.
|
|
23410
|
+
this.match(HiveSqlParser.StringLiteral);
|
|
23406
23411
|
this.state = 4690;
|
|
23412
|
+
this.match(HiveSqlParser.KW_IN);
|
|
23413
|
+
this.state = 4691;
|
|
23407
23414
|
localContext._rpName = this.id_();
|
|
23408
|
-
this.state =
|
|
23415
|
+
this.state = 4695;
|
|
23409
23416
|
this.errorHandler.sync(this);
|
|
23410
23417
|
switch (this.tokenStream.LA(1)) {
|
|
23411
23418
|
case HiveSqlParser.KW_TO:
|
|
23412
23419
|
{
|
|
23413
|
-
this.state = 4691;
|
|
23414
|
-
this.match(HiveSqlParser.KW_TO);
|
|
23415
23420
|
this.state = 4692;
|
|
23421
|
+
this.match(HiveSqlParser.KW_TO);
|
|
23422
|
+
this.state = 4693;
|
|
23416
23423
|
localContext._path = this.poolPath();
|
|
23417
23424
|
}
|
|
23418
23425
|
break;
|
|
23419
23426
|
case HiveSqlParser.KW_UNMANAGED:
|
|
23420
23427
|
{
|
|
23421
|
-
this.state =
|
|
23428
|
+
this.state = 4694;
|
|
23422
23429
|
this.match(HiveSqlParser.KW_UNMANAGED);
|
|
23423
23430
|
}
|
|
23424
23431
|
break;
|
|
23425
23432
|
default:
|
|
23426
23433
|
throw new antlr.NoViableAltException(this);
|
|
23427
23434
|
}
|
|
23428
|
-
this.state =
|
|
23435
|
+
this.state = 4700;
|
|
23429
23436
|
this.errorHandler.sync(this);
|
|
23430
23437
|
switch (this.interpreter.adaptivePredict(this.tokenStream, 611, this.context)) {
|
|
23431
23438
|
case 1:
|
|
23432
23439
|
{
|
|
23433
|
-
this.state = 4696;
|
|
23434
|
-
this.match(HiveSqlParser.KW_WITH);
|
|
23435
23440
|
this.state = 4697;
|
|
23436
|
-
this.match(HiveSqlParser.
|
|
23441
|
+
this.match(HiveSqlParser.KW_WITH);
|
|
23437
23442
|
this.state = 4698;
|
|
23443
|
+
this.match(HiveSqlParser.KW_ORDER);
|
|
23444
|
+
this.state = 4699;
|
|
23438
23445
|
localContext._order = this.match(HiveSqlParser.Number);
|
|
23439
23446
|
}
|
|
23440
23447
|
break;
|
|
@@ -23444,17 +23451,17 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23444
23451
|
case 13:
|
|
23445
23452
|
this.enterOuterAlt(localContext, 13);
|
|
23446
23453
|
{
|
|
23447
|
-
this.state = 4701;
|
|
23448
|
-
this.match(HiveSqlParser.KW_DROP);
|
|
23449
23454
|
this.state = 4702;
|
|
23450
|
-
|
|
23455
|
+
this.match(HiveSqlParser.KW_DROP);
|
|
23451
23456
|
this.state = 4703;
|
|
23452
|
-
this.
|
|
23457
|
+
localContext._mappingType = this.mappingTypes();
|
|
23453
23458
|
this.state = 4704;
|
|
23454
|
-
this.match(HiveSqlParser.
|
|
23459
|
+
this.match(HiveSqlParser.KW_MAPPING);
|
|
23455
23460
|
this.state = 4705;
|
|
23456
|
-
this.match(HiveSqlParser.
|
|
23461
|
+
this.match(HiveSqlParser.StringLiteral);
|
|
23457
23462
|
this.state = 4706;
|
|
23463
|
+
this.match(HiveSqlParser.KW_IN);
|
|
23464
|
+
this.state = 4707;
|
|
23458
23465
|
localContext._rpName = this.id_();
|
|
23459
23466
|
}
|
|
23460
23467
|
break;
|
|
@@ -23482,7 +23489,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23482
23489
|
try {
|
|
23483
23490
|
this.enterOuterAlt(localContext, 1);
|
|
23484
23491
|
{
|
|
23485
|
-
this.state =
|
|
23492
|
+
this.state = 4711;
|
|
23486
23493
|
_la = this.tokenStream.LA(1);
|
|
23487
23494
|
if (!(_la === 14 || _la === 144 || _la === 369)) {
|
|
23488
23495
|
this.errorHandler.recoverInline(this);
|
|
@@ -23512,30 +23519,30 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23512
23519
|
let localContext = new RpAssignContext(this.context, this.state);
|
|
23513
23520
|
this.enterRule(localContext, 654, HiveSqlParser.RULE_rpAssign);
|
|
23514
23521
|
try {
|
|
23515
|
-
this.state =
|
|
23522
|
+
this.state = 4720;
|
|
23516
23523
|
this.errorHandler.sync(this);
|
|
23517
23524
|
switch (this.tokenStream.LA(1)) {
|
|
23518
23525
|
case HiveSqlParser.KW_QUERY_PARALLELISM:
|
|
23519
23526
|
this.enterOuterAlt(localContext, 1);
|
|
23520
23527
|
{
|
|
23521
|
-
this.state = 4712;
|
|
23522
|
-
this.match(HiveSqlParser.KW_QUERY_PARALLELISM);
|
|
23523
23528
|
this.state = 4713;
|
|
23524
|
-
this.match(HiveSqlParser.
|
|
23529
|
+
this.match(HiveSqlParser.KW_QUERY_PARALLELISM);
|
|
23525
23530
|
this.state = 4714;
|
|
23531
|
+
this.match(HiveSqlParser.EQUAL);
|
|
23532
|
+
this.state = 4715;
|
|
23526
23533
|
localContext._parallelism = this.match(HiveSqlParser.Number);
|
|
23527
23534
|
}
|
|
23528
23535
|
break;
|
|
23529
23536
|
case HiveSqlParser.KW_DEFAULT:
|
|
23530
23537
|
this.enterOuterAlt(localContext, 2);
|
|
23531
23538
|
{
|
|
23532
|
-
this.state = 4715;
|
|
23533
|
-
this.match(HiveSqlParser.KW_DEFAULT);
|
|
23534
23539
|
this.state = 4716;
|
|
23535
|
-
this.match(HiveSqlParser.
|
|
23540
|
+
this.match(HiveSqlParser.KW_DEFAULT);
|
|
23536
23541
|
this.state = 4717;
|
|
23537
|
-
this.match(HiveSqlParser.
|
|
23542
|
+
this.match(HiveSqlParser.KW_POOL);
|
|
23538
23543
|
this.state = 4718;
|
|
23544
|
+
this.match(HiveSqlParser.EQUAL);
|
|
23545
|
+
this.state = 4719;
|
|
23539
23546
|
this.poolPath();
|
|
23540
23547
|
}
|
|
23541
23548
|
break;
|
|
@@ -23565,21 +23572,21 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23565
23572
|
try {
|
|
23566
23573
|
this.enterOuterAlt(localContext, 1);
|
|
23567
23574
|
{
|
|
23568
|
-
this.state =
|
|
23575
|
+
this.state = 4722;
|
|
23569
23576
|
this.rpAssign();
|
|
23570
|
-
this.state =
|
|
23577
|
+
this.state = 4727;
|
|
23571
23578
|
this.errorHandler.sync(this);
|
|
23572
23579
|
_la = this.tokenStream.LA(1);
|
|
23573
23580
|
while (_la === 397) {
|
|
23574
23581
|
{
|
|
23575
23582
|
{
|
|
23576
|
-
this.state = 4722;
|
|
23577
|
-
this.match(HiveSqlParser.COMMA);
|
|
23578
23583
|
this.state = 4723;
|
|
23584
|
+
this.match(HiveSqlParser.COMMA);
|
|
23585
|
+
this.state = 4724;
|
|
23579
23586
|
this.rpAssign();
|
|
23580
23587
|
}
|
|
23581
23588
|
}
|
|
23582
|
-
this.state =
|
|
23589
|
+
this.state = 4729;
|
|
23583
23590
|
this.errorHandler.sync(this);
|
|
23584
23591
|
_la = this.tokenStream.LA(1);
|
|
23585
23592
|
}
|
|
@@ -23604,22 +23611,22 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23604
23611
|
let localContext = new RpUnassignContext(this.context, this.state);
|
|
23605
23612
|
this.enterRule(localContext, 658, HiveSqlParser.RULE_rpUnassign);
|
|
23606
23613
|
try {
|
|
23607
|
-
this.state =
|
|
23614
|
+
this.state = 4733;
|
|
23608
23615
|
this.errorHandler.sync(this);
|
|
23609
23616
|
switch (this.tokenStream.LA(1)) {
|
|
23610
23617
|
case HiveSqlParser.KW_QUERY_PARALLELISM:
|
|
23611
23618
|
this.enterOuterAlt(localContext, 1);
|
|
23612
23619
|
{
|
|
23613
|
-
this.state =
|
|
23620
|
+
this.state = 4730;
|
|
23614
23621
|
this.match(HiveSqlParser.KW_QUERY_PARALLELISM);
|
|
23615
23622
|
}
|
|
23616
23623
|
break;
|
|
23617
23624
|
case HiveSqlParser.KW_DEFAULT:
|
|
23618
23625
|
this.enterOuterAlt(localContext, 2);
|
|
23619
23626
|
{
|
|
23620
|
-
this.state = 4730;
|
|
23621
|
-
this.match(HiveSqlParser.KW_DEFAULT);
|
|
23622
23627
|
this.state = 4731;
|
|
23628
|
+
this.match(HiveSqlParser.KW_DEFAULT);
|
|
23629
|
+
this.state = 4732;
|
|
23623
23630
|
this.match(HiveSqlParser.KW_POOL);
|
|
23624
23631
|
}
|
|
23625
23632
|
break;
|
|
@@ -23648,16 +23655,16 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23648
23655
|
try {
|
|
23649
23656
|
this.enterOuterAlt(localContext, 1);
|
|
23650
23657
|
{
|
|
23651
|
-
this.state =
|
|
23658
|
+
this.state = 4735;
|
|
23652
23659
|
this.match(HiveSqlParser.KW_ACTIVATE);
|
|
23653
|
-
this.state =
|
|
23660
|
+
this.state = 4738;
|
|
23654
23661
|
this.errorHandler.sync(this);
|
|
23655
23662
|
switch (this.interpreter.adaptivePredict(this.tokenStream, 616, this.context)) {
|
|
23656
23663
|
case 1:
|
|
23657
23664
|
{
|
|
23658
|
-
this.state = 4735;
|
|
23659
|
-
this.match(HiveSqlParser.KW_WITH);
|
|
23660
23665
|
this.state = 4736;
|
|
23666
|
+
this.match(HiveSqlParser.KW_WITH);
|
|
23667
|
+
this.state = 4737;
|
|
23661
23668
|
this.match(HiveSqlParser.KW_REPLACE);
|
|
23662
23669
|
}
|
|
23663
23670
|
break;
|
|
@@ -23686,7 +23693,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23686
23693
|
try {
|
|
23687
23694
|
this.enterOuterAlt(localContext, 1);
|
|
23688
23695
|
{
|
|
23689
|
-
this.state =
|
|
23696
|
+
this.state = 4740;
|
|
23690
23697
|
_la = this.tokenStream.LA(1);
|
|
23691
23698
|
if (!(_la === 106 || _la === 107)) {
|
|
23692
23699
|
this.errorHandler.recoverInline(this);
|
|
@@ -23719,7 +23726,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23719
23726
|
try {
|
|
23720
23727
|
this.enterOuterAlt(localContext, 1);
|
|
23721
23728
|
{
|
|
23722
|
-
this.state =
|
|
23729
|
+
this.state = 4742;
|
|
23723
23730
|
_la = this.tokenStream.LA(1);
|
|
23724
23731
|
if (!(_la === 94 || _la === 95)) {
|
|
23725
23732
|
this.errorHandler.recoverInline(this);
|
|
@@ -23752,7 +23759,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23752
23759
|
try {
|
|
23753
23760
|
this.enterOuterAlt(localContext, 1);
|
|
23754
23761
|
{
|
|
23755
|
-
this.state =
|
|
23762
|
+
this.state = 4744;
|
|
23756
23763
|
_la = this.tokenStream.LA(1);
|
|
23757
23764
|
if (!(_la === 392 || _la === 393)) {
|
|
23758
23765
|
this.errorHandler.recoverInline(this);
|
|
@@ -23785,7 +23792,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23785
23792
|
try {
|
|
23786
23793
|
this.enterOuterAlt(localContext, 1);
|
|
23787
23794
|
{
|
|
23788
|
-
this.state =
|
|
23795
|
+
this.state = 4746;
|
|
23789
23796
|
_la = this.tokenStream.LA(1);
|
|
23790
23797
|
if (!(_la === 208 || _la === 209)) {
|
|
23791
23798
|
this.errorHandler.recoverInline(this);
|
|
@@ -23818,7 +23825,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23818
23825
|
try {
|
|
23819
23826
|
this.enterOuterAlt(localContext, 1);
|
|
23820
23827
|
{
|
|
23821
|
-
this.state =
|
|
23828
|
+
this.state = 4748;
|
|
23822
23829
|
_la = this.tokenStream.LA(1);
|
|
23823
23830
|
if (!(_la === 381 || _la === 382)) {
|
|
23824
23831
|
this.errorHandler.recoverInline(this);
|
|
@@ -23851,7 +23858,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23851
23858
|
try {
|
|
23852
23859
|
this.enterOuterAlt(localContext, 1);
|
|
23853
23860
|
{
|
|
23854
|
-
this.state =
|
|
23861
|
+
this.state = 4750;
|
|
23855
23862
|
_la = this.tokenStream.LA(1);
|
|
23856
23863
|
if (!(_la === 73 || _la === 74)) {
|
|
23857
23864
|
this.errorHandler.recoverInline(this);
|
|
@@ -23884,7 +23891,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23884
23891
|
try {
|
|
23885
23892
|
this.enterOuterAlt(localContext, 1);
|
|
23886
23893
|
{
|
|
23887
|
-
this.state =
|
|
23894
|
+
this.state = 4752;
|
|
23888
23895
|
_la = this.tokenStream.LA(1);
|
|
23889
23896
|
if (!(_la === 148 || _la === 149)) {
|
|
23890
23897
|
this.errorHandler.recoverInline(this);
|
|
@@ -23917,7 +23924,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23917
23924
|
try {
|
|
23918
23925
|
this.enterOuterAlt(localContext, 1);
|
|
23919
23926
|
{
|
|
23920
|
-
this.state =
|
|
23927
|
+
this.state = 4754;
|
|
23921
23928
|
_la = this.tokenStream.LA(1);
|
|
23922
23929
|
if (!(_la === 206 || _la === 207)) {
|
|
23923
23930
|
this.errorHandler.recoverInline(this);
|
|
@@ -23950,7 +23957,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23950
23957
|
try {
|
|
23951
23958
|
this.enterOuterAlt(localContext, 1);
|
|
23952
23959
|
{
|
|
23953
|
-
this.state =
|
|
23960
|
+
this.state = 4756;
|
|
23954
23961
|
_la = this.tokenStream.LA(1);
|
|
23955
23962
|
if (!(_la === 297 || _la === 298)) {
|
|
23956
23963
|
this.errorHandler.recoverInline(this);
|
|
@@ -23983,7 +23990,7 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
23983
23990
|
try {
|
|
23984
23991
|
this.enterOuterAlt(localContext, 1);
|
|
23985
23992
|
{
|
|
23986
|
-
this.state =
|
|
23993
|
+
this.state = 4758;
|
|
23987
23994
|
_la = this.tokenStream.LA(1);
|
|
23988
23995
|
if (!(((((_la - 80)) & ~0x1F) === 0 && ((1 << (_la - 80)) & 7) !== 0))) {
|
|
23989
23996
|
this.errorHandler.recoverInline(this);
|
|
@@ -24016,23 +24023,23 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
24016
24023
|
let alternative;
|
|
24017
24024
|
this.enterOuterAlt(localContext, 1);
|
|
24018
24025
|
{
|
|
24019
|
-
this.state =
|
|
24026
|
+
this.state = 4760;
|
|
24020
24027
|
this.id_();
|
|
24021
|
-
this.state =
|
|
24028
|
+
this.state = 4765;
|
|
24022
24029
|
this.errorHandler.sync(this);
|
|
24023
24030
|
alternative = this.interpreter.adaptivePredict(this.tokenStream, 617, this.context);
|
|
24024
24031
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
24025
24032
|
if (alternative === 1) {
|
|
24026
24033
|
{
|
|
24027
24034
|
{
|
|
24028
|
-
this.state = 4760;
|
|
24029
|
-
this.match(HiveSqlParser.DOT);
|
|
24030
24035
|
this.state = 4761;
|
|
24036
|
+
this.match(HiveSqlParser.DOT);
|
|
24037
|
+
this.state = 4762;
|
|
24031
24038
|
this.id_();
|
|
24032
24039
|
}
|
|
24033
24040
|
}
|
|
24034
24041
|
}
|
|
24035
|
-
this.state =
|
|
24042
|
+
this.state = 4767;
|
|
24036
24043
|
this.errorHandler.sync(this);
|
|
24037
24044
|
alternative = this.interpreter.adaptivePredict(this.tokenStream, 617, this.context);
|
|
24038
24045
|
}
|
|
@@ -24060,11 +24067,11 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
24060
24067
|
try {
|
|
24061
24068
|
this.enterOuterAlt(localContext, 1);
|
|
24062
24069
|
{
|
|
24063
|
-
this.state = 4767;
|
|
24064
|
-
this.id_();
|
|
24065
24070
|
this.state = 4768;
|
|
24066
|
-
this.
|
|
24071
|
+
this.id_();
|
|
24067
24072
|
this.state = 4769;
|
|
24073
|
+
this.match(HiveSqlParser.GREATERTHAN);
|
|
24074
|
+
this.state = 4770;
|
|
24068
24075
|
_la = this.tokenStream.LA(1);
|
|
24069
24076
|
if (!(_la === 426 || _la === 431)) {
|
|
24070
24077
|
this.errorHandler.recoverInline(this);
|
|
@@ -24094,24 +24101,24 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
24094
24101
|
let localContext = new TriggerActionExpressionContext(this.context, this.state);
|
|
24095
24102
|
this.enterRule(localContext, 686, HiveSqlParser.RULE_triggerActionExpression);
|
|
24096
24103
|
try {
|
|
24097
|
-
this.state =
|
|
24104
|
+
this.state = 4776;
|
|
24098
24105
|
this.errorHandler.sync(this);
|
|
24099
24106
|
switch (this.tokenStream.LA(1)) {
|
|
24100
24107
|
case HiveSqlParser.KW_KILL:
|
|
24101
24108
|
this.enterOuterAlt(localContext, 1);
|
|
24102
24109
|
{
|
|
24103
|
-
this.state =
|
|
24110
|
+
this.state = 4772;
|
|
24104
24111
|
this.match(HiveSqlParser.KW_KILL);
|
|
24105
24112
|
}
|
|
24106
24113
|
break;
|
|
24107
24114
|
case HiveSqlParser.KW_MOVE:
|
|
24108
24115
|
this.enterOuterAlt(localContext, 2);
|
|
24109
24116
|
{
|
|
24110
|
-
this.state = 4772;
|
|
24111
|
-
this.match(HiveSqlParser.KW_MOVE);
|
|
24112
24117
|
this.state = 4773;
|
|
24113
|
-
this.match(HiveSqlParser.
|
|
24118
|
+
this.match(HiveSqlParser.KW_MOVE);
|
|
24114
24119
|
this.state = 4774;
|
|
24120
|
+
this.match(HiveSqlParser.KW_TO);
|
|
24121
|
+
this.state = 4775;
|
|
24115
24122
|
this.poolPath();
|
|
24116
24123
|
}
|
|
24117
24124
|
break;
|
|
@@ -24140,46 +24147,46 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
24140
24147
|
try {
|
|
24141
24148
|
this.enterOuterAlt(localContext, 1);
|
|
24142
24149
|
{
|
|
24143
|
-
this.state =
|
|
24150
|
+
this.state = 4790;
|
|
24144
24151
|
this.errorHandler.sync(this);
|
|
24145
24152
|
switch (this.tokenStream.LA(1)) {
|
|
24146
24153
|
case HiveSqlParser.KW_ALLOC_FRACTION:
|
|
24147
24154
|
{
|
|
24148
|
-
this.state = 4777;
|
|
24149
|
-
this.match(HiveSqlParser.KW_ALLOC_FRACTION);
|
|
24150
24155
|
this.state = 4778;
|
|
24151
|
-
this.match(HiveSqlParser.
|
|
24156
|
+
this.match(HiveSqlParser.KW_ALLOC_FRACTION);
|
|
24152
24157
|
this.state = 4779;
|
|
24158
|
+
this.match(HiveSqlParser.EQUAL);
|
|
24159
|
+
this.state = 4780;
|
|
24153
24160
|
localContext._allocFraction = this.match(HiveSqlParser.Number);
|
|
24154
24161
|
}
|
|
24155
24162
|
break;
|
|
24156
24163
|
case HiveSqlParser.KW_QUERY_PARALLELISM:
|
|
24157
24164
|
{
|
|
24158
|
-
this.state = 4780;
|
|
24159
|
-
this.match(HiveSqlParser.KW_QUERY_PARALLELISM);
|
|
24160
24165
|
this.state = 4781;
|
|
24161
|
-
this.match(HiveSqlParser.
|
|
24166
|
+
this.match(HiveSqlParser.KW_QUERY_PARALLELISM);
|
|
24162
24167
|
this.state = 4782;
|
|
24168
|
+
this.match(HiveSqlParser.EQUAL);
|
|
24169
|
+
this.state = 4783;
|
|
24163
24170
|
localContext._parallelism = this.match(HiveSqlParser.Number);
|
|
24164
24171
|
}
|
|
24165
24172
|
break;
|
|
24166
24173
|
case HiveSqlParser.KW_SCHEDULING_POLICY:
|
|
24167
24174
|
{
|
|
24168
|
-
this.state = 4783;
|
|
24169
|
-
this.match(HiveSqlParser.KW_SCHEDULING_POLICY);
|
|
24170
24175
|
this.state = 4784;
|
|
24171
|
-
this.match(HiveSqlParser.
|
|
24176
|
+
this.match(HiveSqlParser.KW_SCHEDULING_POLICY);
|
|
24172
24177
|
this.state = 4785;
|
|
24178
|
+
this.match(HiveSqlParser.EQUAL);
|
|
24179
|
+
this.state = 4786;
|
|
24173
24180
|
localContext._policy = this.match(HiveSqlParser.StringLiteral);
|
|
24174
24181
|
}
|
|
24175
24182
|
break;
|
|
24176
24183
|
case HiveSqlParser.KW_PATH:
|
|
24177
24184
|
{
|
|
24178
|
-
this.state = 4786;
|
|
24179
|
-
this.match(HiveSqlParser.KW_PATH);
|
|
24180
24185
|
this.state = 4787;
|
|
24181
|
-
this.match(HiveSqlParser.
|
|
24186
|
+
this.match(HiveSqlParser.KW_PATH);
|
|
24182
24187
|
this.state = 4788;
|
|
24188
|
+
this.match(HiveSqlParser.EQUAL);
|
|
24189
|
+
this.state = 4789;
|
|
24183
24190
|
localContext._path = this.poolPath();
|
|
24184
24191
|
}
|
|
24185
24192
|
break;
|
|
@@ -24210,21 +24217,21 @@ class HiveSqlParser extends SQLParserBase {
|
|
|
24210
24217
|
try {
|
|
24211
24218
|
this.enterOuterAlt(localContext, 1);
|
|
24212
24219
|
{
|
|
24213
|
-
this.state =
|
|
24220
|
+
this.state = 4792;
|
|
24214
24221
|
this.poolAssign();
|
|
24215
|
-
this.state =
|
|
24222
|
+
this.state = 4797;
|
|
24216
24223
|
this.errorHandler.sync(this);
|
|
24217
24224
|
_la = this.tokenStream.LA(1);
|
|
24218
24225
|
while (_la === 397) {
|
|
24219
24226
|
{
|
|
24220
24227
|
{
|
|
24221
|
-
this.state = 4792;
|
|
24222
|
-
this.match(HiveSqlParser.COMMA);
|
|
24223
24228
|
this.state = 4793;
|
|
24229
|
+
this.match(HiveSqlParser.COMMA);
|
|
24230
|
+
this.state = 4794;
|
|
24224
24231
|
this.poolAssign();
|
|
24225
24232
|
}
|
|
24226
24233
|
}
|
|
24227
|
-
this.state =
|
|
24234
|
+
this.state = 4799;
|
|
24228
24235
|
this.errorHandler.sync(this);
|
|
24229
24236
|
_la = this.tokenStream.LA(1);
|
|
24230
24237
|
}
|
|
@@ -25317,7 +25324,7 @@ HiveSqlParser.ruleNames = [
|
|
|
25317
25324
|
"poolAssignList",
|
|
25318
25325
|
];
|
|
25319
25326
|
HiveSqlParser._serializedATN = [
|
|
25320
|
-
4, 1, 438,
|
|
25327
|
+
4, 1, 438, 4801, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6,
|
|
25321
25328
|
7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7,
|
|
25322
25329
|
13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2,
|
|
25323
25330
|
20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7,
|
|
@@ -25765,60 +25772,60 @@ HiveSqlParser._serializedATN = [
|
|
|
25765
25772
|
1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324,
|
|
25766
25773
|
1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324,
|
|
25767
25774
|
1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324,
|
|
25768
|
-
1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324,
|
|
25769
|
-
8, 324, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325,
|
|
25770
|
-
1, 325, 1, 325, 1, 325, 1, 325, 3, 325,
|
|
25775
|
+
1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 1, 324, 3, 324,
|
|
25776
|
+
4543, 8, 324, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4549, 8, 325, 1, 325, 1, 325,
|
|
25777
|
+
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4558, 8, 325, 3, 325, 4560, 8, 325,
|
|
25778
|
+
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25779
|
+
1, 325, 5, 325, 4574, 8, 325, 10, 325, 12, 325, 4577, 9, 325, 1, 325, 1, 325, 1, 325,
|
|
25780
|
+
1, 325, 1, 325, 3, 325, 4584, 8, 325, 1, 325, 1, 325, 3, 325, 4588, 8, 325, 3, 325,
|
|
25781
|
+
4590, 8, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4596, 8, 325, 1, 325, 1, 325,
|
|
25782
|
+
1, 325, 3, 325, 4601, 8, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25783
|
+
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4618, 8, 325,
|
|
25771
25784
|
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25772
|
-
5, 325, 4573, 8, 325, 10, 325, 12, 325, 4576, 9, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25773
|
-
1, 325, 3, 325, 4583, 8, 325, 1, 325, 1, 325, 3, 325, 4587, 8, 325, 3, 325, 4589, 8,
|
|
25774
|
-
325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4595, 8, 325, 1, 325, 1, 325, 1, 325, 3,
|
|
25775
|
-
325, 4600, 8, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1,
|
|
25776
|
-
325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4617, 8, 325, 1, 325, 1,
|
|
25777
|
-
325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25778
25785
|
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25779
|
-
1, 325, 3, 325,
|
|
25780
|
-
|
|
25786
|
+
1, 325, 1, 325, 3, 325, 4644, 8, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4649, 8, 325,
|
|
25787
|
+
3, 325, 4651, 8, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25781
25788
|
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25782
|
-
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25789
|
+
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4679, 8, 325, 1, 325,
|
|
25783
25790
|
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325,
|
|
25784
|
-
1, 325, 1, 325, 3, 325,
|
|
25785
|
-
1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325,
|
|
25786
|
-
1, 326, 1,
|
|
25787
|
-
1, 328, 1, 328, 1, 328, 5, 328,
|
|
25788
|
-
1, 329, 1, 329, 3, 329,
|
|
25789
|
-
1, 331, 1, 331, 1, 332, 1, 332, 1, 333, 1, 333, 1, 334, 1, 334, 1, 335, 1, 335,
|
|
25790
|
-
1, 336, 1,
|
|
25791
|
-
1, 341, 5, 341,
|
|
25792
|
-
1, 342, 1, 343, 1, 343, 1, 343, 1, 343, 3, 343,
|
|
25793
|
-
1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344,
|
|
25794
|
-
8, 344, 1, 345, 1, 345, 1, 345, 5, 345,
|
|
25795
|
-
1, 345, 1, 813, 0, 346, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28,
|
|
25796
|
-
34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72,
|
|
25797
|
-
78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112,
|
|
25798
|
-
116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144,
|
|
25799
|
-
148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176,
|
|
25800
|
-
180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208,
|
|
25801
|
-
212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240,
|
|
25802
|
-
244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272,
|
|
25803
|
-
276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 300, 302, 304,
|
|
25804
|
-
308, 310, 312, 314, 316, 318, 320, 322, 324, 326, 328, 330, 332, 334, 336,
|
|
25805
|
-
340, 342, 344, 346, 348, 350, 352, 354, 356, 358, 360, 362, 364, 366, 368,
|
|
25806
|
-
372, 374, 376, 378, 380, 382, 384, 386, 388, 390, 392, 394, 396, 398, 400,
|
|
25807
|
-
404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, 428, 430, 432,
|
|
25808
|
-
436, 438, 440, 442, 444, 446, 448, 450, 452, 454, 456, 458, 460, 462, 464,
|
|
25809
|
-
468, 470, 472, 474, 476, 478, 480, 482, 484, 486, 488, 490, 492, 494, 496,
|
|
25810
|
-
500, 502, 504, 506, 508, 510, 512, 514, 516, 518, 520, 522, 524, 526, 528,
|
|
25811
|
-
532, 534, 536, 538, 540, 542, 544, 546, 548, 550, 552, 554, 556, 558, 560,
|
|
25812
|
-
564, 566, 568, 570, 572, 574, 576, 578, 580, 582, 584, 586, 588, 590, 592,
|
|
25813
|
-
596, 598, 600, 602, 604, 606, 608, 610, 612, 614, 616, 618, 620, 622, 624,
|
|
25814
|
-
628, 630, 632, 634, 636, 638, 640, 642, 644, 646, 648, 650, 652, 654, 656,
|
|
25815
|
-
660, 662, 664, 666, 668, 670, 672, 674, 676, 678, 680, 682, 684, 686, 688,
|
|
25816
|
-
0, 60, 2, 0, 57, 57, 172, 172, 4, 0, 91, 91, 121, 121, 226, 226, 325, 325, 2, 0,
|
|
25817
|
-
50, 346, 346, 2, 0, 34, 34, 282, 282, 1, 0, 89, 90, 2, 0, 139, 139, 154, 154, 2,
|
|
25818
|
-
67, 295, 295, 2, 0, 68, 68, 296, 296, 1, 0, 155, 156, 2, 0, 114, 114, 307, 307,
|
|
25819
|
-
0, 7, 7, 9, 9, 58, 58, 86, 86, 101, 101, 155, 155, 161, 161, 190, 190, 299, 299,
|
|
25820
|
-
309, 365, 365, 3, 0, 4, 4, 101, 101, 326, 326, 3, 0, 15, 15, 128, 128, 170, 170,
|
|
25821
|
-
0, 141, 142, 2, 0, 30, 30, 351, 351, 2, 0, 217, 217, 373, 373, 2, 0, 214, 214, 272,
|
|
25791
|
+
1, 325, 1, 325, 1, 325, 3, 325, 4696, 8, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4701,
|
|
25792
|
+
8, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 1, 325, 3, 325, 4710, 8, 325,
|
|
25793
|
+
1, 326, 1, 326, 1, 327, 1, 327, 1, 327, 1, 327, 1, 327, 1, 327, 1, 327, 3, 327, 4721,
|
|
25794
|
+
8, 327, 1, 328, 1, 328, 1, 328, 5, 328, 4726, 8, 328, 10, 328, 12, 328, 4729, 9, 328,
|
|
25795
|
+
1, 329, 1, 329, 1, 329, 3, 329, 4734, 8, 329, 1, 330, 1, 330, 1, 330, 3, 330, 4739,
|
|
25796
|
+
8, 330, 1, 331, 1, 331, 1, 332, 1, 332, 1, 333, 1, 333, 1, 334, 1, 334, 1, 335, 1, 335,
|
|
25797
|
+
1, 336, 1, 336, 1, 337, 1, 337, 1, 338, 1, 338, 1, 339, 1, 339, 1, 340, 1, 340, 1, 341,
|
|
25798
|
+
1, 341, 1, 341, 5, 341, 4764, 8, 341, 10, 341, 12, 341, 4767, 9, 341, 1, 342, 1, 342,
|
|
25799
|
+
1, 342, 1, 342, 1, 343, 1, 343, 1, 343, 1, 343, 3, 343, 4777, 8, 343, 1, 344, 1, 344,
|
|
25800
|
+
1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 1, 344, 3, 344,
|
|
25801
|
+
4791, 8, 344, 1, 345, 1, 345, 1, 345, 5, 345, 4796, 8, 345, 10, 345, 12, 345, 4799,
|
|
25802
|
+
9, 345, 1, 345, 1, 813, 0, 346, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28,
|
|
25803
|
+
30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72,
|
|
25804
|
+
74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112,
|
|
25805
|
+
114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144,
|
|
25806
|
+
146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176,
|
|
25807
|
+
178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208,
|
|
25808
|
+
210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240,
|
|
25809
|
+
242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272,
|
|
25810
|
+
274, 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 300, 302, 304,
|
|
25811
|
+
306, 308, 310, 312, 314, 316, 318, 320, 322, 324, 326, 328, 330, 332, 334, 336,
|
|
25812
|
+
338, 340, 342, 344, 346, 348, 350, 352, 354, 356, 358, 360, 362, 364, 366, 368,
|
|
25813
|
+
370, 372, 374, 376, 378, 380, 382, 384, 386, 388, 390, 392, 394, 396, 398, 400,
|
|
25814
|
+
402, 404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, 428, 430, 432,
|
|
25815
|
+
434, 436, 438, 440, 442, 444, 446, 448, 450, 452, 454, 456, 458, 460, 462, 464,
|
|
25816
|
+
466, 468, 470, 472, 474, 476, 478, 480, 482, 484, 486, 488, 490, 492, 494, 496,
|
|
25817
|
+
498, 500, 502, 504, 506, 508, 510, 512, 514, 516, 518, 520, 522, 524, 526, 528,
|
|
25818
|
+
530, 532, 534, 536, 538, 540, 542, 544, 546, 548, 550, 552, 554, 556, 558, 560,
|
|
25819
|
+
562, 564, 566, 568, 570, 572, 574, 576, 578, 580, 582, 584, 586, 588, 590, 592,
|
|
25820
|
+
594, 596, 598, 600, 602, 604, 606, 608, 610, 612, 614, 616, 618, 620, 622, 624,
|
|
25821
|
+
626, 628, 630, 632, 634, 636, 638, 640, 642, 644, 646, 648, 650, 652, 654, 656,
|
|
25822
|
+
658, 660, 662, 664, 666, 668, 670, 672, 674, 676, 678, 680, 682, 684, 686, 688,
|
|
25823
|
+
690, 0, 60, 2, 0, 57, 57, 172, 172, 4, 0, 91, 91, 121, 121, 226, 226, 325, 325, 2, 0,
|
|
25824
|
+
50, 50, 346, 346, 2, 0, 34, 34, 282, 282, 1, 0, 89, 90, 2, 0, 139, 139, 154, 154, 2,
|
|
25825
|
+
0, 67, 67, 295, 295, 2, 0, 68, 68, 296, 296, 1, 0, 155, 156, 2, 0, 114, 114, 307, 307,
|
|
25826
|
+
11, 0, 7, 7, 9, 9, 58, 58, 86, 86, 101, 101, 155, 155, 161, 161, 190, 190, 299, 299,
|
|
25827
|
+
309, 309, 365, 365, 3, 0, 4, 4, 101, 101, 326, 326, 3, 0, 15, 15, 128, 128, 170, 170,
|
|
25828
|
+
1, 0, 141, 142, 2, 0, 30, 30, 351, 351, 2, 0, 217, 217, 373, 373, 2, 0, 214, 214, 272,
|
|
25822
25829
|
272, 2, 0, 18, 18, 89, 89, 2, 0, 130, 130, 177, 177, 2, 0, 39, 39, 376, 376, 4, 0, 112,
|
|
25823
25830
|
112, 164, 164, 205, 205, 356, 356, 2, 0, 7, 7, 96, 96, 2, 0, 125, 125, 350, 350, 2,
|
|
25824
25831
|
0, 225, 225, 391, 391, 2, 0, 42, 42, 315, 315, 2, 0, 189, 189, 196, 196, 2, 0, 426,
|
|
@@ -25845,7 +25852,7 @@ HiveSqlParser._serializedATN = [
|
|
|
25845
25852
|
198, 198, 264, 264, 311, 311, 337, 337, 2, 0, 4, 4, 101, 101, 2, 0, 9, 9, 58, 58, 3,
|
|
25846
25853
|
0, 14, 14, 144, 144, 369, 369, 1, 0, 106, 107, 1, 0, 94, 95, 1, 0, 392, 393, 1, 0, 208,
|
|
25847
25854
|
209, 1, 0, 381, 382, 1, 0, 73, 74, 1, 0, 148, 149, 1, 0, 206, 207, 1, 0, 297, 298, 1,
|
|
25848
|
-
0, 80, 82,
|
|
25855
|
+
0, 80, 82, 5392, 0, 695, 1, 0, 0, 0, 2, 702, 1, 0, 0, 0, 4, 707, 1, 0, 0, 0, 6, 741, 1, 0,
|
|
25849
25856
|
0, 0, 8, 743, 1, 0, 0, 0, 10, 816, 1, 0, 0, 0, 12, 818, 1, 0, 0, 0, 14, 834, 1, 0, 0, 0, 16,
|
|
25850
25857
|
843, 1, 0, 0, 0, 18, 851, 1, 0, 0, 0, 20, 864, 1, 0, 0, 0, 22, 875, 1, 0, 0, 0, 24, 880,
|
|
25851
25858
|
1, 0, 0, 0, 26, 891, 1, 0, 0, 0, 28, 954, 1, 0, 0, 0, 30, 956, 1, 0, 0, 0, 32, 959, 1, 0,
|
|
@@ -25925,13 +25932,13 @@ HiveSqlParser._serializedATN = [
|
|
|
25925
25932
|
1, 0, 0, 0, 618, 4412, 1, 0, 0, 0, 620, 4417, 1, 0, 0, 0, 622, 4425, 1, 0, 0, 0, 624, 4433,
|
|
25926
25933
|
1, 0, 0, 0, 626, 4437, 1, 0, 0, 0, 628, 4449, 1, 0, 0, 0, 630, 4454, 1, 0, 0, 0, 632, 4465,
|
|
25927
25934
|
1, 0, 0, 0, 634, 4472, 1, 0, 0, 0, 636, 4474, 1, 0, 0, 0, 638, 4478, 1, 0, 0, 0, 640, 4480,
|
|
25928
|
-
1, 0, 0, 0, 642, 4485, 1, 0, 0, 0, 644, 4487, 1, 0, 0, 0, 646, 4489, 1, 0, 0, 0, 648,
|
|
25929
|
-
1, 0, 0, 0, 650,
|
|
25930
|
-
1, 0, 0, 0, 658,
|
|
25931
|
-
1, 0, 0, 0, 666,
|
|
25932
|
-
1, 0, 0, 0, 674,
|
|
25933
|
-
1, 0, 0, 0, 682,
|
|
25934
|
-
1, 0, 0, 0, 690,
|
|
25935
|
+
1, 0, 0, 0, 642, 4485, 1, 0, 0, 0, 644, 4487, 1, 0, 0, 0, 646, 4489, 1, 0, 0, 0, 648, 4542,
|
|
25936
|
+
1, 0, 0, 0, 650, 4709, 1, 0, 0, 0, 652, 4711, 1, 0, 0, 0, 654, 4720, 1, 0, 0, 0, 656, 4722,
|
|
25937
|
+
1, 0, 0, 0, 658, 4733, 1, 0, 0, 0, 660, 4735, 1, 0, 0, 0, 662, 4740, 1, 0, 0, 0, 664, 4742,
|
|
25938
|
+
1, 0, 0, 0, 666, 4744, 1, 0, 0, 0, 668, 4746, 1, 0, 0, 0, 670, 4748, 1, 0, 0, 0, 672, 4750,
|
|
25939
|
+
1, 0, 0, 0, 674, 4752, 1, 0, 0, 0, 676, 4754, 1, 0, 0, 0, 678, 4756, 1, 0, 0, 0, 680, 4758,
|
|
25940
|
+
1, 0, 0, 0, 682, 4760, 1, 0, 0, 0, 684, 4768, 1, 0, 0, 0, 686, 4776, 1, 0, 0, 0, 688, 4790,
|
|
25941
|
+
1, 0, 0, 0, 690, 4792, 1, 0, 0, 0, 692, 694, 3, 2, 1, 0, 693, 692, 1, 0, 0, 0, 694, 697,
|
|
25935
25942
|
1, 0, 0, 0, 695, 693, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 698, 1, 0, 0, 0, 697, 695,
|
|
25936
25943
|
1, 0, 0, 0, 698, 699, 5, 0, 0, 1, 699, 1, 1, 0, 0, 0, 700, 703, 3, 4, 2, 0, 701, 703, 3,
|
|
25937
25944
|
10, 5, 0, 702, 700, 1, 0, 0, 0, 702, 701, 1, 0, 0, 0, 703, 705, 1, 0, 0, 0, 704, 706, 5,
|
|
@@ -27280,176 +27287,176 @@ HiveSqlParser._serializedATN = [
|
|
|
27280
27287
|
1, 0, 0, 0, 4479, 639, 1, 0, 0, 0, 4480, 4483, 3, 638, 319, 0, 4481, 4482, 5, 395, 0,
|
|
27281
27288
|
0, 4482, 4484, 3, 638, 319, 0, 4483, 4481, 1, 0, 0, 0, 4483, 4484, 1, 0, 0, 0, 4484,
|
|
27282
27289
|
641, 1, 0, 0, 0, 4485, 4486, 3, 638, 319, 0, 4486, 643, 1, 0, 0, 0, 4487, 4488, 7, 45,
|
|
27283
|
-
0, 0, 4488, 645, 1, 0, 0, 0, 4489, 4490, 7, 46, 0, 0, 4490, 647, 1, 0, 0, 0, 4491,
|
|
27284
|
-
3, 638, 319, 0, 4492,
|
|
27285
|
-
|
|
27286
|
-
0, 0, 4498,
|
|
27287
|
-
4501,
|
|
27288
|
-
|
|
27289
|
-
5,
|
|
27290
|
-
0, 0, 4511,
|
|
27291
|
-
4514,
|
|
27292
|
-
|
|
27293
|
-
5,
|
|
27294
|
-
0, 0, 4524,
|
|
27295
|
-
4527,
|
|
27296
|
-
5,
|
|
27297
|
-
0, 0, 4534,
|
|
27298
|
-
|
|
27299
|
-
|
|
27300
|
-
|
|
27301
|
-
0,
|
|
27302
|
-
1, 0, 0, 0,
|
|
27303
|
-
|
|
27304
|
-
0,
|
|
27305
|
-
1, 0, 0, 0,
|
|
27306
|
-
|
|
27307
|
-
0,
|
|
27308
|
-
1, 0, 0, 0,
|
|
27309
|
-
|
|
27310
|
-
0,
|
|
27311
|
-
1, 0, 0, 0,
|
|
27312
|
-
|
|
27313
|
-
0,
|
|
27314
|
-
|
|
27315
|
-
0, 0,
|
|
27316
|
-
0, 4552,
|
|
27317
|
-
4557, 3,
|
|
27318
|
-
0, 0, 0,
|
|
27319
|
-
|
|
27320
|
-
|
|
27321
|
-
|
|
27322
|
-
|
|
27323
|
-
0,
|
|
27324
|
-
1, 0, 0, 0,
|
|
27325
|
-
0,
|
|
27326
|
-
|
|
27327
|
-
|
|
27328
|
-
|
|
27329
|
-
|
|
27330
|
-
0,
|
|
27331
|
-
|
|
27332
|
-
0, 0, 4594,
|
|
27333
|
-
|
|
27334
|
-
|
|
27335
|
-
0, 4603,
|
|
27336
|
-
5,
|
|
27337
|
-
|
|
27338
|
-
0,
|
|
27339
|
-
|
|
27340
|
-
0, 0,
|
|
27341
|
-
0,
|
|
27342
|
-
0,
|
|
27343
|
-
|
|
27344
|
-
|
|
27345
|
-
|
|
27346
|
-
0,
|
|
27347
|
-
|
|
27348
|
-
0, 0,
|
|
27349
|
-
|
|
27350
|
-
1, 0, 0, 0, 4649,
|
|
27351
|
-
|
|
27352
|
-
|
|
27353
|
-
|
|
27354
|
-
|
|
27355
|
-
|
|
27356
|
-
0,
|
|
27357
|
-
|
|
27358
|
-
|
|
27359
|
-
|
|
27360
|
-
|
|
27361
|
-
5,
|
|
27362
|
-
|
|
27363
|
-
0,
|
|
27364
|
-
|
|
27365
|
-
|
|
27366
|
-
|
|
27367
|
-
|
|
27368
|
-
5,
|
|
27369
|
-
|
|
27370
|
-
|
|
27371
|
-
|
|
27372
|
-
|
|
27373
|
-
|
|
27374
|
-
0, 0,
|
|
27375
|
-
|
|
27376
|
-
|
|
27377
|
-
|
|
27378
|
-
|
|
27379
|
-
0,
|
|
27380
|
-
|
|
27381
|
-
0, 0,
|
|
27382
|
-
|
|
27383
|
-
0,
|
|
27384
|
-
|
|
27385
|
-
|
|
27386
|
-
0,
|
|
27387
|
-
1, 0, 0, 0,
|
|
27388
|
-
|
|
27389
|
-
3, 638, 319, 0,
|
|
27390
|
-
0, 4764,
|
|
27391
|
-
|
|
27392
|
-
0, 0,
|
|
27393
|
-
|
|
27394
|
-
1, 0, 0, 0,
|
|
27395
|
-
|
|
27396
|
-
|
|
27397
|
-
5,
|
|
27398
|
-
|
|
27399
|
-
|
|
27400
|
-
3, 688, 344, 0,
|
|
27401
|
-
|
|
27402
|
-
|
|
27403
|
-
|
|
27404
|
-
|
|
27405
|
-
|
|
27406
|
-
|
|
27407
|
-
|
|
27408
|
-
|
|
27409
|
-
|
|
27410
|
-
|
|
27411
|
-
|
|
27412
|
-
|
|
27413
|
-
|
|
27414
|
-
|
|
27415
|
-
|
|
27416
|
-
|
|
27417
|
-
|
|
27418
|
-
|
|
27419
|
-
|
|
27420
|
-
|
|
27421
|
-
|
|
27422
|
-
|
|
27423
|
-
|
|
27424
|
-
|
|
27425
|
-
|
|
27426
|
-
|
|
27427
|
-
|
|
27428
|
-
|
|
27429
|
-
|
|
27430
|
-
|
|
27431
|
-
|
|
27432
|
-
|
|
27433
|
-
|
|
27434
|
-
|
|
27435
|
-
|
|
27436
|
-
|
|
27437
|
-
|
|
27438
|
-
|
|
27439
|
-
|
|
27440
|
-
|
|
27441
|
-
|
|
27442
|
-
|
|
27443
|
-
|
|
27444
|
-
|
|
27445
|
-
|
|
27446
|
-
|
|
27447
|
-
|
|
27448
|
-
|
|
27290
|
+
0, 0, 4488, 645, 1, 0, 0, 0, 4489, 4490, 7, 46, 0, 0, 4490, 647, 1, 0, 0, 0, 4491, 4543,
|
|
27291
|
+
3, 638, 319, 0, 4492, 4543, 5, 299, 0, 0, 4493, 4543, 5, 171, 0, 0, 4494, 4543, 5,
|
|
27292
|
+
237, 0, 0, 4495, 4543, 5, 198, 0, 0, 4496, 4543, 5, 268, 0, 0, 4497, 4543, 5, 369,
|
|
27293
|
+
0, 0, 4498, 4543, 5, 241, 0, 0, 4499, 4543, 5, 165, 0, 0, 4500, 4543, 5, 292, 0, 0,
|
|
27294
|
+
4501, 4543, 5, 356, 0, 0, 4502, 4543, 5, 144, 0, 0, 4503, 4543, 5, 203, 0, 0, 4504,
|
|
27295
|
+
4543, 5, 219, 0, 0, 4505, 4543, 5, 126, 0, 0, 4506, 4543, 5, 188, 0, 0, 4507, 4543,
|
|
27296
|
+
5, 101, 0, 0, 4508, 4543, 5, 329, 0, 0, 4509, 4543, 5, 224, 0, 0, 4510, 4543, 5, 291,
|
|
27297
|
+
0, 0, 4511, 4543, 5, 145, 0, 0, 4512, 4543, 5, 304, 0, 0, 4513, 4543, 5, 135, 0, 0,
|
|
27298
|
+
4514, 4543, 5, 318, 0, 0, 4515, 4543, 5, 161, 0, 0, 4516, 4543, 5, 54, 0, 0, 4517,
|
|
27299
|
+
4543, 5, 166, 0, 0, 4518, 4543, 5, 358, 0, 0, 4519, 4543, 5, 45, 0, 0, 4520, 4543,
|
|
27300
|
+
5, 347, 0, 0, 4521, 4543, 5, 96, 0, 0, 4522, 4543, 5, 154, 0, 0, 4523, 4543, 5, 269,
|
|
27301
|
+
0, 0, 4524, 4543, 5, 337, 0, 0, 4525, 4543, 5, 225, 0, 0, 4526, 4543, 5, 108, 0, 0,
|
|
27302
|
+
4527, 4543, 5, 141, 0, 0, 4528, 4543, 5, 365, 0, 0, 4529, 4543, 5, 21, 0, 0, 4530,
|
|
27303
|
+
4543, 5, 78, 0, 0, 4531, 4543, 5, 374, 0, 0, 4532, 4543, 5, 336, 0, 0, 4533, 4543,
|
|
27304
|
+
5, 167, 0, 0, 4534, 4543, 5, 134, 0, 0, 4535, 4543, 5, 216, 0, 0, 4536, 4543, 5, 27,
|
|
27305
|
+
0, 0, 4537, 4543, 5, 370, 0, 0, 4538, 4543, 5, 263, 0, 0, 4539, 4543, 5, 25, 0, 0, 4540,
|
|
27306
|
+
4543, 5, 62, 0, 0, 4541, 4543, 5, 17, 0, 0, 4542, 4491, 1, 0, 0, 0, 4542, 4492, 1, 0,
|
|
27307
|
+
0, 0, 4542, 4493, 1, 0, 0, 0, 4542, 4494, 1, 0, 0, 0, 4542, 4495, 1, 0, 0, 0, 4542, 4496,
|
|
27308
|
+
1, 0, 0, 0, 4542, 4497, 1, 0, 0, 0, 4542, 4498, 1, 0, 0, 0, 4542, 4499, 1, 0, 0, 0, 4542,
|
|
27309
|
+
4500, 1, 0, 0, 0, 4542, 4501, 1, 0, 0, 0, 4542, 4502, 1, 0, 0, 0, 4542, 4503, 1, 0, 0,
|
|
27310
|
+
0, 4542, 4504, 1, 0, 0, 0, 4542, 4505, 1, 0, 0, 0, 4542, 4506, 1, 0, 0, 0, 4542, 4507,
|
|
27311
|
+
1, 0, 0, 0, 4542, 4508, 1, 0, 0, 0, 4542, 4509, 1, 0, 0, 0, 4542, 4510, 1, 0, 0, 0, 4542,
|
|
27312
|
+
4511, 1, 0, 0, 0, 4542, 4512, 1, 0, 0, 0, 4542, 4513, 1, 0, 0, 0, 4542, 4514, 1, 0, 0,
|
|
27313
|
+
0, 4542, 4515, 1, 0, 0, 0, 4542, 4516, 1, 0, 0, 0, 4542, 4517, 1, 0, 0, 0, 4542, 4518,
|
|
27314
|
+
1, 0, 0, 0, 4542, 4519, 1, 0, 0, 0, 4542, 4520, 1, 0, 0, 0, 4542, 4521, 1, 0, 0, 0, 4542,
|
|
27315
|
+
4522, 1, 0, 0, 0, 4542, 4523, 1, 0, 0, 0, 4542, 4524, 1, 0, 0, 0, 4542, 4525, 1, 0, 0,
|
|
27316
|
+
0, 4542, 4526, 1, 0, 0, 0, 4542, 4527, 1, 0, 0, 0, 4542, 4528, 1, 0, 0, 0, 4542, 4529,
|
|
27317
|
+
1, 0, 0, 0, 4542, 4530, 1, 0, 0, 0, 4542, 4531, 1, 0, 0, 0, 4542, 4532, 1, 0, 0, 0, 4542,
|
|
27318
|
+
4533, 1, 0, 0, 0, 4542, 4534, 1, 0, 0, 0, 4542, 4535, 1, 0, 0, 0, 4542, 4536, 1, 0, 0,
|
|
27319
|
+
0, 4542, 4537, 1, 0, 0, 0, 4542, 4538, 1, 0, 0, 0, 4542, 4539, 1, 0, 0, 0, 4542, 4540,
|
|
27320
|
+
1, 0, 0, 0, 4542, 4541, 1, 0, 0, 0, 4543, 649, 1, 0, 0, 0, 4544, 4545, 5, 58, 0, 0, 4545,
|
|
27321
|
+
4546, 5, 280, 0, 0, 4546, 4548, 5, 243, 0, 0, 4547, 4549, 3, 32, 16, 0, 4548, 4547,
|
|
27322
|
+
1, 0, 0, 0, 4548, 4549, 1, 0, 0, 0, 4549, 4559, 1, 0, 0, 0, 4550, 4551, 3, 638, 319,
|
|
27323
|
+
0, 4551, 4552, 5, 184, 0, 0, 4552, 4553, 3, 638, 319, 0, 4553, 4560, 1, 0, 0, 0, 4554,
|
|
27324
|
+
4557, 3, 638, 319, 0, 4555, 4556, 5, 387, 0, 0, 4556, 4558, 3, 656, 328, 0, 4557,
|
|
27325
|
+
4555, 1, 0, 0, 0, 4557, 4558, 1, 0, 0, 0, 4558, 4560, 1, 0, 0, 0, 4559, 4550, 1, 0, 0,
|
|
27326
|
+
0, 4559, 4554, 1, 0, 0, 0, 4560, 4710, 1, 0, 0, 0, 4561, 4562, 5, 9, 0, 0, 4562, 4563,
|
|
27327
|
+
5, 280, 0, 0, 4563, 4564, 5, 243, 0, 0, 4564, 4589, 3, 638, 319, 0, 4565, 4590, 5,
|
|
27328
|
+
373, 0, 0, 4566, 4590, 3, 664, 332, 0, 4567, 4568, 5, 304, 0, 0, 4568, 4590, 3, 656,
|
|
27329
|
+
328, 0, 4569, 4570, 5, 363, 0, 0, 4570, 4575, 3, 658, 329, 0, 4571, 4572, 5, 397,
|
|
27330
|
+
0, 0, 4572, 4574, 3, 658, 329, 0, 4573, 4571, 1, 0, 0, 0, 4574, 4577, 1, 0, 0, 0, 4575,
|
|
27331
|
+
4573, 1, 0, 0, 0, 4575, 4576, 1, 0, 0, 0, 4576, 4590, 1, 0, 0, 0, 4577, 4575, 1, 0, 0,
|
|
27332
|
+
0, 4578, 4579, 5, 274, 0, 0, 4579, 4580, 5, 341, 0, 0, 4580, 4590, 3, 638, 319, 0,
|
|
27333
|
+
4581, 4583, 3, 660, 330, 0, 4582, 4584, 3, 662, 331, 0, 4583, 4582, 1, 0, 0, 0, 4583,
|
|
27334
|
+
4584, 1, 0, 0, 0, 4584, 4590, 1, 0, 0, 0, 4585, 4587, 3, 662, 331, 0, 4586, 4588, 3,
|
|
27335
|
+
660, 330, 0, 4587, 4586, 1, 0, 0, 0, 4587, 4588, 1, 0, 0, 0, 4588, 4590, 1, 0, 0, 0,
|
|
27336
|
+
4589, 4565, 1, 0, 0, 0, 4589, 4566, 1, 0, 0, 0, 4589, 4567, 1, 0, 0, 0, 4589, 4569,
|
|
27337
|
+
1, 0, 0, 0, 4589, 4578, 1, 0, 0, 0, 4589, 4581, 1, 0, 0, 0, 4589, 4585, 1, 0, 0, 0, 4590,
|
|
27338
|
+
4710, 1, 0, 0, 0, 4591, 4592, 5, 101, 0, 0, 4592, 4593, 5, 280, 0, 0, 4593, 4595, 5,
|
|
27339
|
+
243, 0, 0, 4594, 4596, 3, 30, 15, 0, 4595, 4594, 1, 0, 0, 0, 4595, 4596, 1, 0, 0, 0,
|
|
27340
|
+
4596, 4597, 1, 0, 0, 0, 4597, 4710, 3, 638, 319, 0, 4598, 4601, 3, 662, 331, 0, 4599,
|
|
27341
|
+
4601, 3, 664, 332, 0, 4600, 4598, 1, 0, 0, 0, 4600, 4599, 1, 0, 0, 0, 4601, 4602, 1,
|
|
27342
|
+
0, 0, 0, 4602, 4603, 5, 390, 0, 0, 4603, 4604, 5, 197, 0, 0, 4604, 4710, 1, 0, 0, 0,
|
|
27343
|
+
4605, 4617, 5, 278, 0, 0, 4606, 4607, 5, 3, 0, 0, 4607, 4608, 5, 280, 0, 0, 4608, 4609,
|
|
27344
|
+
5, 243, 0, 0, 4609, 4610, 5, 387, 0, 0, 4610, 4618, 3, 638, 319, 0, 4611, 4612, 5,
|
|
27345
|
+
280, 0, 0, 4612, 4613, 5, 243, 0, 0, 4613, 4614, 3, 638, 319, 0, 4614, 4615, 5, 387,
|
|
27346
|
+
0, 0, 4615, 4616, 3, 638, 319, 0, 4616, 4618, 1, 0, 0, 0, 4617, 4606, 1, 0, 0, 0, 4617,
|
|
27347
|
+
4611, 1, 0, 0, 0, 4618, 4710, 1, 0, 0, 0, 4619, 4620, 5, 58, 0, 0, 4620, 4621, 5, 348,
|
|
27348
|
+
0, 0, 4621, 4622, 3, 638, 319, 0, 4622, 4623, 5, 395, 0, 0, 4623, 4624, 3, 638, 319,
|
|
27349
|
+
0, 4624, 4625, 5, 383, 0, 0, 4625, 4626, 3, 684, 342, 0, 4626, 4627, 5, 99, 0, 0, 4627,
|
|
27350
|
+
4628, 3, 686, 343, 0, 4628, 4710, 1, 0, 0, 0, 4629, 4630, 5, 9, 0, 0, 4630, 4631, 5,
|
|
27351
|
+
348, 0, 0, 4631, 4632, 3, 638, 319, 0, 4632, 4633, 5, 395, 0, 0, 4633, 4650, 3, 638,
|
|
27352
|
+
319, 0, 4634, 4635, 5, 383, 0, 0, 4635, 4636, 3, 684, 342, 0, 4636, 4637, 5, 99, 0,
|
|
27353
|
+
0, 4637, 4638, 3, 686, 343, 0, 4638, 4651, 1, 0, 0, 0, 4639, 4640, 5, 4, 0, 0, 4640,
|
|
27354
|
+
4644, 5, 341, 0, 0, 4641, 4642, 5, 101, 0, 0, 4642, 4644, 5, 139, 0, 0, 4643, 4639,
|
|
27355
|
+
1, 0, 0, 0, 4643, 4641, 1, 0, 0, 0, 4644, 4648, 1, 0, 0, 0, 4645, 4646, 5, 246, 0, 0,
|
|
27356
|
+
4646, 4649, 3, 682, 341, 0, 4647, 4649, 5, 362, 0, 0, 4648, 4645, 1, 0, 0, 0, 4648,
|
|
27357
|
+
4647, 1, 0, 0, 0, 4649, 4651, 1, 0, 0, 0, 4650, 4634, 1, 0, 0, 0, 4650, 4643, 1, 0, 0,
|
|
27358
|
+
0, 4651, 4710, 1, 0, 0, 0, 4652, 4653, 5, 101, 0, 0, 4653, 4654, 5, 348, 0, 0, 4654,
|
|
27359
|
+
4655, 3, 638, 319, 0, 4655, 4656, 5, 395, 0, 0, 4656, 4657, 3, 638, 319, 0, 4657,
|
|
27360
|
+
4710, 1, 0, 0, 0, 4658, 4659, 5, 58, 0, 0, 4659, 4660, 5, 246, 0, 0, 4660, 4661, 3,
|
|
27361
|
+
638, 319, 0, 4661, 4662, 5, 395, 0, 0, 4662, 4663, 3, 682, 341, 0, 4663, 4664, 5,
|
|
27362
|
+
387, 0, 0, 4664, 4665, 3, 690, 345, 0, 4665, 4710, 1, 0, 0, 0, 4666, 4667, 5, 9, 0,
|
|
27363
|
+
0, 4667, 4668, 5, 246, 0, 0, 4668, 4669, 3, 638, 319, 0, 4669, 4670, 5, 395, 0, 0,
|
|
27364
|
+
4670, 4678, 3, 682, 341, 0, 4671, 4672, 5, 304, 0, 0, 4672, 4679, 3, 690, 345, 0,
|
|
27365
|
+
4673, 4674, 5, 363, 0, 0, 4674, 4679, 5, 294, 0, 0, 4675, 4676, 7, 47, 0, 0, 4676,
|
|
27366
|
+
4677, 5, 348, 0, 0, 4677, 4679, 3, 638, 319, 0, 4678, 4671, 1, 0, 0, 0, 4678, 4673,
|
|
27367
|
+
1, 0, 0, 0, 4678, 4675, 1, 0, 0, 0, 4679, 4710, 1, 0, 0, 0, 4680, 4681, 5, 101, 0, 0,
|
|
27368
|
+
4681, 4682, 5, 246, 0, 0, 4682, 4683, 3, 638, 319, 0, 4683, 4684, 5, 395, 0, 0, 4684,
|
|
27369
|
+
4685, 3, 682, 341, 0, 4685, 4710, 1, 0, 0, 0, 4686, 4687, 7, 48, 0, 0, 4687, 4688,
|
|
27370
|
+
3, 652, 326, 0, 4688, 4689, 5, 200, 0, 0, 4689, 4690, 5, 426, 0, 0, 4690, 4691, 5,
|
|
27371
|
+
154, 0, 0, 4691, 4695, 3, 638, 319, 0, 4692, 4693, 5, 341, 0, 0, 4693, 4696, 3, 682,
|
|
27372
|
+
341, 0, 4694, 4696, 5, 362, 0, 0, 4695, 4692, 1, 0, 0, 0, 4695, 4694, 1, 0, 0, 0, 4696,
|
|
27373
|
+
4700, 1, 0, 0, 0, 4697, 4698, 5, 387, 0, 0, 4698, 4699, 5, 229, 0, 0, 4699, 4701, 5,
|
|
27374
|
+
431, 0, 0, 4700, 4697, 1, 0, 0, 0, 4700, 4701, 1, 0, 0, 0, 4701, 4710, 1, 0, 0, 0, 4702,
|
|
27375
|
+
4703, 5, 101, 0, 0, 4703, 4704, 3, 652, 326, 0, 4704, 4705, 5, 200, 0, 0, 4705, 4706,
|
|
27376
|
+
5, 426, 0, 0, 4706, 4707, 5, 154, 0, 0, 4707, 4708, 3, 638, 319, 0, 4708, 4710, 1,
|
|
27377
|
+
0, 0, 0, 4709, 4544, 1, 0, 0, 0, 4709, 4561, 1, 0, 0, 0, 4709, 4591, 1, 0, 0, 0, 4709,
|
|
27378
|
+
4600, 1, 0, 0, 0, 4709, 4605, 1, 0, 0, 0, 4709, 4619, 1, 0, 0, 0, 4709, 4629, 1, 0, 0,
|
|
27379
|
+
0, 4709, 4652, 1, 0, 0, 0, 4709, 4658, 1, 0, 0, 0, 4709, 4666, 1, 0, 0, 0, 4709, 4680,
|
|
27380
|
+
1, 0, 0, 0, 4709, 4686, 1, 0, 0, 0, 4709, 4702, 1, 0, 0, 0, 4710, 651, 1, 0, 0, 0, 4711,
|
|
27381
|
+
4712, 7, 49, 0, 0, 4712, 653, 1, 0, 0, 0, 4713, 4714, 5, 259, 0, 0, 4714, 4715, 5, 405,
|
|
27382
|
+
0, 0, 4715, 4721, 5, 431, 0, 0, 4716, 4717, 5, 83, 0, 0, 4717, 4718, 5, 246, 0, 0, 4718,
|
|
27383
|
+
4719, 5, 405, 0, 0, 4719, 4721, 3, 682, 341, 0, 4720, 4713, 1, 0, 0, 0, 4720, 4716,
|
|
27384
|
+
1, 0, 0, 0, 4721, 655, 1, 0, 0, 0, 4722, 4727, 3, 654, 327, 0, 4723, 4724, 5, 397, 0,
|
|
27385
|
+
0, 4724, 4726, 3, 654, 327, 0, 4725, 4723, 1, 0, 0, 0, 4726, 4729, 1, 0, 0, 0, 4727,
|
|
27386
|
+
4725, 1, 0, 0, 0, 4727, 4728, 1, 0, 0, 0, 4728, 657, 1, 0, 0, 0, 4729, 4727, 1, 0, 0,
|
|
27387
|
+
0, 4730, 4734, 5, 259, 0, 0, 4731, 4732, 5, 83, 0, 0, 4732, 4734, 5, 246, 0, 0, 4733,
|
|
27388
|
+
4730, 1, 0, 0, 0, 4733, 4731, 1, 0, 0, 0, 4734, 659, 1, 0, 0, 0, 4735, 4738, 5, 2, 0,
|
|
27389
|
+
0, 4736, 4737, 5, 387, 0, 0, 4737, 4739, 5, 278, 0, 0, 4738, 4736, 1, 0, 0, 0, 4738,
|
|
27390
|
+
4739, 1, 0, 0, 0, 4739, 661, 1, 0, 0, 0, 4740, 4741, 7, 50, 0, 0, 4741, 663, 1, 0, 0,
|
|
27391
|
+
0, 4742, 4743, 7, 51, 0, 0, 4743, 665, 1, 0, 0, 0, 4744, 4745, 7, 52, 0, 0, 4745, 667,
|
|
27392
|
+
1, 0, 0, 0, 4746, 4747, 7, 53, 0, 0, 4747, 669, 1, 0, 0, 0, 4748, 4749, 7, 54, 0, 0, 4749,
|
|
27393
|
+
671, 1, 0, 0, 0, 4750, 4751, 7, 55, 0, 0, 4751, 673, 1, 0, 0, 0, 4752, 4753, 7, 56, 0,
|
|
27394
|
+
0, 4753, 675, 1, 0, 0, 0, 4754, 4755, 7, 57, 0, 0, 4755, 677, 1, 0, 0, 0, 4756, 4757,
|
|
27395
|
+
7, 58, 0, 0, 4757, 679, 1, 0, 0, 0, 4758, 4759, 7, 59, 0, 0, 4759, 681, 1, 0, 0, 0, 4760,
|
|
27396
|
+
4765, 3, 638, 319, 0, 4761, 4762, 5, 395, 0, 0, 4762, 4764, 3, 638, 319, 0, 4763,
|
|
27397
|
+
4761, 1, 0, 0, 0, 4764, 4767, 1, 0, 0, 0, 4765, 4763, 1, 0, 0, 0, 4765, 4766, 1, 0, 0,
|
|
27398
|
+
0, 4766, 683, 1, 0, 0, 0, 4767, 4765, 1, 0, 0, 0, 4768, 4769, 3, 638, 319, 0, 4769,
|
|
27399
|
+
4770, 5, 411, 0, 0, 4770, 4771, 7, 26, 0, 0, 4771, 685, 1, 0, 0, 0, 4772, 4777, 5, 176,
|
|
27400
|
+
0, 0, 4773, 4774, 5, 211, 0, 0, 4774, 4775, 5, 341, 0, 0, 4775, 4777, 3, 682, 341,
|
|
27401
|
+
0, 4776, 4772, 1, 0, 0, 0, 4776, 4773, 1, 0, 0, 0, 4777, 687, 1, 0, 0, 0, 4778, 4779,
|
|
27402
|
+
5, 8, 0, 0, 4779, 4780, 5, 405, 0, 0, 4780, 4791, 5, 431, 0, 0, 4781, 4782, 5, 259,
|
|
27403
|
+
0, 0, 4782, 4783, 5, 405, 0, 0, 4783, 4791, 5, 431, 0, 0, 4784, 4785, 5, 294, 0, 0,
|
|
27404
|
+
4785, 4786, 5, 405, 0, 0, 4786, 4791, 5, 426, 0, 0, 4787, 4788, 5, 240, 0, 0, 4788,
|
|
27405
|
+
4789, 5, 405, 0, 0, 4789, 4791, 3, 682, 341, 0, 4790, 4778, 1, 0, 0, 0, 4790, 4781,
|
|
27406
|
+
1, 0, 0, 0, 4790, 4784, 1, 0, 0, 0, 4790, 4787, 1, 0, 0, 0, 4791, 689, 1, 0, 0, 0, 4792,
|
|
27407
|
+
4797, 3, 688, 344, 0, 4793, 4794, 5, 397, 0, 0, 4794, 4796, 3, 688, 344, 0, 4795,
|
|
27408
|
+
4793, 1, 0, 0, 0, 4796, 4799, 1, 0, 0, 0, 4797, 4795, 1, 0, 0, 0, 4797, 4798, 1, 0, 0,
|
|
27409
|
+
0, 4798, 691, 1, 0, 0, 0, 4799, 4797, 1, 0, 0, 0, 621, 695, 702, 705, 711, 717, 724,
|
|
27410
|
+
734, 737, 741, 756, 763, 769, 774, 779, 782, 806, 813, 816, 821, 826, 832, 836,
|
|
27411
|
+
849, 853, 857, 862, 869, 873, 878, 885, 889, 894, 942, 949, 954, 977, 981, 985,
|
|
27412
|
+
988, 992, 997, 1003, 1007, 1013, 1015, 1026, 1030, 1037, 1045, 1048, 1053, 1057,
|
|
27413
|
+
1060, 1070, 1078, 1082, 1085, 1089, 1093, 1096, 1101, 1107, 1112, 1117, 1121,
|
|
27414
|
+
1132, 1134, 1138, 1148, 1152, 1158, 1161, 1168, 1173, 1181, 1186, 1190, 1198,
|
|
27415
|
+
1203, 1209, 1215, 1218, 1221, 1224, 1233, 1241, 1246, 1254, 1261, 1264, 1267,
|
|
27416
|
+
1269, 1280, 1282, 1285, 1288, 1291, 1294, 1297, 1299, 1311, 1317, 1325, 1327,
|
|
27417
|
+
1337, 1370, 1375, 1379, 1383, 1390, 1397, 1403, 1407, 1410, 1417, 1440, 1445,
|
|
27418
|
+
1449, 1457, 1466, 1473, 1479, 1486, 1489, 1495, 1502, 1510, 1519, 1528, 1535,
|
|
27419
|
+
1555, 1562, 1564, 1571, 1581, 1589, 1593, 1597, 1610, 1619, 1635, 1639, 1644,
|
|
27420
|
+
1649, 1652, 1655, 1658, 1661, 1664, 1669, 1678, 1682, 1689, 1692, 1695, 1698,
|
|
27421
|
+
1710, 1716, 1742, 1750, 1754, 1757, 1760, 1763, 1766, 1769, 1772, 1775, 1784,
|
|
27422
|
+
1794, 1797, 1817, 1823, 1829, 1832, 1834, 1841, 1848, 1861, 1866, 1875, 1883,
|
|
27423
|
+
1891, 1904, 1917, 1933, 1937, 1952, 1958, 1961, 1964, 1967, 1970, 1974, 1989,
|
|
27424
|
+
1992, 2003, 2017, 2051, 2059, 2064, 2072, 2077, 2082, 2089, 2097, 2105, 2113,
|
|
27425
|
+
2118, 2128, 2132, 2140, 2149, 2152, 2156, 2163, 2169, 2173, 2179, 2183, 2195,
|
|
27426
|
+
2204, 2215, 2219, 2226, 2238, 2248, 2251, 2258, 2264, 2268, 2271, 2274, 2280,
|
|
27427
|
+
2284, 2288, 2293, 2297, 2301, 2305, 2313, 2317, 2321, 2325, 2329, 2337, 2341,
|
|
27428
|
+
2345, 2353, 2358, 2363, 2367, 2371, 2378, 2387, 2395, 2407, 2425, 2428, 2434,
|
|
27429
|
+
2460, 2463, 2469, 2477, 2485, 2498, 2505, 2508, 2511, 2514, 2517, 2520, 2523,
|
|
27430
|
+
2526, 2529, 2532, 2535, 2540, 2543, 2546, 2549, 2552, 2555, 2558, 2561, 2564,
|
|
27431
|
+
2567, 2570, 2572, 2578, 2582, 2585, 2588, 2591, 2594, 2597, 2604, 2608, 2611,
|
|
27432
|
+
2614, 2617, 2620, 2623, 2630, 2633, 2641, 2645, 2652, 2654, 2657, 2662, 2665,
|
|
27433
|
+
2669, 2674, 2680, 2688, 2696, 2706, 2709, 2713, 2717, 2722, 2729, 2733, 2735,
|
|
27434
|
+
2739, 2746, 2751, 2764, 2772, 2791, 2801, 2814, 2824, 2828, 2832, 2838, 2845,
|
|
27435
|
+
2852, 2861, 2868, 2888, 2891, 2905, 2920, 2924, 2944, 2956, 2962, 2965, 2968,
|
|
27436
|
+
2974, 2980, 2987, 2995, 3001, 3005, 3010, 3013, 3017, 3024, 3029, 3034, 3037,
|
|
27437
|
+
3039, 3047, 3055, 3059, 3063, 3067, 3084, 3101, 3108, 3117, 3122, 3125, 3128,
|
|
27438
|
+
3132, 3147, 3161, 3164, 3175, 3179, 3182, 3185, 3189, 3194, 3197, 3200, 3203,
|
|
27439
|
+
3206, 3209, 3215, 3218, 3221, 3224, 3227, 3230, 3233, 3236, 3239, 3242, 3246,
|
|
27440
|
+
3248, 3254, 3259, 3262, 3265, 3268, 3271, 3277, 3280, 3283, 3286, 3289, 3292,
|
|
27441
|
+
3295, 3298, 3301, 3304, 3308, 3310, 3312, 3317, 3322, 3326, 3330, 3335, 3340,
|
|
27442
|
+
3349, 3359, 3367, 3379, 3382, 3388, 3395, 3402, 3409, 3416, 3425, 3429, 3436,
|
|
27443
|
+
3441, 3445, 3449, 3452, 3455, 3466, 3470, 3472, 3475, 3488, 3491, 3494, 3506,
|
|
27444
|
+
3509, 3516, 3525, 3530, 3532, 3534, 3551, 3554, 3562, 3565, 3569, 3572, 3575,
|
|
27445
|
+
3578, 3581, 3593, 3601, 3608, 3611, 3618, 3621, 3626, 3633, 3641, 3649, 3654,
|
|
27446
|
+
3658, 3663, 3670, 3684, 3687, 3691, 3702, 3712, 3715, 3722, 3731, 3734, 3740,
|
|
27447
|
+
3743, 3750, 3755, 3758, 3771, 3777, 3779, 3787, 3790, 3800, 3805, 3807, 3819,
|
|
27448
|
+
3825, 3827, 3834, 3841, 3855, 3861, 3864, 3867, 3870, 3879, 3886, 3892, 3901,
|
|
27449
|
+
3905, 3913, 3923, 3933, 3938, 3942, 3948, 3953, 3963, 3967, 3970, 3975, 3978,
|
|
27450
|
+
3982, 3987, 3998, 4000, 4009, 4028, 4038, 4041, 4048, 4051, 4061, 4068, 4071,
|
|
27451
|
+
4073, 4084, 4094, 4096, 4105, 4110, 4119, 4132, 4136, 4148, 4152, 4161, 4180,
|
|
27452
|
+
4198, 4210, 4225, 4229, 4245, 4252, 4266, 4271, 4281, 4283, 4291, 4299, 4307,
|
|
27453
|
+
4315, 4323, 4331, 4342, 4346, 4354, 4370, 4374, 4379, 4392, 4401, 4403, 4412,
|
|
27454
|
+
4417, 4423, 4430, 4435, 4444, 4452, 4460, 4468, 4478, 4483, 4542, 4548, 4557,
|
|
27455
|
+
4559, 4575, 4583, 4587, 4589, 4595, 4600, 4617, 4643, 4648, 4650, 4678, 4695,
|
|
27456
|
+
4700, 4709, 4720, 4727, 4733, 4738, 4765, 4776, 4790, 4797
|
|
27449
27457
|
];
|
|
27450
27458
|
HiveSqlParser.vocabulary = new antlr.Vocabulary(HiveSqlParser.literalNames, HiveSqlParser.symbolicNames, []);
|
|
27451
27459
|
HiveSqlParser.decisionsToDFA = HiveSqlParser._ATN.decisionToState.map((ds, index) => new antlr.DFA(ds, index));
|
|
27452
|
-
export { HiveSqlParser };
|
|
27453
27460
|
export class ProgramContext extends antlr.ParserRuleContext {
|
|
27454
27461
|
constructor(parent, invokingState) {
|
|
27455
27462
|
super(parent, invokingState);
|
|
@@ -43221,6 +43228,9 @@ export class ConfigPropertiesItemContext extends antlr.ParserRuleContext {
|
|
|
43221
43228
|
id_() {
|
|
43222
43229
|
return this.getRuleContext(0, Id_Context);
|
|
43223
43230
|
}
|
|
43231
|
+
KW_SELECT() {
|
|
43232
|
+
return this.getToken(HiveSqlParser.KW_SELECT, 0);
|
|
43233
|
+
}
|
|
43224
43234
|
KW_JOIN() {
|
|
43225
43235
|
return this.getToken(HiveSqlParser.KW_JOIN, 0);
|
|
43226
43236
|
}
|