dt-sql-parser 4.0.3-beta.0 → 4.0.3-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 (74) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/lib/flink/FlinkSqlParser.d.ts +168 -171
  3. package/dist/lib/flink/FlinkSqlParser.js +2341 -2426
  4. package/dist/lib/flink/FlinkSqlParserListener.d.ts +0 -11
  5. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +0 -7
  6. package/dist/lib/hive/HiveSqlParser.d.ts +5 -1
  7. package/dist/lib/hive/HiveSqlParser.js +145 -130
  8. package/dist/lib/impala/ImpalaSqlParser.d.ts +121 -105
  9. package/dist/lib/impala/ImpalaSqlParser.js +3303 -3225
  10. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -0
  11. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -0
  12. package/dist/lib/mysql/MySqlParser.d.ts +4 -0
  13. package/dist/lib/mysql/MySqlParser.js +4 -4
  14. package/dist/lib/postgresql/PostgreSqlParser.d.ts +3 -0
  15. package/dist/lib/postgresql/PostgreSqlParser.js +1500 -1492
  16. package/dist/lib/spark/SparkSqlParser.d.ts +16 -13
  17. package/dist/lib/spark/SparkSqlParser.js +49 -49
  18. package/dist/lib/spark/SparkSqlParserListener.d.ts +10 -10
  19. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +6 -6
  20. package/dist/lib/trino/TrinoSqlParser.d.ts +13 -5
  21. package/dist/lib/trino/TrinoSqlParser.js +23 -23
  22. package/dist/locale/locale.d.ts +41 -0
  23. package/dist/locale/locale.js +43 -0
  24. package/dist/parser/common/basicSQL.d.ts +7 -2
  25. package/dist/parser/common/basicSQL.js +5 -5
  26. package/dist/parser/common/entityCollector.d.ts +58 -11
  27. package/dist/parser/common/entityCollector.js +140 -17
  28. package/dist/parser/common/parseErrorListener.d.ts +6 -3
  29. package/dist/parser/common/parseErrorListener.js +83 -2
  30. package/dist/parser/common/textAndWord.d.ts +6 -9
  31. package/dist/parser/common/textAndWord.js +9 -20
  32. package/dist/parser/common/transform.d.ts +8 -0
  33. package/dist/parser/common/transform.js +11 -0
  34. package/dist/parser/common/types.d.ts +1 -0
  35. package/dist/parser/flink/flinkEntityCollector.js +40 -6
  36. package/dist/parser/flink/flinkErrorListener.d.ts +9 -0
  37. package/dist/parser/flink/flinkErrorListener.js +67 -0
  38. package/dist/parser/flink/index.d.ts +3 -0
  39. package/dist/parser/flink/index.js +4 -0
  40. package/dist/parser/hive/hiveEntityCollector.js +40 -6
  41. package/dist/parser/hive/hiveErrorListener.d.ts +9 -0
  42. package/dist/parser/hive/hiveErrorListener.js +65 -0
  43. package/dist/parser/hive/index.d.ts +3 -0
  44. package/dist/parser/hive/index.js +4 -0
  45. package/dist/parser/impala/ImpalaErrorListener.d.ts +9 -0
  46. package/dist/parser/impala/ImpalaErrorListener.js +63 -0
  47. package/dist/parser/impala/impalaEntityCollector.js +51 -6
  48. package/dist/parser/impala/index.d.ts +3 -0
  49. package/dist/parser/impala/index.js +4 -0
  50. package/dist/parser/mysql/index.d.ts +3 -0
  51. package/dist/parser/mysql/index.js +4 -0
  52. package/dist/parser/mysql/mysqlEntityCollector.d.ts +1 -1
  53. package/dist/parser/mysql/mysqlEntityCollector.js +34 -5
  54. package/dist/parser/mysql/mysqlErrorListener.d.ts +9 -0
  55. package/dist/parser/mysql/mysqlErrorListener.js +63 -0
  56. package/dist/parser/postgresql/index.d.ts +3 -0
  57. package/dist/parser/postgresql/index.js +4 -0
  58. package/dist/parser/postgresql/postgreEntityCollector.d.ts +3 -1
  59. package/dist/parser/postgresql/postgreEntityCollector.js +38 -4
  60. package/dist/parser/postgresql/postgreErrorListener.d.ts +9 -0
  61. package/dist/parser/postgresql/postgreErrorListener.js +71 -0
  62. package/dist/parser/spark/index.d.ts +3 -0
  63. package/dist/parser/spark/index.js +4 -0
  64. package/dist/parser/spark/sparkEntityCollector.d.ts +1 -1
  65. package/dist/parser/spark/sparkEntityCollector.js +43 -6
  66. package/dist/parser/spark/sparkErrorListener.d.ts +9 -0
  67. package/dist/parser/spark/sparkErrorListener.js +63 -0
  68. package/dist/parser/trino/index.d.ts +3 -0
  69. package/dist/parser/trino/index.js +4 -0
  70. package/dist/parser/trino/trinoEntityCollector.d.ts +1 -1
  71. package/dist/parser/trino/trinoEntityCollector.js +34 -5
  72. package/dist/parser/trino/trinoErrorListener.d.ts +9 -0
  73. package/dist/parser/trino/trinoErrorListener.js +65 -0
  74. package/package.json +5 -3
@@ -395,87 +395,89 @@ export declare class ImpalaSqlParser extends SQLParserBase {
395
395
  static readonly RULE_assignmentList = 99;
396
396
  static readonly RULE_assignmentItem = 100;
397
397
  static readonly RULE_viewColumns = 101;
398
- static readonly RULE_queryStatement = 102;
399
- static readonly RULE_with = 103;
400
- static readonly RULE_constraintSpecification = 104;
401
- static readonly RULE_foreignKeySpecification = 105;
402
- static readonly RULE_columnSpec = 106;
403
- static readonly RULE_columnDefinition = 107;
404
- static readonly RULE_kuduTableElement = 108;
405
- static readonly RULE_kuduColumnDefinition = 109;
406
- static readonly RULE_columnSpecWithKudu = 110;
407
- static readonly RULE_createColumnSpecWithKudu = 111;
408
- static readonly RULE_kuduAttributes = 112;
409
- static readonly RULE_kuduStorageAttr = 113;
410
- static readonly RULE_statsKey = 114;
411
- static readonly RULE_fileFormat = 115;
412
- static readonly RULE_kuduPartitionClause = 116;
413
- static readonly RULE_hashClause = 117;
414
- static readonly RULE_rangeClause = 118;
415
- static readonly RULE_kuduPartitionSpec = 119;
416
- static readonly RULE_cacheSpec = 120;
417
- static readonly RULE_rangeOperator = 121;
418
- static readonly RULE_partitionCol = 122;
419
- static readonly RULE_likeClause = 123;
420
- static readonly RULE_properties = 124;
421
- static readonly RULE_partitionedBy = 125;
422
- static readonly RULE_sortedBy = 126;
423
- static readonly RULE_rowFormat = 127;
424
- static readonly RULE_property = 128;
425
- static readonly RULE_queryNoWith = 129;
426
- static readonly RULE_queryTerm = 130;
427
- static readonly RULE_queryPrimary = 131;
428
- static readonly RULE_sortItem = 132;
429
- static readonly RULE_querySpecification = 133;
430
- static readonly RULE_groupBy = 134;
431
- static readonly RULE_groupingElement = 135;
432
- static readonly RULE_groupingSet = 136;
433
- static readonly RULE_namedQuery = 137;
434
- static readonly RULE_setQuantifier = 138;
435
- static readonly RULE_selectItem = 139;
436
- static readonly RULE_relation = 140;
437
- static readonly RULE_joinType = 141;
438
- static readonly RULE_joinCriteria = 142;
439
- static readonly RULE_sampledRelation = 143;
440
- static readonly RULE_sampleType = 144;
441
- static readonly RULE_aliasedRelation = 145;
442
- static readonly RULE_columnAliases = 146;
443
- static readonly RULE_relationPrimary = 147;
444
- static readonly RULE_subQueryRelation = 148;
445
- static readonly RULE_unnest = 149;
446
- static readonly RULE_parenthesizedRelation = 150;
447
- static readonly RULE_columnItem = 151;
448
- static readonly RULE_expression = 152;
449
- static readonly RULE_booleanExpression = 153;
450
- static readonly RULE_predicate = 154;
451
- static readonly RULE_valueExpression = 155;
452
- static readonly RULE_primaryExpression = 156;
453
- static readonly RULE_stringLiteral = 157;
454
- static readonly RULE_comparisonOperator = 158;
455
- static readonly RULE_comparisonQuantifier = 159;
456
- static readonly RULE_booleanValue = 160;
457
- static readonly RULE_interval = 161;
458
- static readonly RULE_intervalField = 162;
459
- static readonly RULE_normalForm = 163;
460
- static readonly RULE_type = 164;
461
- static readonly RULE_dataType = 165;
462
- static readonly RULE_typeParameter = 166;
463
- static readonly RULE_baseType = 167;
464
- static readonly RULE_whenClause = 168;
465
- static readonly RULE_filter = 169;
466
- static readonly RULE_over = 170;
467
- static readonly RULE_windowFrame = 171;
468
- static readonly RULE_frameBound = 172;
469
- static readonly RULE_pathElement = 173;
470
- static readonly RULE_pathSpecification = 174;
471
- static readonly RULE_privilege = 175;
472
- static readonly RULE_objectType = 176;
473
- static readonly RULE_qualifiedName = 177;
474
- static readonly RULE_principal = 178;
475
- static readonly RULE_identifier = 179;
476
- static readonly RULE_number = 180;
477
- static readonly RULE_reservedKeywordsUsedAsFuncName = 181;
478
- static readonly RULE_nonReserved = 182;
398
+ static readonly RULE_viewColumnItem = 102;
399
+ static readonly RULE_queryStatement = 103;
400
+ static readonly RULE_with = 104;
401
+ static readonly RULE_constraintSpecification = 105;
402
+ static readonly RULE_foreignKeySpecification = 106;
403
+ static readonly RULE_columnSpec = 107;
404
+ static readonly RULE_columnDefinition = 108;
405
+ static readonly RULE_kuduTableElement = 109;
406
+ static readonly RULE_kuduColumnDefinition = 110;
407
+ static readonly RULE_commentClause = 111;
408
+ static readonly RULE_columnSpecWithKudu = 112;
409
+ static readonly RULE_createColumnSpecWithKudu = 113;
410
+ static readonly RULE_kuduAttributes = 114;
411
+ static readonly RULE_kuduStorageAttr = 115;
412
+ static readonly RULE_statsKey = 116;
413
+ static readonly RULE_fileFormat = 117;
414
+ static readonly RULE_kuduPartitionClause = 118;
415
+ static readonly RULE_hashClause = 119;
416
+ static readonly RULE_rangeClause = 120;
417
+ static readonly RULE_kuduPartitionSpec = 121;
418
+ static readonly RULE_cacheSpec = 122;
419
+ static readonly RULE_rangeOperator = 123;
420
+ static readonly RULE_partitionCol = 124;
421
+ static readonly RULE_likeClause = 125;
422
+ static readonly RULE_properties = 126;
423
+ static readonly RULE_partitionedBy = 127;
424
+ static readonly RULE_sortedBy = 128;
425
+ static readonly RULE_rowFormat = 129;
426
+ static readonly RULE_property = 130;
427
+ static readonly RULE_queryNoWith = 131;
428
+ static readonly RULE_queryTerm = 132;
429
+ static readonly RULE_queryPrimary = 133;
430
+ static readonly RULE_sortItem = 134;
431
+ static readonly RULE_querySpecification = 135;
432
+ static readonly RULE_groupBy = 136;
433
+ static readonly RULE_groupingElement = 137;
434
+ static readonly RULE_groupingSet = 138;
435
+ static readonly RULE_namedQuery = 139;
436
+ static readonly RULE_setQuantifier = 140;
437
+ static readonly RULE_selectItem = 141;
438
+ static readonly RULE_relation = 142;
439
+ static readonly RULE_joinType = 143;
440
+ static readonly RULE_joinCriteria = 144;
441
+ static readonly RULE_sampledRelation = 145;
442
+ static readonly RULE_sampleType = 146;
443
+ static readonly RULE_aliasedRelation = 147;
444
+ static readonly RULE_columnAliases = 148;
445
+ static readonly RULE_relationPrimary = 149;
446
+ static readonly RULE_subQueryRelation = 150;
447
+ static readonly RULE_unnest = 151;
448
+ static readonly RULE_parenthesizedRelation = 152;
449
+ static readonly RULE_columnItem = 153;
450
+ static readonly RULE_expression = 154;
451
+ static readonly RULE_booleanExpression = 155;
452
+ static readonly RULE_predicate = 156;
453
+ static readonly RULE_valueExpression = 157;
454
+ static readonly RULE_primaryExpression = 158;
455
+ static readonly RULE_stringLiteral = 159;
456
+ static readonly RULE_comparisonOperator = 160;
457
+ static readonly RULE_comparisonQuantifier = 161;
458
+ static readonly RULE_booleanValue = 162;
459
+ static readonly RULE_interval = 163;
460
+ static readonly RULE_intervalField = 164;
461
+ static readonly RULE_normalForm = 165;
462
+ static readonly RULE_type = 166;
463
+ static readonly RULE_dataType = 167;
464
+ static readonly RULE_typeParameter = 168;
465
+ static readonly RULE_baseType = 169;
466
+ static readonly RULE_whenClause = 170;
467
+ static readonly RULE_filter = 171;
468
+ static readonly RULE_over = 172;
469
+ static readonly RULE_windowFrame = 173;
470
+ static readonly RULE_frameBound = 174;
471
+ static readonly RULE_pathElement = 175;
472
+ static readonly RULE_pathSpecification = 176;
473
+ static readonly RULE_privilege = 177;
474
+ static readonly RULE_objectType = 178;
475
+ static readonly RULE_qualifiedName = 179;
476
+ static readonly RULE_principal = 180;
477
+ static readonly RULE_identifier = 181;
478
+ static readonly RULE_number = 182;
479
+ static readonly RULE_reservedKeywordsUsedAsFuncName = 183;
480
+ static readonly RULE_nonReserved = 184;
479
481
  static readonly literalNames: (string | null)[];
480
482
  static readonly symbolicNames: (string | null)[];
481
483
  static readonly ruleNames: string[];
@@ -588,6 +590,7 @@ export declare class ImpalaSqlParser extends SQLParserBase {
588
590
  assignmentList(): AssignmentListContext;
589
591
  assignmentItem(): AssignmentItemContext;
590
592
  viewColumns(): ViewColumnsContext;
593
+ viewColumnItem(): ViewColumnItemContext;
591
594
  queryStatement(): QueryStatementContext;
592
595
  with_(): WithContext;
593
596
  constraintSpecification(): ConstraintSpecificationContext;
@@ -596,6 +599,7 @@ export declare class ImpalaSqlParser extends SQLParserBase {
596
599
  columnDefinition(): ColumnDefinitionContext;
597
600
  kuduTableElement(): KuduTableElementContext;
598
601
  kuduColumnDefinition(): KuduColumnDefinitionContext;
602
+ commentClause(): CommentClauseContext;
599
603
  columnSpecWithKudu(): ColumnSpecWithKuduContext;
600
604
  createColumnSpecWithKudu(): CreateColumnSpecWithKuduContext;
601
605
  kuduAttributes(): KuduAttributesContext;
@@ -832,8 +836,7 @@ export declare class CreateKuduTableAsSelectContext extends antlr.ParserRuleCont
832
836
  KW_PARTITION(): antlr.TerminalNode | null;
833
837
  KW_BY(): antlr.TerminalNode | null;
834
838
  kuduPartitionClause(): KuduPartitionClauseContext | null;
835
- KW_COMMENT(): antlr.TerminalNode | null;
836
- stringLiteral(): StringLiteralContext | null;
839
+ commentClause(): CommentClauseContext | null;
837
840
  KW_TBLPROPERTIES(): antlr.TerminalNode | null;
838
841
  queryStatement(): QueryStatementContext | null;
839
842
  properties(): PropertiesContext | null;
@@ -856,8 +859,7 @@ export declare class CreateViewContext extends antlr.ParserRuleContext {
856
859
  queryStatement(): QueryStatementContext;
857
860
  ifNotExists(): IfNotExistsContext | null;
858
861
  viewColumns(): ViewColumnsContext | null;
859
- KW_COMMENT(): antlr.TerminalNode | null;
860
- stringLiteral(): StringLiteralContext | null;
862
+ commentClause(): CommentClauseContext | null;
861
863
  KW_TBLPROPERTIES(): antlr.TerminalNode | null;
862
864
  properties(): PropertiesContext | null;
863
865
  get ruleIndex(): number;
@@ -866,7 +868,6 @@ export declare class CreateViewContext extends antlr.ParserRuleContext {
866
868
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
867
869
  }
868
870
  export declare class CreateSchemaContext extends antlr.ParserRuleContext {
869
- _comment?: StringLiteralContext;
870
871
  _location?: StringLiteralContext;
871
872
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
872
873
  KW_CREATE(): antlr.TerminalNode;
@@ -874,10 +875,9 @@ export declare class CreateSchemaContext extends antlr.ParserRuleContext {
874
875
  KW_SCHEMA(): antlr.TerminalNode | null;
875
876
  KW_DATABASE(): antlr.TerminalNode | null;
876
877
  ifNotExists(): IfNotExistsContext | null;
877
- KW_COMMENT(): antlr.TerminalNode | null;
878
+ commentClause(): CommentClauseContext | null;
878
879
  KW_LOCATION(): antlr.TerminalNode | null;
879
- stringLiteral(): StringLiteralContext[];
880
- stringLiteral(i: number): StringLiteralContext | null;
880
+ stringLiteral(): StringLiteralContext | null;
881
881
  get ruleIndex(): number;
882
882
  enterRule(listener: ImpalaSqlParserListener): void;
883
883
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -895,13 +895,12 @@ export declare class CreateRoleContext extends antlr.ParserRuleContext {
895
895
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
896
896
  }
897
897
  export declare class CreateAggregateFunctionContext extends antlr.ParserRuleContext {
898
+ _returnType?: TypeContext;
898
899
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
899
900
  KW_CREATE(): antlr.TerminalNode;
900
901
  KW_FUNCTION(): antlr.TerminalNode;
901
902
  functionNameCreate(): FunctionNameCreateContext;
902
903
  KW_RETURNS(): antlr.TerminalNode;
903
- type_(): TypeContext[];
904
- type_(i: number): TypeContext | null;
905
904
  KW_LOCATION(): antlr.TerminalNode;
906
905
  STRING(): antlr.TerminalNode[];
907
906
  STRING(i: number): antlr.TerminalNode | null;
@@ -909,6 +908,8 @@ export declare class CreateAggregateFunctionContext extends antlr.ParserRuleCont
909
908
  EQ(): antlr.TerminalNode[];
910
909
  EQ(i: number): antlr.TerminalNode | null;
911
910
  KW_MERGE_FN(): antlr.TerminalNode;
911
+ type_(): TypeContext[];
912
+ type_(i: number): TypeContext | null;
912
913
  KW_AGGREGATE(): antlr.TerminalNode | null;
913
914
  ifNotExists(): IfNotExistsContext | null;
914
915
  LPAREN(): antlr.TerminalNode | null;
@@ -927,6 +928,7 @@ export declare class CreateAggregateFunctionContext extends antlr.ParserRuleCont
927
928
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
928
929
  }
929
930
  export declare class CreateFunctionContext extends antlr.ParserRuleContext {
931
+ _returnType?: TypeContext;
930
932
  _symbol_?: StringLiteralContext;
931
933
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
932
934
  KW_CREATE(): antlr.TerminalNode;
@@ -2111,7 +2113,6 @@ export declare class TableOrViewPathContext extends antlr.ParserRuleContext {
2111
2113
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2112
2114
  }
2113
2115
  export declare class CreateCommonItemContext extends antlr.ParserRuleContext {
2114
- _comment?: StringLiteralContext;
2115
2116
  _serdProp?: PropertiesContext;
2116
2117
  _location?: StringLiteralContext;
2117
2118
  _cacheName?: QualifiedNameContext;
@@ -2120,7 +2121,7 @@ export declare class CreateCommonItemContext extends antlr.ParserRuleContext {
2120
2121
  KW_SORT(): antlr.TerminalNode | null;
2121
2122
  KW_BY(): antlr.TerminalNode | null;
2122
2123
  columnAliases(): ColumnAliasesContext | null;
2123
- KW_COMMENT(): antlr.TerminalNode | null;
2124
+ commentClause(): CommentClauseContext | null;
2124
2125
  KW_ROW(): antlr.TerminalNode | null;
2125
2126
  KW_FORMAT(): antlr.TerminalNode | null;
2126
2127
  rowFormat(): RowFormatContext | null;
@@ -2135,10 +2136,9 @@ export declare class CreateCommonItemContext extends antlr.ParserRuleContext {
2135
2136
  KW_IN(): antlr.TerminalNode | null;
2136
2137
  KW_UNCACHED(): antlr.TerminalNode | null;
2137
2138
  KW_TBLPROPERTIES(): antlr.TerminalNode | null;
2138
- stringLiteral(): StringLiteralContext[];
2139
- stringLiteral(i: number): StringLiteralContext | null;
2140
2139
  properties(): PropertiesContext[];
2141
2140
  properties(i: number): PropertiesContext | null;
2141
+ stringLiteral(): StringLiteralContext | null;
2142
2142
  qualifiedName(): QualifiedNameContext | null;
2143
2143
  KW_REPLICATION(): antlr.TerminalNode | null;
2144
2144
  EQ(): antlr.TerminalNode | null;
@@ -2172,13 +2172,9 @@ export declare class AssignmentItemContext extends antlr.ParserRuleContext {
2172
2172
  export declare class ViewColumnsContext extends antlr.ParserRuleContext {
2173
2173
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2174
2174
  LPAREN(): antlr.TerminalNode;
2175
- columnNamePathCreate(): ColumnNamePathCreateContext[];
2176
- columnNamePathCreate(i: number): ColumnNamePathCreateContext | null;
2177
2175
  RPAREN(): antlr.TerminalNode;
2178
- KW_COMMENT(): antlr.TerminalNode[];
2179
- KW_COMMENT(i: number): antlr.TerminalNode | null;
2180
- stringLiteral(): StringLiteralContext[];
2181
- stringLiteral(i: number): StringLiteralContext | null;
2176
+ viewColumnItem(): ViewColumnItemContext[];
2177
+ viewColumnItem(i: number): ViewColumnItemContext | null;
2182
2178
  COMMA(): antlr.TerminalNode[];
2183
2179
  COMMA(i: number): antlr.TerminalNode | null;
2184
2180
  get ruleIndex(): number;
@@ -2186,6 +2182,15 @@ export declare class ViewColumnsContext extends antlr.ParserRuleContext {
2186
2182
  exitRule(listener: ImpalaSqlParserListener): void;
2187
2183
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2188
2184
  }
2185
+ export declare class ViewColumnItemContext extends antlr.ParserRuleContext {
2186
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2187
+ columnNamePathCreate(): ColumnNamePathCreateContext;
2188
+ commentClause(): CommentClauseContext | null;
2189
+ get ruleIndex(): number;
2190
+ enterRule(listener: ImpalaSqlParserListener): void;
2191
+ exitRule(listener: ImpalaSqlParserListener): void;
2192
+ accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2193
+ }
2189
2194
  export declare class QueryStatementContext extends antlr.ParserRuleContext {
2190
2195
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2191
2196
  queryNoWith(): QueryNoWithContext;
@@ -2252,11 +2257,11 @@ export declare class ColumnSpecContext extends antlr.ParserRuleContext {
2252
2257
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2253
2258
  }
2254
2259
  export declare class ColumnDefinitionContext extends antlr.ParserRuleContext {
2260
+ _colType?: TypeContext;
2255
2261
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2256
2262
  columnNamePathCreate(): ColumnNamePathCreateContext;
2257
2263
  type(): TypeContext;
2258
- KW_COMMENT(): antlr.TerminalNode | null;
2259
- stringLiteral(): StringLiteralContext | null;
2264
+ commentClause(): CommentClauseContext | null;
2260
2265
  get ruleIndex(): number;
2261
2266
  enterRule(listener: ImpalaSqlParserListener): void;
2262
2267
  exitRule(listener: ImpalaSqlParserListener): void;
@@ -2271,13 +2276,13 @@ export declare class KuduTableElementContext extends antlr.ParserRuleContext {
2271
2276
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2272
2277
  }
2273
2278
  export declare class KuduColumnDefinitionContext extends antlr.ParserRuleContext {
2279
+ _colType?: TypeContext;
2274
2280
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2275
2281
  columnNamePathCreate(): ColumnNamePathCreateContext;
2276
2282
  type(): TypeContext;
2277
2283
  kuduAttributes(): KuduAttributesContext[];
2278
2284
  kuduAttributes(i: number): KuduAttributesContext | null;
2279
- KW_COMMENT(): antlr.TerminalNode | null;
2280
- stringLiteral(): StringLiteralContext | null;
2285
+ commentClause(): CommentClauseContext | null;
2281
2286
  KW_PRIMARY(): antlr.TerminalNode | null;
2282
2287
  KW_KEY(): antlr.TerminalNode | null;
2283
2288
  get ruleIndex(): number;
@@ -2285,6 +2290,16 @@ export declare class KuduColumnDefinitionContext extends antlr.ParserRuleContext
2285
2290
  exitRule(listener: ImpalaSqlParserListener): void;
2286
2291
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2287
2292
  }
2293
+ export declare class CommentClauseContext extends antlr.ParserRuleContext {
2294
+ _comment?: StringLiteralContext;
2295
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2296
+ KW_COMMENT(): antlr.TerminalNode;
2297
+ stringLiteral(): StringLiteralContext;
2298
+ get ruleIndex(): number;
2299
+ enterRule(listener: ImpalaSqlParserListener): void;
2300
+ exitRule(listener: ImpalaSqlParserListener): void;
2301
+ accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2302
+ }
2288
2303
  export declare class ColumnSpecWithKuduContext extends antlr.ParserRuleContext {
2289
2304
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2290
2305
  columnSpec(): ColumnSpecContext;
@@ -2823,6 +2838,7 @@ export declare class SampleTypeContext extends antlr.ParserRuleContext {
2823
2838
  accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
2824
2839
  }
2825
2840
  export declare class AliasedRelationContext extends antlr.ParserRuleContext {
2841
+ _alias?: IdentifierContext;
2826
2842
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2827
2843
  relationPrimary(): RelationPrimaryContext;
2828
2844
  identifier(): IdentifierContext | null;