dt-sql-parser 4.0.0-beta.3 → 4.0.0-beta.3.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.
@@ -21,19 +21,32 @@ export class FlinkSqlParser {
21
21
  showStatememt(): ShowStatememtContext;
22
22
  createTable(): CreateTableContext;
23
23
  columnOptionDefinition(): ColumnOptionDefinitionContext;
24
+ physicalColumnDefinition(): PhysicalColumnDefinitionContext;
24
25
  columnName(): ColumnNameContext;
25
26
  columnNameList(): ColumnNameListContext;
26
27
  columnType(): ColumnTypeContext;
27
28
  lengthOneDimension(): LengthOneDimensionContext;
29
+ lengthTwoOptionalDimension(): LengthTwoOptionalDimensionContext;
30
+ lengthTwoStringDimension(): LengthTwoStringDimensionContext;
31
+ lengthOneTypeDimension(): LengthOneTypeDimensionContext;
32
+ mapTypeDimension(): MapTypeDimensionContext;
33
+ rowTypeDimension(): RowTypeDimensionContext;
34
+ columnConstraint(): ColumnConstraintContext;
28
35
  commentSpec(): CommentSpecContext;
36
+ metadataColumnDefinition(): MetadataColumnDefinitionContext;
37
+ metadataKey(): MetadataKeyContext;
38
+ computedColumnDefinition(): ComputedColumnDefinitionContext;
39
+ computedColumnExpression(): ComputedColumnExpressionContext;
29
40
  watermarkDefinition(): WatermarkDefinitionContext;
30
41
  tableConstraint(): TableConstraintContext;
42
+ constraintName(): ConstraintNameContext;
31
43
  selfDefinitionClause(): SelfDefinitionClauseContext;
32
44
  partitionDefinition(): PartitionDefinitionContext;
33
45
  transformList(): TransformListContext;
34
46
  transform(): TransformContext;
35
47
  transformArgument(): TransformArgumentContext;
36
48
  likeDefinition(): LikeDefinitionContext;
49
+ sourceTable(): SourceTableContext;
37
50
  likeOption(): LikeOptionContext;
38
51
  createCatalog(): CreateCatalogContext;
39
52
  createDatabase(): CreateDatabaseContext;
@@ -54,6 +67,8 @@ export class FlinkSqlParser {
54
67
  valuesRowDefinition(): ValuesRowDefinitionContext;
55
68
  queryStatement(_p: any): QueryStatementContext;
56
69
  valuesCaluse(): ValuesCaluseContext;
70
+ withItem(): WithItemContext;
71
+ withItemName(): WithItemNameContext;
57
72
  selectStatement(): SelectStatementContext;
58
73
  selectClause(): SelectClauseContext;
59
74
  projectItemDefinition(): ProjectItemDefinitionContext;
@@ -61,6 +76,9 @@ export class FlinkSqlParser {
61
76
  tableExpression(_p: any): TableExpressionContext;
62
77
  tableReference(): TableReferenceContext;
63
78
  tablePrimary(): TablePrimaryContext;
79
+ tablePath(): TablePathContext;
80
+ systemTimePeriod(): SystemTimePeriodContext;
81
+ dateTimeExpression(): DateTimeExpressionContext;
64
82
  joinCondition(): JoinConditionContext;
65
83
  whereClause(): WhereClauseContext;
66
84
  groupByClause(): GroupByClauseContext;
@@ -83,6 +101,7 @@ export class FlinkSqlParser {
83
101
  primaryExpression(_p: any): PrimaryExpressionContext;
84
102
  functionName(): FunctionNameContext;
85
103
  dereferenceDefinition(): DereferenceDefinitionContext;
104
+ correlationName(): CorrelationNameContext;
86
105
  qualifiedName(): QualifiedNameContext;
87
106
  interval(): IntervalContext;
88
107
  errorCapturingMultiUnitsInterval(): ErrorCapturingMultiUnitsIntervalContext;
@@ -355,8 +374,10 @@ export namespace FlinkSqlParser {
355
374
  export const SYSTEM: number;
356
375
  export const INCLUDING: number;
357
376
  export const EXCLUDING: number;
377
+ export const OVERWRITING: number;
358
378
  export const CONSTRAINTS: number;
359
379
  export const GENERATED: number;
380
+ export const WATERMARKS: number;
360
381
  export const CATALOG: number;
361
382
  export const LANGUAGE: number;
362
383
  export const CATALOGS: number;
@@ -365,6 +386,9 @@ export namespace FlinkSqlParser {
365
386
  export const KEY: number;
366
387
  export const PERIOD: number;
367
388
  export const SYSTEM_TIME: number;
389
+ export const ENFORCED: number;
390
+ export const METADATA: number;
391
+ export const VIRTUAL: number;
368
392
  export const STRING: number;
369
393
  export const ARRAY: number;
370
394
  export const MAP: number;
@@ -374,15 +398,19 @@ export namespace FlinkSqlParser {
374
398
  export const VARBINARY: number;
375
399
  export const BYTES: number;
376
400
  export const DECIMAL: number;
401
+ export const DEC: number;
402
+ export const NUMERIC: number;
377
403
  export const TINYINT: number;
378
404
  export const SMALLINT: number;
379
405
  export const INT: number;
406
+ export const INTEGER: number;
380
407
  export const BIGINT: number;
381
408
  export const FLOAT: number;
382
409
  export const DOUBLE: number;
383
410
  export const DATE: number;
384
411
  export const TIME: number;
385
412
  export const TIMESTAMP: number;
413
+ export const TIMESTAMP_LTZ: number;
386
414
  export const MULTISET: number;
387
415
  export const BOOLEAN: number;
388
416
  export const RAW: number;
@@ -438,19 +466,32 @@ export namespace FlinkSqlParser {
438
466
  export const RULE_showStatememt: number;
439
467
  export const RULE_createTable: number;
440
468
  export const RULE_columnOptionDefinition: number;
469
+ export const RULE_physicalColumnDefinition: number;
441
470
  export const RULE_columnName: number;
442
471
  export const RULE_columnNameList: number;
443
472
  export const RULE_columnType: number;
444
473
  export const RULE_lengthOneDimension: number;
474
+ export const RULE_lengthTwoOptionalDimension: number;
475
+ export const RULE_lengthTwoStringDimension: number;
476
+ export const RULE_lengthOneTypeDimension: number;
477
+ export const RULE_mapTypeDimension: number;
478
+ export const RULE_rowTypeDimension: number;
479
+ export const RULE_columnConstraint: number;
445
480
  export const RULE_commentSpec: number;
481
+ export const RULE_metadataColumnDefinition: number;
482
+ export const RULE_metadataKey: number;
483
+ export const RULE_computedColumnDefinition: number;
484
+ export const RULE_computedColumnExpression: number;
446
485
  export const RULE_watermarkDefinition: number;
447
486
  export const RULE_tableConstraint: number;
487
+ export const RULE_constraintName: number;
448
488
  export const RULE_selfDefinitionClause: number;
449
489
  export const RULE_partitionDefinition: number;
450
490
  export const RULE_transformList: number;
451
491
  export const RULE_transform: number;
452
492
  export const RULE_transformArgument: number;
453
493
  export const RULE_likeDefinition: number;
494
+ export const RULE_sourceTable: number;
454
495
  export const RULE_likeOption: number;
455
496
  export const RULE_createCatalog: number;
456
497
  export const RULE_createDatabase: number;
@@ -471,6 +512,8 @@ export namespace FlinkSqlParser {
471
512
  export const RULE_valuesRowDefinition: number;
472
513
  export const RULE_queryStatement: number;
473
514
  export const RULE_valuesCaluse: number;
515
+ export const RULE_withItem: number;
516
+ export const RULE_withItemName: number;
474
517
  export const RULE_selectStatement: number;
475
518
  export const RULE_selectClause: number;
476
519
  export const RULE_projectItemDefinition: number;
@@ -478,6 +521,9 @@ export namespace FlinkSqlParser {
478
521
  export const RULE_tableExpression: number;
479
522
  export const RULE_tableReference: number;
480
523
  export const RULE_tablePrimary: number;
524
+ export const RULE_tablePath: number;
525
+ export const RULE_systemTimePeriod: number;
526
+ export const RULE_dateTimeExpression: number;
481
527
  export const RULE_joinCondition: number;
482
528
  export const RULE_whereClause: number;
483
529
  export const RULE_groupByClause: number;
@@ -499,6 +545,7 @@ export namespace FlinkSqlParser {
499
545
  export const RULE_primaryExpression: number;
500
546
  export const RULE_functionName: number;
501
547
  export const RULE_dereferenceDefinition: number;
548
+ export const RULE_correlationName: number;
502
549
  export const RULE_qualifiedName: number;
503
550
  export const RULE_interval: number;
504
551
  export const RULE_errorCapturingMultiUnitsInterval: number;
@@ -554,13 +601,25 @@ export namespace FlinkSqlParser {
554
601
  export { ShowStatememtContext };
555
602
  export { CreateTableContext };
556
603
  export { ColumnOptionDefinitionContext };
604
+ export { PhysicalColumnDefinitionContext };
557
605
  export { ColumnNameContext };
558
606
  export { ColumnNameListContext };
559
607
  export { ColumnTypeContext };
560
608
  export { LengthOneDimensionContext };
609
+ export { LengthTwoOptionalDimensionContext };
610
+ export { LengthTwoStringDimensionContext };
611
+ export { LengthOneTypeDimensionContext };
612
+ export { MapTypeDimensionContext };
613
+ export { RowTypeDimensionContext };
614
+ export { ColumnConstraintContext };
561
615
  export { CommentSpecContext };
616
+ export { MetadataColumnDefinitionContext };
617
+ export { MetadataKeyContext };
618
+ export { ComputedColumnDefinitionContext };
619
+ export { ComputedColumnExpressionContext };
562
620
  export { WatermarkDefinitionContext };
563
621
  export { TableConstraintContext };
622
+ export { ConstraintNameContext };
564
623
  export { SelfDefinitionClauseContext };
565
624
  export { PartitionDefinitionContext };
566
625
  export { TransformListContext };
@@ -569,6 +628,7 @@ export namespace FlinkSqlParser {
569
628
  export { TransformContext };
570
629
  export { TransformArgumentContext };
571
630
  export { LikeDefinitionContext };
631
+ export { SourceTableContext };
572
632
  export { LikeOptionContext };
573
633
  export { CreateCatalogContext };
574
634
  export { CreateDatabaseContext };
@@ -588,12 +648,17 @@ export namespace FlinkSqlParser {
588
648
  export { ValuesDefinitionContext };
589
649
  export { ValuesRowDefinitionContext };
590
650
  export { ValuesCaluseContext };
651
+ export { WithItemContext };
652
+ export { WithItemNameContext };
591
653
  export { SelectStatementContext };
592
654
  export { SelectClauseContext };
593
655
  export { ProjectItemDefinitionContext };
594
656
  export { FromClauseContext };
595
657
  export { TableReferenceContext };
596
658
  export { TablePrimaryContext };
659
+ export { TablePathContext };
660
+ export { SystemTimePeriodContext };
661
+ export { DateTimeExpressionContext };
597
662
  export { JoinConditionContext };
598
663
  export { WhereClauseContext };
599
664
  export { GroupByClauseContext };
@@ -634,6 +699,7 @@ export namespace FlinkSqlParser {
634
699
  export { FirstContext };
635
700
  export { FunctionNameContext };
636
701
  export { DereferenceDefinitionContext };
702
+ export { CorrelationNameContext };
637
703
  export { QualifiedNameContext };
638
704
  export { IntervalContext };
639
705
  export { ErrorCapturingMultiUnitsIntervalContext };
@@ -844,11 +910,12 @@ declare class CreateTableContext {
844
910
  constructor: typeof CreateTableContext;
845
911
  CREATE(): any;
846
912
  TABLE(): any;
847
- uid(): any;
913
+ sourceTable(): any;
848
914
  LR_BRACKET(): any;
849
915
  columnOptionDefinition(i: any): any;
850
916
  RR_BRACKET(): any;
851
917
  withOption(): any;
918
+ ifNotExists(): any;
852
919
  COMMA(i: any): any;
853
920
  watermarkDefinition(): any;
854
921
  tableConstraint(): any;
@@ -866,10 +933,23 @@ declare class ColumnOptionDefinitionContext {
866
933
  parser: any;
867
934
  ruleIndex: number;
868
935
  constructor: typeof ColumnOptionDefinitionContext;
936
+ physicalColumnDefinition(): any;
937
+ metadataColumnDefinition(): any;
938
+ computedColumnDefinition(): any;
939
+ enterRule(listener: any): void;
940
+ exitRule(listener: any): void;
941
+ accept(visitor: any): any;
942
+ }
943
+ declare function PhysicalColumnDefinitionContext(parser: any, parent: any, invokingState: any): this;
944
+ declare class PhysicalColumnDefinitionContext {
945
+ constructor(parser: any, parent: any, invokingState: any);
946
+ parser: any;
947
+ ruleIndex: number;
948
+ constructor: typeof PhysicalColumnDefinitionContext;
869
949
  columnName(): any;
870
950
  columnType(): any;
871
- lengthOneDimension(): any;
872
- columnAlias(): any;
951
+ columnConstraint(): any;
952
+ commentSpec(): any;
873
953
  enterRule(listener: any): void;
874
954
  exitRule(listener: any): void;
875
955
  accept(visitor: any): any;
@@ -904,31 +984,42 @@ declare class ColumnTypeContext {
904
984
  parser: any;
905
985
  ruleIndex: number;
906
986
  typeName: any;
987
+ type: any;
907
988
  constructor: typeof ColumnTypeContext;
989
+ DATE(): any;
990
+ BOOLEAN(): any;
991
+ NULL(): any;
908
992
  CHAR(): any;
909
993
  VARCHAR(): any;
910
994
  STRING(): any;
911
995
  BINARY(): any;
912
996
  VARBINARY(): any;
913
997
  BYTES(): any;
914
- DECIMAL(): any;
915
998
  TINYINT(): any;
916
999
  SMALLINT(): any;
917
1000
  INT(): any;
1001
+ INTEGER(): any;
918
1002
  BIGINT(): any;
919
- FLOAT(): any;
920
- DOUBLE(): any;
921
- DATE(): any;
922
1003
  TIME(): any;
923
1004
  TIMESTAMP(): any;
1005
+ TIMESTAMP_LTZ(): any;
1006
+ DATETIME(): any;
1007
+ lengthOneDimension(): any;
1008
+ DECIMAL(): any;
1009
+ DEC(): any;
1010
+ NUMERIC(): any;
1011
+ FLOAT(): any;
1012
+ DOUBLE(): any;
1013
+ lengthTwoOptionalDimension(): any;
924
1014
  ARRAY(): any;
925
- MAP(): any;
926
1015
  MULTISET(): any;
1016
+ lengthOneTypeDimension(): any;
1017
+ MAP(): any;
1018
+ mapTypeDimension(): any;
927
1019
  ROW(): any;
928
- BOOLEAN(): any;
1020
+ rowTypeDimension(): any;
929
1021
  RAW(): any;
930
- NULL(): any;
931
- DATETIME(): any;
1022
+ lengthTwoStringDimension(): any;
932
1023
  enterRule(listener: any): void;
933
1024
  exitRule(listener: any): void;
934
1025
  accept(visitor: any): any;
@@ -946,6 +1037,92 @@ declare class LengthOneDimensionContext {
946
1037
  exitRule(listener: any): void;
947
1038
  accept(visitor: any): any;
948
1039
  }
1040
+ declare function LengthTwoOptionalDimensionContext(parser: any, parent: any, invokingState: any): this;
1041
+ declare class LengthTwoOptionalDimensionContext {
1042
+ constructor(parser: any, parent: any, invokingState: any);
1043
+ parser: any;
1044
+ ruleIndex: number;
1045
+ constructor: typeof LengthTwoOptionalDimensionContext;
1046
+ LR_BRACKET(): any;
1047
+ decimalLiteral(i: any): any;
1048
+ RR_BRACKET(): any;
1049
+ COMMA(): any;
1050
+ enterRule(listener: any): void;
1051
+ exitRule(listener: any): void;
1052
+ accept(visitor: any): any;
1053
+ }
1054
+ declare function LengthTwoStringDimensionContext(parser: any, parent: any, invokingState: any): this;
1055
+ declare class LengthTwoStringDimensionContext {
1056
+ constructor(parser: any, parent: any, invokingState: any);
1057
+ parser: any;
1058
+ ruleIndex: number;
1059
+ constructor: typeof LengthTwoStringDimensionContext;
1060
+ LR_BRACKET(): any;
1061
+ stringLiteral(i: any): any;
1062
+ RR_BRACKET(): any;
1063
+ COMMA(): any;
1064
+ enterRule(listener: any): void;
1065
+ exitRule(listener: any): void;
1066
+ accept(visitor: any): any;
1067
+ }
1068
+ declare function LengthOneTypeDimensionContext(parser: any, parent: any, invokingState: any): this;
1069
+ declare class LengthOneTypeDimensionContext {
1070
+ constructor(parser: any, parent: any, invokingState: any);
1071
+ parser: any;
1072
+ ruleIndex: number;
1073
+ constructor: typeof LengthOneTypeDimensionContext;
1074
+ LESS_SYMBOL(): any;
1075
+ columnType(): any;
1076
+ GREATER_SYMBOL(): any;
1077
+ enterRule(listener: any): void;
1078
+ exitRule(listener: any): void;
1079
+ accept(visitor: any): any;
1080
+ }
1081
+ declare function MapTypeDimensionContext(parser: any, parent: any, invokingState: any): this;
1082
+ declare class MapTypeDimensionContext {
1083
+ constructor(parser: any, parent: any, invokingState: any);
1084
+ parser: any;
1085
+ ruleIndex: number;
1086
+ constructor: typeof MapTypeDimensionContext;
1087
+ LESS_SYMBOL(): any;
1088
+ columnType(i: any): any;
1089
+ GREATER_SYMBOL(): any;
1090
+ COMMA(): any;
1091
+ enterRule(listener: any): void;
1092
+ exitRule(listener: any): void;
1093
+ accept(visitor: any): any;
1094
+ }
1095
+ declare function RowTypeDimensionContext(parser: any, parent: any, invokingState: any): this;
1096
+ declare class RowTypeDimensionContext {
1097
+ constructor(parser: any, parent: any, invokingState: any);
1098
+ parser: any;
1099
+ ruleIndex: number;
1100
+ constructor: typeof RowTypeDimensionContext;
1101
+ LESS_SYMBOL(): any;
1102
+ columnName(i: any): any;
1103
+ columnType(i: any): any;
1104
+ GREATER_SYMBOL(): any;
1105
+ COMMA(i: any): any;
1106
+ enterRule(listener: any): void;
1107
+ exitRule(listener: any): void;
1108
+ accept(visitor: any): any;
1109
+ }
1110
+ declare function ColumnConstraintContext(parser: any, parent: any, invokingState: any): this;
1111
+ declare class ColumnConstraintContext {
1112
+ constructor(parser: any, parent: any, invokingState: any);
1113
+ parser: any;
1114
+ ruleIndex: number;
1115
+ constructor: typeof ColumnConstraintContext;
1116
+ PRIMARY(): any;
1117
+ KEY(): any;
1118
+ CONSTRAINT(): any;
1119
+ constraintName(): any;
1120
+ NOT(): any;
1121
+ ENFORCED(): any;
1122
+ enterRule(listener: any): void;
1123
+ exitRule(listener: any): void;
1124
+ accept(visitor: any): any;
1125
+ }
949
1126
  declare function CommentSpecContext(parser: any, parent: any, invokingState: any): this;
950
1127
  declare class CommentSpecContext {
951
1128
  constructor(parser: any, parent: any, invokingState: any);
@@ -958,6 +1135,58 @@ declare class CommentSpecContext {
958
1135
  exitRule(listener: any): void;
959
1136
  accept(visitor: any): any;
960
1137
  }
1138
+ declare function MetadataColumnDefinitionContext(parser: any, parent: any, invokingState: any): this;
1139
+ declare class MetadataColumnDefinitionContext {
1140
+ constructor(parser: any, parent: any, invokingState: any);
1141
+ parser: any;
1142
+ ruleIndex: number;
1143
+ constructor: typeof MetadataColumnDefinitionContext;
1144
+ columnName(): any;
1145
+ columnType(): any;
1146
+ METADATA(): any;
1147
+ FROM(): any;
1148
+ metadataKey(): any;
1149
+ VIRTUAL(): any;
1150
+ enterRule(listener: any): void;
1151
+ exitRule(listener: any): void;
1152
+ accept(visitor: any): any;
1153
+ }
1154
+ declare function MetadataKeyContext(parser: any, parent: any, invokingState: any): this;
1155
+ declare class MetadataKeyContext {
1156
+ constructor(parser: any, parent: any, invokingState: any);
1157
+ parser: any;
1158
+ ruleIndex: number;
1159
+ constructor: typeof MetadataKeyContext;
1160
+ STRING_LITERAL(): any;
1161
+ enterRule(listener: any): void;
1162
+ exitRule(listener: any): void;
1163
+ accept(visitor: any): any;
1164
+ }
1165
+ declare function ComputedColumnDefinitionContext(parser: any, parent: any, invokingState: any): this;
1166
+ declare class ComputedColumnDefinitionContext {
1167
+ constructor(parser: any, parent: any, invokingState: any);
1168
+ parser: any;
1169
+ ruleIndex: number;
1170
+ constructor: typeof ComputedColumnDefinitionContext;
1171
+ columnName(): any;
1172
+ AS(): any;
1173
+ computedColumnExpression(): any;
1174
+ commentSpec(): any;
1175
+ enterRule(listener: any): void;
1176
+ exitRule(listener: any): void;
1177
+ accept(visitor: any): any;
1178
+ }
1179
+ declare function ComputedColumnExpressionContext(parser: any, parent: any, invokingState: any): this;
1180
+ declare class ComputedColumnExpressionContext {
1181
+ constructor(parser: any, parent: any, invokingState: any);
1182
+ parser: any;
1183
+ ruleIndex: number;
1184
+ constructor: typeof ComputedColumnExpressionContext;
1185
+ expression(): any;
1186
+ enterRule(listener: any): void;
1187
+ exitRule(listener: any): void;
1188
+ accept(visitor: any): any;
1189
+ }
961
1190
  declare function WatermarkDefinitionContext(parser: any, parent: any, invokingState: any): this;
962
1191
  declare class WatermarkDefinitionContext {
963
1192
  constructor(parser: any, parent: any, invokingState: any);
@@ -984,6 +1213,19 @@ declare class TableConstraintContext {
984
1213
  columnNameList(): any;
985
1214
  RR_BRACKET(): any;
986
1215
  CONSTRAINT(): any;
1216
+ constraintName(): any;
1217
+ NOT(): any;
1218
+ ENFORCED(): any;
1219
+ enterRule(listener: any): void;
1220
+ exitRule(listener: any): void;
1221
+ accept(visitor: any): any;
1222
+ }
1223
+ declare function ConstraintNameContext(parser: any, parent: any, invokingState: any): this;
1224
+ declare class ConstraintNameContext {
1225
+ constructor(parser: any, parent: any, invokingState: any);
1226
+ parser: any;
1227
+ ruleIndex: number;
1228
+ constructor: typeof ConstraintNameContext;
987
1229
  identifier(): any;
988
1230
  enterRule(listener: any): void;
989
1231
  exitRule(listener: any): void;
@@ -1056,8 +1298,21 @@ declare class LikeDefinitionContext {
1056
1298
  ruleIndex: number;
1057
1299
  constructor: typeof LikeDefinitionContext;
1058
1300
  LIKE(): any;
1059
- identifier(): any;
1060
- likeOption(): any;
1301
+ sourceTable(): any;
1302
+ LR_BRACKET(): any;
1303
+ RR_BRACKET(): any;
1304
+ likeOption(i: any): any;
1305
+ enterRule(listener: any): void;
1306
+ exitRule(listener: any): void;
1307
+ accept(visitor: any): any;
1308
+ }
1309
+ declare function SourceTableContext(parser: any, parent: any, invokingState: any): this;
1310
+ declare class SourceTableContext {
1311
+ constructor(parser: any, parent: any, invokingState: any);
1312
+ parser: any;
1313
+ ruleIndex: number;
1314
+ constructor: typeof SourceTableContext;
1315
+ uid(): any;
1061
1316
  enterRule(listener: any): void;
1062
1317
  exitRule(listener: any): void;
1063
1318
  accept(visitor: any): any;
@@ -1072,8 +1327,11 @@ declare class LikeOptionContext {
1072
1327
  EXCLUDING(): any;
1073
1328
  ALL(): any;
1074
1329
  CONSTRAINTS(): any;
1330
+ PARTITIONS(): any;
1331
+ OVERWRITING(): any;
1075
1332
  GENERATED(): any;
1076
1333
  OPTIONS(): any;
1334
+ WATERMARKS(): any;
1077
1335
  enterRule(listener: any): void;
1078
1336
  exitRule(listener: any): void;
1079
1337
  accept(visitor: any): any;
@@ -1347,8 +1605,11 @@ declare class QueryStatementContext {
1347
1605
  right: any;
1348
1606
  constructor: typeof QueryStatementContext;
1349
1607
  valuesCaluse(): any;
1350
- LR_BRACKET(): any;
1608
+ WITH(): any;
1609
+ withItem(i: any): any;
1351
1610
  queryStatement(i: any): any;
1611
+ COMMA(i: any): any;
1612
+ LR_BRACKET(): any;
1352
1613
  RR_BRACKET(): any;
1353
1614
  selectClause(): any;
1354
1615
  orderByCaluse(): any;
@@ -1375,6 +1636,34 @@ declare class ValuesCaluseContext {
1375
1636
  exitRule(listener: any): void;
1376
1637
  accept(visitor: any): any;
1377
1638
  }
1639
+ declare function WithItemContext(parser: any, parent: any, invokingState: any): this;
1640
+ declare class WithItemContext {
1641
+ constructor(parser: any, parent: any, invokingState: any);
1642
+ parser: any;
1643
+ ruleIndex: number;
1644
+ constructor: typeof WithItemContext;
1645
+ withItemName(): any;
1646
+ AS(): any;
1647
+ LR_BRACKET(i: any): any;
1648
+ queryStatement(): any;
1649
+ RR_BRACKET(i: any): any;
1650
+ columnName(i: any): any;
1651
+ COMMA(i: any): any;
1652
+ enterRule(listener: any): void;
1653
+ exitRule(listener: any): void;
1654
+ accept(visitor: any): any;
1655
+ }
1656
+ declare function WithItemNameContext(parser: any, parent: any, invokingState: any): this;
1657
+ declare class WithItemNameContext {
1658
+ constructor(parser: any, parent: any, invokingState: any);
1659
+ parser: any;
1660
+ ruleIndex: number;
1661
+ constructor: typeof WithItemNameContext;
1662
+ identifier(): any;
1663
+ enterRule(listener: any): void;
1664
+ exitRule(listener: any): void;
1665
+ accept(visitor: any): any;
1666
+ }
1378
1667
  declare function SelectStatementContext(parser: any, parent: any, invokingState: any): this;
1379
1668
  declare class SelectStatementContext {
1380
1669
  constructor(parser: any, parent: any, invokingState: any);
@@ -1439,8 +1728,10 @@ declare class TableExpressionContext {
1439
1728
  tableReference(i: any): any;
1440
1729
  COMMA(i: any): any;
1441
1730
  tableExpression(i: any): any;
1731
+ CROSS(): any;
1442
1732
  JOIN(): any;
1443
1733
  NATURAL(): any;
1734
+ OUTER(): any;
1444
1735
  joinCondition(): any;
1445
1736
  LEFT(): any;
1446
1737
  RIGHT(): any;
@@ -1468,18 +1759,60 @@ declare class TablePrimaryContext {
1468
1759
  parser: any;
1469
1760
  ruleIndex: number;
1470
1761
  constructor: typeof TablePrimaryContext;
1471
- expression(i: any): any;
1762
+ tablePath(): any;
1472
1763
  TABLE(): any;
1764
+ systemTimePeriod(): any;
1765
+ correlationName(): any;
1766
+ AS(): any;
1473
1767
  LATERAL(): any;
1474
1768
  LR_BRACKET(i: any): any;
1475
- uid(): any;
1769
+ functionName(): any;
1770
+ expression(i: any): any;
1476
1771
  RR_BRACKET(i: any): any;
1477
1772
  COMMA(i: any): any;
1773
+ queryStatement(): any;
1478
1774
  UNNEST(): any;
1479
1775
  enterRule(listener: any): void;
1480
1776
  exitRule(listener: any): void;
1481
1777
  accept(visitor: any): any;
1482
1778
  }
1779
+ declare function TablePathContext(parser: any, parent: any, invokingState: any): this;
1780
+ declare class TablePathContext {
1781
+ constructor(parser: any, parent: any, invokingState: any);
1782
+ parser: any;
1783
+ ruleIndex: number;
1784
+ constructor: typeof TablePathContext;
1785
+ uid(): any;
1786
+ enterRule(listener: any): void;
1787
+ exitRule(listener: any): void;
1788
+ accept(visitor: any): any;
1789
+ }
1790
+ declare function SystemTimePeriodContext(parser: any, parent: any, invokingState: any): this;
1791
+ declare class SystemTimePeriodContext {
1792
+ constructor(parser: any, parent: any, invokingState: any);
1793
+ parser: any;
1794
+ ruleIndex: number;
1795
+ constructor: typeof SystemTimePeriodContext;
1796
+ FOR(): any;
1797
+ SYSTEM_TIME(): any;
1798
+ AS(): any;
1799
+ OF(): any;
1800
+ dateTimeExpression(): any;
1801
+ enterRule(listener: any): void;
1802
+ exitRule(listener: any): void;
1803
+ accept(visitor: any): any;
1804
+ }
1805
+ declare function DateTimeExpressionContext(parser: any, parent: any, invokingState: any): this;
1806
+ declare class DateTimeExpressionContext {
1807
+ constructor(parser: any, parent: any, invokingState: any);
1808
+ parser: any;
1809
+ ruleIndex: number;
1810
+ constructor: typeof DateTimeExpressionContext;
1811
+ expression(): any;
1812
+ enterRule(listener: any): void;
1813
+ exitRule(listener: any): void;
1814
+ accept(visitor: any): any;
1815
+ }
1483
1816
  declare function JoinConditionContext(parser: any, parent: any, invokingState: any): this;
1484
1817
  declare class JoinConditionContext {
1485
1818
  constructor(parser: any, parent: any, invokingState: any);
@@ -1772,6 +2105,17 @@ declare class DereferenceDefinitionContext {
1772
2105
  exitRule(listener: any): void;
1773
2106
  accept(visitor: any): any;
1774
2107
  }
2108
+ declare function CorrelationNameContext(parser: any, parent: any, invokingState: any): this;
2109
+ declare class CorrelationNameContext {
2110
+ constructor(parser: any, parent: any, invokingState: any);
2111
+ parser: any;
2112
+ ruleIndex: number;
2113
+ constructor: typeof CorrelationNameContext;
2114
+ identifier(): any;
2115
+ enterRule(listener: any): void;
2116
+ exitRule(listener: any): void;
2117
+ accept(visitor: any): any;
2118
+ }
1775
2119
  declare function QualifiedNameContext(parser: any, parent: any, invokingState: any): this;
1776
2120
  declare class QualifiedNameContext {
1777
2121
  constructor(parser: any, parent: any, invokingState: any);