bq2cst 0.4.29 → 0.4.31
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 +72 -3
- package/bq2cst.js +5 -5
- package/bq2cst_bg.wasm +0 -0
- package/package.json +1 -1
package/bq2cst.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type UnknownNode =
|
|
|
10
10
|
| AddConstraintClause
|
|
11
11
|
| AlterBICapacityStatement
|
|
12
12
|
| AlterColumnStatement
|
|
13
|
+
| AlterModelStatement
|
|
13
14
|
| AlterOrganizationStatement
|
|
14
15
|
| AlterProjectStatement
|
|
15
16
|
| AlterReservationStatement
|
|
@@ -37,6 +38,7 @@ export type UnknownNode =
|
|
|
37
38
|
| Comment
|
|
38
39
|
| Constraint
|
|
39
40
|
| CreateFunctionStatement
|
|
41
|
+
| CreateModelStatement
|
|
40
42
|
| CreateProcedureStatement
|
|
41
43
|
| CreateReservationStatement
|
|
42
44
|
| CreateRowAccessPolicyStatement
|
|
@@ -51,13 +53,16 @@ export type UnknownNode =
|
|
|
51
53
|
| DropRowAccessPolicyStatement
|
|
52
54
|
| DropStatement
|
|
53
55
|
| ElseIfClause
|
|
56
|
+
| EmptyStruct
|
|
54
57
|
| EOF
|
|
55
58
|
| ExecuteStatement
|
|
56
|
-
|
|
|
59
|
+
| ExportDataStatement
|
|
60
|
+
| ExportModelStatement
|
|
57
61
|
| ExtractArgument
|
|
58
62
|
| ForStatement
|
|
59
63
|
| ForSystemTimeAsOfClause
|
|
60
64
|
| GrantStatement
|
|
65
|
+
| GroupByExprs
|
|
61
66
|
| GroupedExpr
|
|
62
67
|
| GroupedExprs
|
|
63
68
|
| GroupedIdentWithOptions
|
|
@@ -107,6 +112,7 @@ export type UnknownNode =
|
|
|
107
112
|
| TableSampleRatio
|
|
108
113
|
| Template
|
|
109
114
|
| TransactionStatement
|
|
115
|
+
| TrainingDataCustomHolidayClause
|
|
110
116
|
| TruncateStatement
|
|
111
117
|
| Type
|
|
112
118
|
| TypeDeclaration
|
|
@@ -258,6 +264,17 @@ export type AlterColumnStatement = BaseNode & {
|
|
|
258
264
|
};
|
|
259
265
|
};
|
|
260
266
|
|
|
267
|
+
export type AlterModelStatement = XXXStatement & {
|
|
268
|
+
node_type: "AlterModelStatement";
|
|
269
|
+
children: {
|
|
270
|
+
what: NodeChild;
|
|
271
|
+
if_exists?: NodeVecChild;
|
|
272
|
+
ident: NodeChild;
|
|
273
|
+
set: NodeChild;
|
|
274
|
+
options: NodeChild;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
|
|
261
278
|
export type AlterOrganizationStatement = XXXStatement & {
|
|
262
279
|
node_type: "AlterOrganizationStatement";
|
|
263
280
|
children: {
|
|
@@ -565,6 +582,23 @@ export type CreateFunctionStatement = XXXStatement & {
|
|
|
565
582
|
};
|
|
566
583
|
};
|
|
567
584
|
|
|
585
|
+
export type CreateModelStatement = XXXStatement & {
|
|
586
|
+
node_type: "CreateModelStatement";
|
|
587
|
+
children: {
|
|
588
|
+
or_replace?: NodeVecChild;
|
|
589
|
+
what: NodeChild;
|
|
590
|
+
if_not_exists?: NodeVecChild;
|
|
591
|
+
ident: NodeChild;
|
|
592
|
+
transform?: NodeChild;
|
|
593
|
+
output?: NodeChild;
|
|
594
|
+
input?: NodeChild;
|
|
595
|
+
remote?: NodeChild;
|
|
596
|
+
options?: NodeChild;
|
|
597
|
+
query?: NodeChild;
|
|
598
|
+
training_data_custom_holiday?: NodeChild;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
|
|
568
602
|
export type CreateProcedureStatement = XXXStatement & {
|
|
569
603
|
node_type: "CreateProcedureStatement";
|
|
570
604
|
children: {
|
|
@@ -740,6 +774,13 @@ export type ElseIfClause = BaseNode & {
|
|
|
740
774
|
};
|
|
741
775
|
};
|
|
742
776
|
|
|
777
|
+
export type EmptyStruct = Expr & {
|
|
778
|
+
node_type: "EmptyStruct";
|
|
779
|
+
children: {
|
|
780
|
+
rparen: NodeChild
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
|
|
743
784
|
export type EOF = BaseNode & {
|
|
744
785
|
token: null;
|
|
745
786
|
node_type: "EOF";
|
|
@@ -758,8 +799,8 @@ export type ExecuteStatement = XXXStatement & {
|
|
|
758
799
|
};
|
|
759
800
|
};
|
|
760
801
|
|
|
761
|
-
export type
|
|
762
|
-
node_type: "
|
|
802
|
+
export type ExportDataStatement = XXXStatement & {
|
|
803
|
+
node_type: "ExportDataStatement";
|
|
763
804
|
children: {
|
|
764
805
|
data: NodeChild;
|
|
765
806
|
with_connection?: NodeChild;
|
|
@@ -768,6 +809,15 @@ export type ExportStatement = XXXStatement & {
|
|
|
768
809
|
};
|
|
769
810
|
};
|
|
770
811
|
|
|
812
|
+
export type ExportModelStatement = XXXStatement & {
|
|
813
|
+
node_type: "ExportModelStatement";
|
|
814
|
+
children: {
|
|
815
|
+
what: NodeChild;
|
|
816
|
+
ident: NodeChild;
|
|
817
|
+
options?: NodeChild;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
|
|
771
821
|
export type ExtractArgument = BaseNode & {
|
|
772
822
|
token: Token;
|
|
773
823
|
node_type: "ExtractArgument";
|
|
@@ -809,6 +859,16 @@ export type GrantStatement = XXXStatement & {
|
|
|
809
859
|
};
|
|
810
860
|
};
|
|
811
861
|
|
|
862
|
+
export type GroupByExprs = BaseNode & {
|
|
863
|
+
token: Token;
|
|
864
|
+
node_type: "GroupByExprs";
|
|
865
|
+
children: {
|
|
866
|
+
by: NodeChild;
|
|
867
|
+
how?: NodeVecChild;
|
|
868
|
+
exprs: { NodeVec: Expr[] & UnknownNode[] };
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
|
|
812
872
|
export type GroupedExpr = FromItemExpr & {
|
|
813
873
|
node_type: "GroupedExpr";
|
|
814
874
|
children: {
|
|
@@ -1227,6 +1287,15 @@ export type TransactionStatement = XXXStatement & {
|
|
|
1227
1287
|
};
|
|
1228
1288
|
};
|
|
1229
1289
|
|
|
1290
|
+
export type TrainingDataCustomHolidayClause = BaseNode & {
|
|
1291
|
+
node_type: "TrainingDataCustomHolidayClause";
|
|
1292
|
+
children: {
|
|
1293
|
+
training_data: NodeChild;
|
|
1294
|
+
custom_holiday: NodeChild;
|
|
1295
|
+
rparen: NodeChild;
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1230
1299
|
export type TruncateStatement = XXXStatement & {
|
|
1231
1300
|
node_type: "TruncateStatement";
|
|
1232
1301
|
children: {
|
package/bq2cst.js
CHANGED
|
@@ -251,6 +251,11 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
255
|
+
const ret = getObject(arg0);
|
|
256
|
+
return addHeapObject(ret);
|
|
257
|
+
};
|
|
258
|
+
|
|
254
259
|
module.exports.__wbindgen_number_new = function(arg0) {
|
|
255
260
|
const ret = arg0;
|
|
256
261
|
return addHeapObject(ret);
|
|
@@ -266,11 +271,6 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
|
266
271
|
return addHeapObject(ret);
|
|
267
272
|
};
|
|
268
273
|
|
|
269
|
-
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
270
|
-
const ret = getObject(arg0);
|
|
271
|
-
return addHeapObject(ret);
|
|
272
|
-
};
|
|
273
|
-
|
|
274
274
|
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
275
275
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
276
276
|
};
|
package/bq2cst_bg.wasm
CHANGED
|
Binary file
|