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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/lib/SQLParserBase.d.ts +1 -13
  2. package/dist/lib/SQLParserBase.js +5 -40
  3. package/dist/lib/flink/FlinkSqlLexer.d.ts +399 -397
  4. package/dist/lib/flink/FlinkSqlLexer.js +2504 -2489
  5. package/dist/lib/flink/FlinkSqlParser.d.ts +726 -617
  6. package/dist/lib/flink/FlinkSqlParser.js +4861 -3558
  7. package/dist/lib/flink/FlinkSqlParserListener.d.ts +90 -33
  8. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +57 -21
  9. package/dist/lib/hive/HiveSqlParser.d.ts +228 -274
  10. package/dist/lib/hive/HiveSqlParser.js +5912 -6304
  11. package/dist/lib/hive/HiveSqlParserListener.d.ts +0 -33
  12. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +0 -21
  13. package/dist/lib/impala/ImpalaSqlParser.d.ts +103 -145
  14. package/dist/lib/impala/ImpalaSqlParser.js +3320 -3687
  15. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -33
  16. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -21
  17. package/dist/lib/mysql/MySqlParser.d.ts +94 -161
  18. package/dist/lib/mysql/MySqlParser.js +9499 -9959
  19. package/dist/lib/mysql/MySqlParserListener.d.ts +5 -79
  20. package/dist/lib/mysql/MySqlParserVisitor.d.ts +3 -49
  21. package/dist/lib/postgresql/PostgreSqlParser.d.ts +71 -108
  22. package/dist/lib/postgresql/PostgreSqlParser.js +10388 -13330
  23. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +0 -48
  24. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +0 -30
  25. package/dist/lib/spark/SparkSqlParser.d.ts +145 -185
  26. package/dist/lib/spark/SparkSqlParser.js +5109 -5420
  27. package/dist/lib/spark/SparkSqlParserListener.d.ts +0 -33
  28. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +0 -21
  29. package/dist/parser/common/basicSQL.d.ts +17 -5
  30. package/dist/parser/common/basicSQL.js +74 -3
  31. package/dist/parser/common/entityCollector.js +2 -14
  32. package/dist/parser/flink/index.js +2 -5
  33. package/dist/parser/mysql/index.js +1 -3
  34. package/dist/parser/mysql/mysqlEntityCollector.d.ts +1 -2
  35. package/dist/parser/mysql/mysqlEntityCollector.js +3 -13
  36. package/dist/parser/mysql/mysqlErrorListener.js +0 -2
  37. package/dist/parser/postgresql/postgreEntityCollector.d.ts +1 -3
  38. package/dist/parser/postgresql/postgreEntityCollector.js +0 -13
  39. package/dist/parser/spark/index.js +1 -3
  40. package/package.json +1 -1
@@ -129,7 +129,6 @@ import { ColumnNameColonTypeListContext } from "./HiveSqlParser.js";
129
129
  import { ColumnNameListContext } from "./HiveSqlParser.js";
130
130
  import { ColumnNameContext } from "./HiveSqlParser.js";
131
131
  import { ColumnNamePathContext } from "./HiveSqlParser.js";
132
- import { ColumnNamePathAllowEmptyContext } from "./HiveSqlParser.js";
133
132
  import { ColumnNameCreateContext } from "./HiveSqlParser.js";
134
133
  import { ExtColumnNameContext } from "./HiveSqlParser.js";
135
134
  import { ColumnNameOrderListContext } from "./HiveSqlParser.js";
@@ -350,9 +349,7 @@ import { HourContext } from "./HiveSqlParser.js";
350
349
  import { MinuteContext } from "./HiveSqlParser.js";
351
350
  import { SecondContext } from "./HiveSqlParser.js";
352
351
  import { DecimalContext } from "./HiveSqlParser.js";
353
- import { EmptyColumnContext } from "./HiveSqlParser.js";
354
352
  import { PoolPathContext } from "./HiveSqlParser.js";
355
- import { PoolPathAllowEmptyContext } from "./HiveSqlParser.js";
356
353
  import { TriggerAtomExpressionContext } from "./HiveSqlParser.js";
357
354
  import { TriggerActionExpressionContext } from "./HiveSqlParser.js";
358
355
  import { PoolAssignContext } from "./HiveSqlParser.js";
@@ -1662,16 +1659,6 @@ export declare class HiveSqlParserListener implements ParseTreeListener {
1662
1659
  * @param ctx the parse tree
1663
1660
  */
1664
1661
  exitColumnNamePath?: (ctx: ColumnNamePathContext) => void;
1665
- /**
1666
- * Enter a parse tree produced by `HiveSqlParser.columnNamePathAllowEmpty`.
1667
- * @param ctx the parse tree
1668
- */
1669
- enterColumnNamePathAllowEmpty?: (ctx: ColumnNamePathAllowEmptyContext) => void;
1670
- /**
1671
- * Exit a parse tree produced by `HiveSqlParser.columnNamePathAllowEmpty`.
1672
- * @param ctx the parse tree
1673
- */
1674
- exitColumnNamePathAllowEmpty?: (ctx: ColumnNamePathAllowEmptyContext) => void;
1675
1662
  /**
1676
1663
  * Enter a parse tree produced by `HiveSqlParser.columnNameCreate`.
1677
1664
  * @param ctx the parse tree
@@ -3880,16 +3867,6 @@ export declare class HiveSqlParserListener implements ParseTreeListener {
3880
3867
  * @param ctx the parse tree
3881
3868
  */
3882
3869
  exitDecimal?: (ctx: DecimalContext) => void;
3883
- /**
3884
- * Enter a parse tree produced by `HiveSqlParser.emptyColumn`.
3885
- * @param ctx the parse tree
3886
- */
3887
- enterEmptyColumn?: (ctx: EmptyColumnContext) => void;
3888
- /**
3889
- * Exit a parse tree produced by `HiveSqlParser.emptyColumn`.
3890
- * @param ctx the parse tree
3891
- */
3892
- exitEmptyColumn?: (ctx: EmptyColumnContext) => void;
3893
3870
  /**
3894
3871
  * Enter a parse tree produced by `HiveSqlParser.poolPath`.
3895
3872
  * @param ctx the parse tree
@@ -3900,16 +3877,6 @@ export declare class HiveSqlParserListener implements ParseTreeListener {
3900
3877
  * @param ctx the parse tree
3901
3878
  */
3902
3879
  exitPoolPath?: (ctx: PoolPathContext) => void;
3903
- /**
3904
- * Enter a parse tree produced by `HiveSqlParser.poolPathAllowEmpty`.
3905
- * @param ctx the parse tree
3906
- */
3907
- enterPoolPathAllowEmpty?: (ctx: PoolPathAllowEmptyContext) => void;
3908
- /**
3909
- * Exit a parse tree produced by `HiveSqlParser.poolPathAllowEmpty`.
3910
- * @param ctx the parse tree
3911
- */
3912
- exitPoolPathAllowEmpty?: (ctx: PoolPathAllowEmptyContext) => void;
3913
3880
  /**
3914
3881
  * Enter a parse tree produced by `HiveSqlParser.triggerAtomExpression`.
3915
3882
  * @param ctx the parse tree
@@ -129,7 +129,6 @@ import { ColumnNameColonTypeListContext } from "./HiveSqlParser.js";
129
129
  import { ColumnNameListContext } from "./HiveSqlParser.js";
130
130
  import { ColumnNameContext } from "./HiveSqlParser.js";
131
131
  import { ColumnNamePathContext } from "./HiveSqlParser.js";
132
- import { ColumnNamePathAllowEmptyContext } from "./HiveSqlParser.js";
133
132
  import { ColumnNameCreateContext } from "./HiveSqlParser.js";
134
133
  import { ExtColumnNameContext } from "./HiveSqlParser.js";
135
134
  import { ColumnNameOrderListContext } from "./HiveSqlParser.js";
@@ -350,9 +349,7 @@ import { HourContext } from "./HiveSqlParser.js";
350
349
  import { MinuteContext } from "./HiveSqlParser.js";
351
350
  import { SecondContext } from "./HiveSqlParser.js";
352
351
  import { DecimalContext } from "./HiveSqlParser.js";
353
- import { EmptyColumnContext } from "./HiveSqlParser.js";
354
352
  import { PoolPathContext } from "./HiveSqlParser.js";
355
- import { PoolPathAllowEmptyContext } from "./HiveSqlParser.js";
356
353
  import { TriggerAtomExpressionContext } from "./HiveSqlParser.js";
357
354
  import { TriggerActionExpressionContext } from "./HiveSqlParser.js";
358
355
  import { PoolAssignContext } from "./HiveSqlParser.js";
@@ -1145,12 +1142,6 @@ export declare class HiveSqlParserVisitor<Result> extends AbstractParseTreeVisit
1145
1142
  * @return the visitor result
1146
1143
  */
1147
1144
  visitColumnNamePath?: (ctx: ColumnNamePathContext) => Result;
1148
- /**
1149
- * Visit a parse tree produced by `HiveSqlParser.columnNamePathAllowEmpty`.
1150
- * @param ctx the parse tree
1151
- * @return the visitor result
1152
- */
1153
- visitColumnNamePathAllowEmpty?: (ctx: ColumnNamePathAllowEmptyContext) => Result;
1154
1145
  /**
1155
1146
  * Visit a parse tree produced by `HiveSqlParser.columnNameCreate`.
1156
1147
  * @param ctx the parse tree
@@ -2475,24 +2466,12 @@ export declare class HiveSqlParserVisitor<Result> extends AbstractParseTreeVisit
2475
2466
  * @return the visitor result
2476
2467
  */
2477
2468
  visitDecimal?: (ctx: DecimalContext) => Result;
2478
- /**
2479
- * Visit a parse tree produced by `HiveSqlParser.emptyColumn`.
2480
- * @param ctx the parse tree
2481
- * @return the visitor result
2482
- */
2483
- visitEmptyColumn?: (ctx: EmptyColumnContext) => Result;
2484
2469
  /**
2485
2470
  * Visit a parse tree produced by `HiveSqlParser.poolPath`.
2486
2471
  * @param ctx the parse tree
2487
2472
  * @return the visitor result
2488
2473
  */
2489
2474
  visitPoolPath?: (ctx: PoolPathContext) => Result;
2490
- /**
2491
- * Visit a parse tree produced by `HiveSqlParser.poolPathAllowEmpty`.
2492
- * @param ctx the parse tree
2493
- * @return the visitor result
2494
- */
2495
- visitPoolPathAllowEmpty?: (ctx: PoolPathAllowEmptyContext) => Result;
2496
2475
  /**
2497
2476
  * Visit a parse tree produced by `HiveSqlParser.triggerAtomExpression`.
2498
2477
  * @param ctx the parse tree
@@ -389,109 +389,106 @@ export declare class ImpalaSqlParser extends SQLParserBase {
389
389
  static readonly RULE_tableNamePath = 93;
390
390
  static readonly RULE_viewNamePath = 94;
391
391
  static readonly RULE_functionNamePath = 95;
392
- static readonly RULE_emptyColumn = 96;
393
- static readonly RULE_columnNamePath = 97;
394
- static readonly RULE_columnName = 98;
395
- static readonly RULE_columnNameAllowEmpty = 99;
396
- static readonly RULE_tableOrViewPath = 100;
397
- static readonly RULE_createCommonItem = 101;
398
- static readonly RULE_assignmentList = 102;
399
- static readonly RULE_assignmentItem = 103;
400
- static readonly RULE_viewColumns = 104;
401
- static readonly RULE_viewColumnItem = 105;
402
- static readonly RULE_queryStatement = 106;
403
- static readonly RULE_with = 107;
404
- static readonly RULE_constraintSpecification = 108;
405
- static readonly RULE_foreignKeySpecification = 109;
406
- static readonly RULE_columnSpec = 110;
407
- static readonly RULE_columnDefinition = 111;
408
- static readonly RULE_kuduTableElement = 112;
409
- static readonly RULE_kuduColumnDefinition = 113;
410
- static readonly RULE_commentClause = 114;
411
- static readonly RULE_columnSpecWithKudu = 115;
412
- static readonly RULE_createColumnSpecWithKudu = 116;
413
- static readonly RULE_kuduAttributes = 117;
414
- static readonly RULE_kuduStorageAttr = 118;
415
- static readonly RULE_statsKey = 119;
416
- static readonly RULE_fileFormat = 120;
417
- static readonly RULE_kuduPartitionClause = 121;
418
- static readonly RULE_hashClause = 122;
419
- static readonly RULE_rangeClause = 123;
420
- static readonly RULE_kuduPartitionSpec = 124;
421
- static readonly RULE_cacheSpec = 125;
422
- static readonly RULE_rangeOperator = 126;
423
- static readonly RULE_partitionCol = 127;
424
- static readonly RULE_likeClause = 128;
425
- static readonly RULE_properties = 129;
426
- static readonly RULE_partitionedBy = 130;
427
- static readonly RULE_sortedBy = 131;
428
- static readonly RULE_rowFormat = 132;
429
- static readonly RULE_property = 133;
430
- static readonly RULE_queryNoWith = 134;
431
- static readonly RULE_queryTerm = 135;
432
- static readonly RULE_queryPrimary = 136;
433
- static readonly RULE_sortItem = 137;
434
- static readonly RULE_querySpecification = 138;
435
- static readonly RULE_selectList = 139;
436
- static readonly RULE_whereClause = 140;
437
- static readonly RULE_havingClause = 141;
438
- static readonly RULE_groupBy = 142;
439
- static readonly RULE_groupingElement = 143;
440
- static readonly RULE_groupingSet = 144;
441
- static readonly RULE_namedQuery = 145;
442
- static readonly RULE_setQuantifier = 146;
443
- static readonly RULE_selectItem = 147;
444
- static readonly RULE_columnAlias = 148;
445
- static readonly RULE_selectLiteralColumnName = 149;
446
- static readonly RULE_selectExpressionColumnName = 150;
447
- static readonly RULE_tableAllColumns = 151;
448
- static readonly RULE_relation = 152;
449
- static readonly RULE_joinType = 153;
450
- static readonly RULE_joinCriteria = 154;
451
- static readonly RULE_sampledRelation = 155;
452
- static readonly RULE_sampleType = 156;
453
- static readonly RULE_aliasedRelation = 157;
454
- static readonly RULE_columnAliases = 158;
455
- static readonly RULE_relationPrimary = 159;
456
- static readonly RULE_atomSubQueryTableSource = 160;
457
- static readonly RULE_subQueryRelation = 161;
458
- static readonly RULE_unnest = 162;
459
- static readonly RULE_parenthesizedRelation = 163;
460
- static readonly RULE_columnItem = 164;
461
- static readonly RULE_expression = 165;
462
- static readonly RULE_booleanExpression = 166;
463
- static readonly RULE_predicate = 167;
464
- static readonly RULE_valueExpression = 168;
465
- static readonly RULE_functionCallExpression = 169;
466
- static readonly RULE_primaryExpression = 170;
467
- static readonly RULE_stringLiteral = 171;
468
- static readonly RULE_comparisonOperator = 172;
469
- static readonly RULE_comparisonQuantifier = 173;
470
- static readonly RULE_booleanValue = 174;
471
- static readonly RULE_interval = 175;
472
- static readonly RULE_intervalField = 176;
473
- static readonly RULE_normalForm = 177;
474
- static readonly RULE_type = 178;
475
- static readonly RULE_dataType = 179;
476
- static readonly RULE_typeParameter = 180;
477
- static readonly RULE_baseType = 181;
478
- static readonly RULE_whenClause = 182;
479
- static readonly RULE_filter = 183;
480
- static readonly RULE_partitionByClause = 184;
481
- static readonly RULE_over = 185;
482
- static readonly RULE_windowFrame = 186;
483
- static readonly RULE_frameBound = 187;
484
- static readonly RULE_pathElement = 188;
485
- static readonly RULE_pathSpecification = 189;
486
- static readonly RULE_privilege = 190;
487
- static readonly RULE_objectType = 191;
488
- static readonly RULE_qualifiedName = 192;
489
- static readonly RULE_qualifiedNameAllowEmpty = 193;
490
- static readonly RULE_principal = 194;
491
- static readonly RULE_identifier = 195;
492
- static readonly RULE_number = 196;
493
- static readonly RULE_reservedKeywordsUsedAsFuncName = 197;
494
- static readonly RULE_nonReserved = 198;
392
+ static readonly RULE_columnNamePath = 96;
393
+ static readonly RULE_columnName = 97;
394
+ static readonly RULE_tableOrViewPath = 98;
395
+ static readonly RULE_createCommonItem = 99;
396
+ static readonly RULE_assignmentList = 100;
397
+ static readonly RULE_assignmentItem = 101;
398
+ static readonly RULE_viewColumns = 102;
399
+ static readonly RULE_viewColumnItem = 103;
400
+ static readonly RULE_queryStatement = 104;
401
+ static readonly RULE_with = 105;
402
+ static readonly RULE_constraintSpecification = 106;
403
+ static readonly RULE_foreignKeySpecification = 107;
404
+ static readonly RULE_columnSpec = 108;
405
+ static readonly RULE_columnDefinition = 109;
406
+ static readonly RULE_kuduTableElement = 110;
407
+ static readonly RULE_kuduColumnDefinition = 111;
408
+ static readonly RULE_commentClause = 112;
409
+ static readonly RULE_columnSpecWithKudu = 113;
410
+ static readonly RULE_createColumnSpecWithKudu = 114;
411
+ static readonly RULE_kuduAttributes = 115;
412
+ static readonly RULE_kuduStorageAttr = 116;
413
+ static readonly RULE_statsKey = 117;
414
+ static readonly RULE_fileFormat = 118;
415
+ static readonly RULE_kuduPartitionClause = 119;
416
+ static readonly RULE_hashClause = 120;
417
+ static readonly RULE_rangeClause = 121;
418
+ static readonly RULE_kuduPartitionSpec = 122;
419
+ static readonly RULE_cacheSpec = 123;
420
+ static readonly RULE_rangeOperator = 124;
421
+ static readonly RULE_partitionCol = 125;
422
+ static readonly RULE_likeClause = 126;
423
+ static readonly RULE_properties = 127;
424
+ static readonly RULE_partitionedBy = 128;
425
+ static readonly RULE_sortedBy = 129;
426
+ static readonly RULE_rowFormat = 130;
427
+ static readonly RULE_property = 131;
428
+ static readonly RULE_queryNoWith = 132;
429
+ static readonly RULE_queryTerm = 133;
430
+ static readonly RULE_queryPrimary = 134;
431
+ static readonly RULE_sortItem = 135;
432
+ static readonly RULE_querySpecification = 136;
433
+ static readonly RULE_selectList = 137;
434
+ static readonly RULE_whereClause = 138;
435
+ static readonly RULE_havingClause = 139;
436
+ static readonly RULE_groupBy = 140;
437
+ static readonly RULE_groupingElement = 141;
438
+ static readonly RULE_groupingSet = 142;
439
+ static readonly RULE_namedQuery = 143;
440
+ static readonly RULE_setQuantifier = 144;
441
+ static readonly RULE_selectItem = 145;
442
+ static readonly RULE_columnAlias = 146;
443
+ static readonly RULE_selectLiteralColumnName = 147;
444
+ static readonly RULE_selectExpressionColumnName = 148;
445
+ static readonly RULE_tableAllColumns = 149;
446
+ static readonly RULE_relation = 150;
447
+ static readonly RULE_joinType = 151;
448
+ static readonly RULE_joinCriteria = 152;
449
+ static readonly RULE_sampledRelation = 153;
450
+ static readonly RULE_sampleType = 154;
451
+ static readonly RULE_aliasedRelation = 155;
452
+ static readonly RULE_columnAliases = 156;
453
+ static readonly RULE_relationPrimary = 157;
454
+ static readonly RULE_atomSubQueryTableSource = 158;
455
+ static readonly RULE_subQueryRelation = 159;
456
+ static readonly RULE_unnest = 160;
457
+ static readonly RULE_parenthesizedRelation = 161;
458
+ static readonly RULE_columnItem = 162;
459
+ static readonly RULE_expression = 163;
460
+ static readonly RULE_booleanExpression = 164;
461
+ static readonly RULE_predicate = 165;
462
+ static readonly RULE_valueExpression = 166;
463
+ static readonly RULE_functionCallExpression = 167;
464
+ static readonly RULE_primaryExpression = 168;
465
+ static readonly RULE_stringLiteral = 169;
466
+ static readonly RULE_comparisonOperator = 170;
467
+ static readonly RULE_comparisonQuantifier = 171;
468
+ static readonly RULE_booleanValue = 172;
469
+ static readonly RULE_interval = 173;
470
+ static readonly RULE_intervalField = 174;
471
+ static readonly RULE_normalForm = 175;
472
+ static readonly RULE_type = 176;
473
+ static readonly RULE_dataType = 177;
474
+ static readonly RULE_typeParameter = 178;
475
+ static readonly RULE_baseType = 179;
476
+ static readonly RULE_whenClause = 180;
477
+ static readonly RULE_filter = 181;
478
+ static readonly RULE_partitionByClause = 182;
479
+ static readonly RULE_over = 183;
480
+ static readonly RULE_windowFrame = 184;
481
+ static readonly RULE_frameBound = 185;
482
+ static readonly RULE_pathElement = 186;
483
+ static readonly RULE_pathSpecification = 187;
484
+ static readonly RULE_privilege = 188;
485
+ static readonly RULE_objectType = 189;
486
+ static readonly RULE_qualifiedName = 190;
487
+ static readonly RULE_principal = 191;
488
+ static readonly RULE_identifier = 192;
489
+ static readonly RULE_number = 193;
490
+ static readonly RULE_reservedKeywordsUsedAsFuncName = 194;
491
+ static readonly RULE_nonReserved = 195;
495
492
  static readonly literalNames: (string | null)[];
496
493
  static readonly symbolicNames: (string | null)[];
497
494
  static readonly ruleNames: string[];
@@ -598,10 +595,8 @@ export declare class ImpalaSqlParser extends SQLParserBase {
598
595
  tableNamePath(): TableNamePathContext;
599
596
  viewNamePath(): ViewNamePathContext;
600
597
  functionNamePath(): FunctionNamePathContext;
601
- emptyColumn(): EmptyColumnContext;
602
598
  columnNamePath(): ColumnNamePathContext;
603
599
  columnName(): ColumnNameContext;
604
- columnNameAllowEmpty(): ColumnNameAllowEmptyContext;
605
600
  tableOrViewPath(): TableOrViewPathContext;
606
601
  createCommonItem(): CreateCommonItemContext;
607
602
  assignmentList(): AssignmentListContext;
@@ -701,7 +696,6 @@ export declare class ImpalaSqlParser extends SQLParserBase {
701
696
  privilege(): PrivilegeContext;
702
697
  objectType(): ObjectTypeContext;
703
698
  qualifiedName(): QualifiedNameContext;
704
- qualifiedNameAllowEmpty(): QualifiedNameAllowEmptyContext;
705
699
  principal(): PrincipalContext;
706
700
  identifier(): IdentifierContext;
707
701
  number_(): NumberContext;
@@ -709,15 +703,12 @@ export declare class ImpalaSqlParser extends SQLParserBase {
709
703
  nonReserved(): NonReservedContext;
710
704
  sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
711
705
  private columnNamePath_sempred;
712
- private columnNameAllowEmpty_sempred;
713
706
  private queryTerm_sempred;
714
- private selectItem_sempred;
715
707
  private relation_sempred;
716
708
  private booleanExpression_sempred;
717
709
  private valueExpression_sempred;
718
710
  private primaryExpression_sempred;
719
711
  private type_sempred;
720
- private qualifiedNameAllowEmpty_sempred;
721
712
  static readonly _serializedATN: number[];
722
713
  private static __ATN;
723
714
  static get _ATN(): antlr.ATN;
@@ -2123,17 +2114,9 @@ export declare class FunctionNamePathContext extends antlr.ParserRuleContext {
2123
2114
  exitRule(listener: ImpalaSqlParserListener): void;
2124
2115
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2125
2116
  }
2126
- export declare class EmptyColumnContext extends antlr.ParserRuleContext {
2127
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2128
- get ruleIndex(): number;
2129
- enterRule(listener: ImpalaSqlParserListener): void;
2130
- exitRule(listener: ImpalaSqlParserListener): void;
2131
- accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2132
- }
2133
2117
  export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
2134
2118
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2135
- emptyColumn(): EmptyColumnContext | null;
2136
- qualifiedNameAllowEmpty(): QualifiedNameAllowEmptyContext | null;
2119
+ qualifiedName(): QualifiedNameContext | null;
2137
2120
  get ruleIndex(): number;
2138
2121
  enterRule(listener: ImpalaSqlParserListener): void;
2139
2122
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2147,15 +2130,6 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
2147
2130
  exitRule(listener: ImpalaSqlParserListener): void;
2148
2131
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2149
2132
  }
2150
- export declare class ColumnNameAllowEmptyContext extends antlr.ParserRuleContext {
2151
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2152
- emptyColumn(): EmptyColumnContext | null;
2153
- qualifiedNameAllowEmpty(): QualifiedNameAllowEmptyContext | null;
2154
- get ruleIndex(): number;
2155
- enterRule(listener: ImpalaSqlParserListener): void;
2156
- exitRule(listener: ImpalaSqlParserListener): void;
2157
- accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2158
- }
2159
2133
  export declare class TableOrViewPathContext extends antlr.ParserRuleContext {
2160
2134
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2161
2135
  tableNamePath(): TableNamePathContext | null;
@@ -2733,8 +2707,7 @@ export declare class WhereClauseContext extends antlr.ParserRuleContext {
2733
2707
  _where?: BooleanExpressionContext;
2734
2708
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2735
2709
  KW_WHERE(): antlr.TerminalNode;
2736
- columnNameAllowEmpty(): ColumnNameAllowEmptyContext | null;
2737
- booleanExpression(): BooleanExpressionContext | null;
2710
+ booleanExpression(): BooleanExpressionContext;
2738
2711
  get ruleIndex(): number;
2739
2712
  enterRule(listener: ImpalaSqlParserListener): void;
2740
2713
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2744,8 +2717,7 @@ export declare class HavingClauseContext extends antlr.ParserRuleContext {
2744
2717
  _having?: BooleanExpressionContext;
2745
2718
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2746
2719
  KW_HAVING(): antlr.TerminalNode;
2747
- columnNameAllowEmpty(): ColumnNameAllowEmptyContext | null;
2748
- booleanExpression(): BooleanExpressionContext | null;
2720
+ booleanExpression(): BooleanExpressionContext;
2749
2721
  get ruleIndex(): number;
2750
2722
  enterRule(listener: ImpalaSqlParserListener): void;
2751
2723
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2815,7 +2787,6 @@ export declare class SelectItemContext extends antlr.ParserRuleContext {
2815
2787
  columnAlias(): ColumnAliasContext | null;
2816
2788
  selectExpressionColumnName(): SelectExpressionColumnNameContext | null;
2817
2789
  tableAllColumns(): TableAllColumnsContext | null;
2818
- emptyColumn(): EmptyColumnContext | null;
2819
2790
  get ruleIndex(): number;
2820
2791
  enterRule(listener: ImpalaSqlParserListener): void;
2821
2792
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2903,7 +2874,6 @@ export declare class JoinCriteriaContext extends antlr.ParserRuleContext {
2903
2874
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2904
2875
  KW_ON(): antlr.TerminalNode | null;
2905
2876
  booleanExpression(): BooleanExpressionContext | null;
2906
- columnNameAllowEmpty(): ColumnNameAllowEmptyContext | null;
2907
2877
  KW_USING(): antlr.TerminalNode | null;
2908
2878
  LPAREN(): antlr.TerminalNode | null;
2909
2879
  identifier(): IdentifierContext[];
@@ -3911,18 +3881,6 @@ export declare class QualifiedNameContext extends antlr.ParserRuleContext {
3911
3881
  exitRule(listener: ImpalaSqlParserListener): void;
3912
3882
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
3913
3883
  }
3914
- export declare class QualifiedNameAllowEmptyContext extends antlr.ParserRuleContext {
3915
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3916
- identifier(): IdentifierContext[];
3917
- identifier(i: number): IdentifierContext | null;
3918
- DOT(): antlr.TerminalNode[];
3919
- DOT(i: number): antlr.TerminalNode | null;
3920
- emptyColumn(): EmptyColumnContext | null;
3921
- get ruleIndex(): number;
3922
- enterRule(listener: ImpalaSqlParserListener): void;
3923
- exitRule(listener: ImpalaSqlParserListener): void;
3924
- accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
3925
- }
3926
3884
  export declare class PrincipalContext extends antlr.ParserRuleContext {
3927
3885
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3928
3886
  get ruleIndex(): number;