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

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 (38) hide show
  1. package/dist/lib/SQLParserBase.d.ts +13 -1
  2. package/dist/lib/SQLParserBase.js +40 -5
  3. package/dist/lib/flink/FlinkSqlParser.d.ts +222 -179
  4. package/dist/lib/flink/FlinkSqlParser.js +3300 -2949
  5. package/dist/lib/flink/FlinkSqlParserListener.d.ts +33 -0
  6. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +21 -0
  7. package/dist/lib/hive/HiveSqlParser.d.ts +274 -228
  8. package/dist/lib/hive/HiveSqlParser.js +6304 -5912
  9. package/dist/lib/hive/HiveSqlParserListener.d.ts +33 -0
  10. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +21 -0
  11. package/dist/lib/impala/ImpalaSqlParser.d.ts +145 -103
  12. package/dist/lib/impala/ImpalaSqlParser.js +3687 -3320
  13. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +33 -0
  14. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +21 -0
  15. package/dist/lib/mysql/MySqlParser.d.ts +161 -94
  16. package/dist/lib/mysql/MySqlParser.js +9959 -9499
  17. package/dist/lib/mysql/MySqlParserListener.d.ts +79 -5
  18. package/dist/lib/mysql/MySqlParserVisitor.d.ts +49 -3
  19. package/dist/lib/postgresql/PostgreSqlParser.d.ts +108 -71
  20. package/dist/lib/postgresql/PostgreSqlParser.js +13330 -10388
  21. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +48 -0
  22. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +30 -0
  23. package/dist/lib/spark/SparkSqlParser.d.ts +185 -145
  24. package/dist/lib/spark/SparkSqlParser.js +5463 -5152
  25. package/dist/lib/spark/SparkSqlParserListener.d.ts +33 -0
  26. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +21 -0
  27. package/dist/parser/common/basicSQL.d.ts +5 -5
  28. package/dist/parser/common/basicSQL.js +3 -3
  29. package/dist/parser/common/entityCollector.js +14 -2
  30. package/dist/parser/flink/index.js +5 -2
  31. package/dist/parser/mysql/index.js +3 -1
  32. package/dist/parser/mysql/mysqlEntityCollector.d.ts +2 -1
  33. package/dist/parser/mysql/mysqlEntityCollector.js +13 -3
  34. package/dist/parser/mysql/mysqlErrorListener.js +2 -0
  35. package/dist/parser/postgresql/postgreEntityCollector.d.ts +3 -1
  36. package/dist/parser/postgresql/postgreEntityCollector.js +13 -0
  37. package/dist/parser/spark/index.js +3 -1
  38. package/package.json +1 -1
@@ -129,6 +129,7 @@ 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";
132
133
  import { ColumnNameCreateContext } from "./HiveSqlParser.js";
133
134
  import { ExtColumnNameContext } from "./HiveSqlParser.js";
134
135
  import { ColumnNameOrderListContext } from "./HiveSqlParser.js";
@@ -349,7 +350,9 @@ import { HourContext } from "./HiveSqlParser.js";
349
350
  import { MinuteContext } from "./HiveSqlParser.js";
350
351
  import { SecondContext } from "./HiveSqlParser.js";
351
352
  import { DecimalContext } from "./HiveSqlParser.js";
353
+ import { EmptyColumnContext } from "./HiveSqlParser.js";
352
354
  import { PoolPathContext } from "./HiveSqlParser.js";
355
+ import { PoolPathAllowEmptyContext } from "./HiveSqlParser.js";
353
356
  import { TriggerAtomExpressionContext } from "./HiveSqlParser.js";
354
357
  import { TriggerActionExpressionContext } from "./HiveSqlParser.js";
355
358
  import { PoolAssignContext } from "./HiveSqlParser.js";
@@ -1659,6 +1662,16 @@ export declare class HiveSqlParserListener implements ParseTreeListener {
1659
1662
  * @param ctx the parse tree
1660
1663
  */
1661
1664
  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;
1662
1675
  /**
1663
1676
  * Enter a parse tree produced by `HiveSqlParser.columnNameCreate`.
1664
1677
  * @param ctx the parse tree
@@ -3867,6 +3880,16 @@ export declare class HiveSqlParserListener implements ParseTreeListener {
3867
3880
  * @param ctx the parse tree
3868
3881
  */
3869
3882
  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;
3870
3893
  /**
3871
3894
  * Enter a parse tree produced by `HiveSqlParser.poolPath`.
3872
3895
  * @param ctx the parse tree
@@ -3877,6 +3900,16 @@ export declare class HiveSqlParserListener implements ParseTreeListener {
3877
3900
  * @param ctx the parse tree
3878
3901
  */
3879
3902
  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;
3880
3913
  /**
3881
3914
  * Enter a parse tree produced by `HiveSqlParser.triggerAtomExpression`.
3882
3915
  * @param ctx the parse tree
@@ -129,6 +129,7 @@ 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";
132
133
  import { ColumnNameCreateContext } from "./HiveSqlParser.js";
133
134
  import { ExtColumnNameContext } from "./HiveSqlParser.js";
134
135
  import { ColumnNameOrderListContext } from "./HiveSqlParser.js";
@@ -349,7 +350,9 @@ import { HourContext } from "./HiveSqlParser.js";
349
350
  import { MinuteContext } from "./HiveSqlParser.js";
350
351
  import { SecondContext } from "./HiveSqlParser.js";
351
352
  import { DecimalContext } from "./HiveSqlParser.js";
353
+ import { EmptyColumnContext } from "./HiveSqlParser.js";
352
354
  import { PoolPathContext } from "./HiveSqlParser.js";
355
+ import { PoolPathAllowEmptyContext } from "./HiveSqlParser.js";
353
356
  import { TriggerAtomExpressionContext } from "./HiveSqlParser.js";
354
357
  import { TriggerActionExpressionContext } from "./HiveSqlParser.js";
355
358
  import { PoolAssignContext } from "./HiveSqlParser.js";
@@ -1142,6 +1145,12 @@ export declare class HiveSqlParserVisitor<Result> extends AbstractParseTreeVisit
1142
1145
  * @return the visitor result
1143
1146
  */
1144
1147
  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;
1145
1154
  /**
1146
1155
  * Visit a parse tree produced by `HiveSqlParser.columnNameCreate`.
1147
1156
  * @param ctx the parse tree
@@ -2466,12 +2475,24 @@ export declare class HiveSqlParserVisitor<Result> extends AbstractParseTreeVisit
2466
2475
  * @return the visitor result
2467
2476
  */
2468
2477
  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;
2469
2484
  /**
2470
2485
  * Visit a parse tree produced by `HiveSqlParser.poolPath`.
2471
2486
  * @param ctx the parse tree
2472
2487
  * @return the visitor result
2473
2488
  */
2474
2489
  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;
2475
2496
  /**
2476
2497
  * Visit a parse tree produced by `HiveSqlParser.triggerAtomExpression`.
2477
2498
  * @param ctx the parse tree
@@ -389,106 +389,109 @@ 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_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;
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;
492
495
  static readonly literalNames: (string | null)[];
493
496
  static readonly symbolicNames: (string | null)[];
494
497
  static readonly ruleNames: string[];
@@ -595,8 +598,10 @@ export declare class ImpalaSqlParser extends SQLParserBase {
595
598
  tableNamePath(): TableNamePathContext;
596
599
  viewNamePath(): ViewNamePathContext;
597
600
  functionNamePath(): FunctionNamePathContext;
601
+ emptyColumn(): EmptyColumnContext;
598
602
  columnNamePath(): ColumnNamePathContext;
599
603
  columnName(): ColumnNameContext;
604
+ columnNameAllowEmpty(): ColumnNameAllowEmptyContext;
600
605
  tableOrViewPath(): TableOrViewPathContext;
601
606
  createCommonItem(): CreateCommonItemContext;
602
607
  assignmentList(): AssignmentListContext;
@@ -696,6 +701,7 @@ export declare class ImpalaSqlParser extends SQLParserBase {
696
701
  privilege(): PrivilegeContext;
697
702
  objectType(): ObjectTypeContext;
698
703
  qualifiedName(): QualifiedNameContext;
704
+ qualifiedNameAllowEmpty(): QualifiedNameAllowEmptyContext;
699
705
  principal(): PrincipalContext;
700
706
  identifier(): IdentifierContext;
701
707
  number_(): NumberContext;
@@ -703,12 +709,15 @@ export declare class ImpalaSqlParser extends SQLParserBase {
703
709
  nonReserved(): NonReservedContext;
704
710
  sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
705
711
  private columnNamePath_sempred;
712
+ private columnNameAllowEmpty_sempred;
706
713
  private queryTerm_sempred;
714
+ private selectItem_sempred;
707
715
  private relation_sempred;
708
716
  private booleanExpression_sempred;
709
717
  private valueExpression_sempred;
710
718
  private primaryExpression_sempred;
711
719
  private type_sempred;
720
+ private qualifiedNameAllowEmpty_sempred;
712
721
  static readonly _serializedATN: number[];
713
722
  private static __ATN;
714
723
  static get _ATN(): antlr.ATN;
@@ -2114,9 +2123,17 @@ export declare class FunctionNamePathContext extends antlr.ParserRuleContext {
2114
2123
  exitRule(listener: ImpalaSqlParserListener): void;
2115
2124
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2116
2125
  }
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
+ }
2117
2133
  export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
2118
2134
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2119
- qualifiedName(): QualifiedNameContext | null;
2135
+ emptyColumn(): EmptyColumnContext | null;
2136
+ qualifiedNameAllowEmpty(): QualifiedNameAllowEmptyContext | null;
2120
2137
  get ruleIndex(): number;
2121
2138
  enterRule(listener: ImpalaSqlParserListener): void;
2122
2139
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2130,6 +2147,15 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
2130
2147
  exitRule(listener: ImpalaSqlParserListener): void;
2131
2148
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2132
2149
  }
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
+ }
2133
2159
  export declare class TableOrViewPathContext extends antlr.ParserRuleContext {
2134
2160
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2135
2161
  tableNamePath(): TableNamePathContext | null;
@@ -2707,7 +2733,8 @@ export declare class WhereClauseContext extends antlr.ParserRuleContext {
2707
2733
  _where?: BooleanExpressionContext;
2708
2734
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2709
2735
  KW_WHERE(): antlr.TerminalNode;
2710
- booleanExpression(): BooleanExpressionContext;
2736
+ columnNameAllowEmpty(): ColumnNameAllowEmptyContext | null;
2737
+ booleanExpression(): BooleanExpressionContext | null;
2711
2738
  get ruleIndex(): number;
2712
2739
  enterRule(listener: ImpalaSqlParserListener): void;
2713
2740
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2717,7 +2744,8 @@ export declare class HavingClauseContext extends antlr.ParserRuleContext {
2717
2744
  _having?: BooleanExpressionContext;
2718
2745
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2719
2746
  KW_HAVING(): antlr.TerminalNode;
2720
- booleanExpression(): BooleanExpressionContext;
2747
+ columnNameAllowEmpty(): ColumnNameAllowEmptyContext | null;
2748
+ booleanExpression(): BooleanExpressionContext | null;
2721
2749
  get ruleIndex(): number;
2722
2750
  enterRule(listener: ImpalaSqlParserListener): void;
2723
2751
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2787,6 +2815,7 @@ export declare class SelectItemContext extends antlr.ParserRuleContext {
2787
2815
  columnAlias(): ColumnAliasContext | null;
2788
2816
  selectExpressionColumnName(): SelectExpressionColumnNameContext | null;
2789
2817
  tableAllColumns(): TableAllColumnsContext | null;
2818
+ emptyColumn(): EmptyColumnContext | null;
2790
2819
  get ruleIndex(): number;
2791
2820
  enterRule(listener: ImpalaSqlParserListener): void;
2792
2821
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2874,6 +2903,7 @@ export declare class JoinCriteriaContext extends antlr.ParserRuleContext {
2874
2903
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2875
2904
  KW_ON(): antlr.TerminalNode | null;
2876
2905
  booleanExpression(): BooleanExpressionContext | null;
2906
+ columnNameAllowEmpty(): ColumnNameAllowEmptyContext | null;
2877
2907
  KW_USING(): antlr.TerminalNode | null;
2878
2908
  LPAREN(): antlr.TerminalNode | null;
2879
2909
  identifier(): IdentifierContext[];
@@ -3881,6 +3911,18 @@ export declare class QualifiedNameContext extends antlr.ParserRuleContext {
3881
3911
  exitRule(listener: ImpalaSqlParserListener): void;
3882
3912
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
3883
3913
  }
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
+ }
3884
3926
  export declare class PrincipalContext extends antlr.ParserRuleContext {
3885
3927
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
3886
3928
  get ruleIndex(): number;