bq2cst 0.5.11 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bq2cst.d.ts +125 -0
- package/bq2cst_bg.wasm +0 -0
- package/package.json +1 -1
package/bq2cst.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export type UnknownNode =
|
|
|
18
18
|
| AlterSchemaStatement
|
|
19
19
|
| AlterTableDropClause
|
|
20
20
|
| AlterTableStatement
|
|
21
|
+
| AlterVectorIndexStatement
|
|
21
22
|
| AlterViewStatement
|
|
22
23
|
| ArrayLiteral
|
|
23
24
|
| AssertStatement
|
|
@@ -64,11 +65,13 @@ export type UnknownNode =
|
|
|
64
65
|
| ForStatement
|
|
65
66
|
| ForSystemTimeAsOfClause
|
|
66
67
|
| FromStatement
|
|
68
|
+
| FunctionChain
|
|
67
69
|
| GrantStatement
|
|
68
70
|
| GroupByExprs
|
|
69
71
|
| GroupedExpr
|
|
70
72
|
| GroupedExprs
|
|
71
73
|
| GroupedIdentWithOptions
|
|
74
|
+
| GroupedPattern
|
|
72
75
|
| GroupedStatement
|
|
73
76
|
| GroupedTypeDeclarationOrConstraints
|
|
74
77
|
| GroupedType
|
|
@@ -93,13 +96,20 @@ export type UnknownNode =
|
|
|
93
96
|
| LimitPipeOperator
|
|
94
97
|
| LoadStatement
|
|
95
98
|
| LoopStatement
|
|
99
|
+
| MatchRecognizeClause
|
|
100
|
+
| MatchRecognizeConfig
|
|
101
|
+
| MatchRecognizePipeOperator
|
|
96
102
|
| MergeStatement
|
|
97
103
|
| MultiTokenIdentifier
|
|
98
104
|
| NullLiteral
|
|
99
105
|
| NumericLiteral
|
|
106
|
+
| OrPattern
|
|
100
107
|
| OverClause
|
|
101
108
|
| OverwritePartitionsClause
|
|
102
109
|
| Parameter
|
|
110
|
+
| Pattern
|
|
111
|
+
| PatternClause
|
|
112
|
+
| PatternQuantifier
|
|
103
113
|
| PipeStatement
|
|
104
114
|
| PivotOperator
|
|
105
115
|
| PivotPipeOperator
|
|
@@ -110,6 +120,7 @@ export type UnknownNode =
|
|
|
110
120
|
| RepeatStatement
|
|
111
121
|
| RevokeStatement
|
|
112
122
|
| SelectStatement
|
|
123
|
+
| SelectPipeOperator
|
|
113
124
|
| SetOperator
|
|
114
125
|
| SetStatement
|
|
115
126
|
| SingleTokenStatement
|
|
@@ -140,6 +151,7 @@ export type UnknownNode =
|
|
|
140
151
|
| WindowSpecification
|
|
141
152
|
| WithClause
|
|
142
153
|
| WithOffsetClause
|
|
154
|
+
| WithPipeOperator
|
|
143
155
|
| WithPartitionColumnsClause
|
|
144
156
|
| WithQuery
|
|
145
157
|
| XXXByExprs;
|
|
@@ -193,6 +205,7 @@ export type FromItemExpr = Expr & {
|
|
|
193
205
|
with_offset: NodeChild;
|
|
194
206
|
pivot?: NodeChild;
|
|
195
207
|
unpivot?: NodeChild;
|
|
208
|
+
match_recognize?: NodeChild;
|
|
196
209
|
};
|
|
197
210
|
};
|
|
198
211
|
|
|
@@ -371,6 +384,17 @@ export type AlterTableStatement = XXXStatement & {
|
|
|
371
384
|
};
|
|
372
385
|
};
|
|
373
386
|
|
|
387
|
+
export type AlterVectorIndexStatement = XXXStatement & {
|
|
388
|
+
node_type: "AlterVectorIndexStatement";
|
|
389
|
+
children: {
|
|
390
|
+
what: NodeChild;
|
|
391
|
+
if_exists?: NodeVecChild;
|
|
392
|
+
ident: NodeChild;
|
|
393
|
+
on: NodeChild;
|
|
394
|
+
operation: NodeChild;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
|
|
374
398
|
export type AlterViewStatement = XXXStatement & {
|
|
375
399
|
node_type: "AlterViewStatement";
|
|
376
400
|
children: {
|
|
@@ -689,6 +713,7 @@ export type CreateIndexStatement = XXXStatement & {
|
|
|
689
713
|
tablename: NodeChild;
|
|
690
714
|
column_group: NodeChild;
|
|
691
715
|
storing?: NodeChild;
|
|
716
|
+
partitionby?: NodeChild;
|
|
692
717
|
options?: NodeChild;
|
|
693
718
|
};
|
|
694
719
|
};
|
|
@@ -882,6 +907,14 @@ export type FromStatement = XXXStatement & {
|
|
|
882
907
|
};
|
|
883
908
|
}
|
|
884
909
|
|
|
910
|
+
export type FunctionChain = FromItemExpr & {
|
|
911
|
+
node_type: "FunctionChain";
|
|
912
|
+
children: {
|
|
913
|
+
left: NodeChild;
|
|
914
|
+
right: NodeChild;
|
|
915
|
+
};
|
|
916
|
+
}
|
|
917
|
+
|
|
885
918
|
export type GrantStatement = XXXStatement & {
|
|
886
919
|
node_type: "GrantStatement";
|
|
887
920
|
children: {
|
|
@@ -934,6 +967,16 @@ export type GroupedIdentWithOptions = BaseNode & {
|
|
|
934
967
|
};
|
|
935
968
|
};
|
|
936
969
|
|
|
970
|
+
export type GroupedPattern = BaseNode & {
|
|
971
|
+
token: Token;
|
|
972
|
+
node_type: "GroupedPattern";
|
|
973
|
+
children: {
|
|
974
|
+
patterns: NodeVecChild;
|
|
975
|
+
rparen: NodeChild;
|
|
976
|
+
suffixes: NodeVecChild;
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
|
|
937
980
|
export type GroupedStatement = FromItemExpr &
|
|
938
981
|
XXXStatement & {
|
|
939
982
|
node_type: "GroupedStatement";
|
|
@@ -1123,6 +1166,37 @@ export type LimitPipeOperator = PipeOperator & {
|
|
|
1123
1166
|
}
|
|
1124
1167
|
}
|
|
1125
1168
|
|
|
1169
|
+
export type MatchRecognizeClause = BaseNode & {
|
|
1170
|
+
token: Token;
|
|
1171
|
+
node_type: "MatchRecognizeClause";
|
|
1172
|
+
children: {
|
|
1173
|
+
as?: NodeChild;
|
|
1174
|
+
alias?: NodeChild;
|
|
1175
|
+
config: NodeChild;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
export type MatchRecognizeConfig = BaseNode & {
|
|
1180
|
+
token: Token;
|
|
1181
|
+
node_type: "MatchRecognizeConfig";
|
|
1182
|
+
children: {
|
|
1183
|
+
partitionby?: NodeChild;
|
|
1184
|
+
orderby?: NodeChild;
|
|
1185
|
+
measures?: NodeChild;
|
|
1186
|
+
skip_rule?: NodeChild;
|
|
1187
|
+
pattern: NodeChild;
|
|
1188
|
+
define?: NodeChild;
|
|
1189
|
+
options?: NodeChild;
|
|
1190
|
+
rparen: NodeChild;
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
export type MatchRecognizePipeOperator = BaseNode & {
|
|
1195
|
+
token: Token;
|
|
1196
|
+
node_type: "MatchRecognizePipeOperator";
|
|
1197
|
+
children: MatchRecognizeClause["children"];
|
|
1198
|
+
};
|
|
1199
|
+
|
|
1126
1200
|
export type LoopStatement = LabelableStatement & {
|
|
1127
1201
|
node_type: "LoopStatement";
|
|
1128
1202
|
children: {
|
|
@@ -1178,6 +1252,16 @@ export type NumericLiteral = Expr & {
|
|
|
1178
1252
|
node_type: "NumericLiteral";
|
|
1179
1253
|
};
|
|
1180
1254
|
|
|
1255
|
+
export type OrPattern = BaseNode & {
|
|
1256
|
+
token: Token;
|
|
1257
|
+
node_type: "OrPattern";
|
|
1258
|
+
children: {
|
|
1259
|
+
left: NodeVecChild;
|
|
1260
|
+
right: NodeVecChild;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
|
|
1181
1265
|
export type OverClause = BaseNode & {
|
|
1182
1266
|
token: Token;
|
|
1183
1267
|
node_type: "OverClause";
|
|
@@ -1199,6 +1283,33 @@ export type Parameter = IdentifierGeneral & {
|
|
|
1199
1283
|
node_type: "Parameter";
|
|
1200
1284
|
};
|
|
1201
1285
|
|
|
1286
|
+
export type Pattern = BaseNode & {
|
|
1287
|
+
token: Token;
|
|
1288
|
+
node_type: "Pattern";
|
|
1289
|
+
children: {
|
|
1290
|
+
suffixes: NodeVecChild;
|
|
1291
|
+
}
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
export type PatternClause = BaseNode & {
|
|
1295
|
+
token: Token;
|
|
1296
|
+
node_type: "PatternClause";
|
|
1297
|
+
children: {
|
|
1298
|
+
pattern: NodeChild;
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
export type PatternQuantifier = BaseNode & {
|
|
1303
|
+
token: Token;
|
|
1304
|
+
node_type: "PatternQuantifier";
|
|
1305
|
+
children: {
|
|
1306
|
+
min?: NodeChild;
|
|
1307
|
+
comma?: NodeChild;
|
|
1308
|
+
max?: NodeChild;
|
|
1309
|
+
rbrace: NodeChild;
|
|
1310
|
+
}
|
|
1311
|
+
};
|
|
1312
|
+
|
|
1202
1313
|
export type PipeStatement = XXXStatement & {
|
|
1203
1314
|
node_type: "PipeStatement";
|
|
1204
1315
|
children: {
|
|
@@ -1304,6 +1415,14 @@ export type SelectStatement = XXXStatement & {
|
|
|
1304
1415
|
};
|
|
1305
1416
|
};
|
|
1306
1417
|
|
|
1418
|
+
export type SelectPipeOperator = PipeOperator & {
|
|
1419
|
+
node_type: "SelectPipeOperator";
|
|
1420
|
+
children: {
|
|
1421
|
+
window?: NodeChild;
|
|
1422
|
+
};
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
|
|
1307
1426
|
export type SetOperator = XXXStatement & {
|
|
1308
1427
|
node_type: "SetOperator";
|
|
1309
1428
|
children: {
|
|
@@ -1578,6 +1697,12 @@ export type WithOffsetClause = BaseNode & {
|
|
|
1578
1697
|
};
|
|
1579
1698
|
};
|
|
1580
1699
|
|
|
1700
|
+
export type WithPipeOperator = BaseNode & {
|
|
1701
|
+
token: Token;
|
|
1702
|
+
node_type: "WithPipeOperator";
|
|
1703
|
+
children: WithClause["children"];
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1581
1706
|
export type WithPartitionColumnsClause = BaseNode & {
|
|
1582
1707
|
token: Token;
|
|
1583
1708
|
node_type: "WithPartitionColumnsClause";
|
package/bq2cst_bg.wasm
CHANGED
|
Binary file
|