@query-farm/vgi 0.28.0 → 0.29.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.
- package/README.md +52 -8
- package/dist/arguments/argument-spec.d.ts +57 -2
- package/dist/arrow/impl-arrowjs/index.d.ts +1 -1
- package/dist/arrow/impl-arrowjs/iterate.d.ts +10 -1
- package/dist/arrow/impl-arrowjs/schema.d.ts +2 -0
- package/dist/arrow/impl-flechette/index.d.ts +1 -1
- package/dist/arrow/impl-flechette/iterate.d.ts +10 -1
- package/dist/arrow/impl-flechette/schema.d.ts +2 -0
- package/dist/arrow/index.d.ts +1 -1
- package/dist/arrow/schema-types.d.ts +3 -1
- package/dist/arrow/types.d.ts +39 -3
- package/dist/catalog/composite.d.ts +13 -13
- package/dist/catalog/descriptors.d.ts +7 -3
- package/dist/catalog/interface.d.ts +108 -38
- package/dist/catalog/read-only.d.ts +32 -15
- package/dist/client/client.d.ts +37 -30
- package/dist/client/types.d.ts +2 -0
- package/dist/client-entry.d.ts +1 -1
- package/dist/client-entry.js +791 -447
- package/dist/client-entry.js.map +18 -17
- package/dist/filter-pushdown/capabilities.d.ts +3 -0
- package/dist/filter-pushdown/deserialize.d.ts +14 -15
- package/dist/filter-pushdown/evaluate.d.ts +14 -44
- package/dist/filter-pushdown/index.d.ts +2 -2
- package/dist/filter-pushdown/types.d.ts +120 -68
- package/dist/functions/aggregate.d.ts +4 -0
- package/dist/functions/registry.d.ts +5 -5
- package/dist/functions/scalar.d.ts +6 -1
- package/dist/functions/table-buffering.d.ts +9 -0
- package/dist/functions/table-in-out.d.ts +13 -0
- package/dist/functions/table.d.ts +72 -2
- package/dist/functions/types.d.ts +60 -2
- package/dist/generated/vgi-client.d.ts +114 -26
- package/dist/generated/vgi-protocol-schemas.d.ts +34 -0
- package/dist/http/fetch.d.ts +16 -0
- package/dist/index.core.d.ts +4 -3
- package/dist/index.js +3396 -2064
- package/dist/index.js.map +55 -49
- package/dist/metadata/types.d.ts +15 -2
- package/dist/protocol/handlers/catalog/shared.d.ts +0 -8
- package/dist/protocol/handlers/function.d.ts +11 -0
- package/dist/protocol/handlers/shared.d.ts +3 -1
- package/dist/protocol/serializers/bind.d.ts +1 -2
- package/dist/protocol/serializers/cardinality.d.ts +1 -2
- package/dist/protocol/serializers/splits.d.ts +126 -0
- package/dist/protocol/types.d.ts +36 -3
- package/dist/request-auth.d.ts +28 -0
- package/dist/schema-path.d.ts +7 -0
- package/dist/serve-entry.d.ts +25 -0
- package/dist/serve-entry.js +1129 -569
- package/dist/serve-entry.js.map +36 -32
- package/dist/split-token.d.ts +88 -0
- package/dist/types.d.ts +8 -0
- package/dist/worker-cf-entry.js +2928 -1689
- package/dist/worker-cf-entry.js.map +51 -44
- package/dist/worker.d.ts +1 -1
- package/package.json +3 -3
- package/src/arguments/argument-spec.ts +93 -4
- package/src/arguments/arguments.ts +0 -1
- package/src/arrow/impl-arrowjs/index.ts +1 -1
- package/src/arrow/impl-arrowjs/iterate.ts +21 -0
- package/src/arrow/impl-arrowjs/schema.ts +4 -0
- package/src/arrow/impl-flechette/index.ts +1 -1
- package/src/arrow/impl-flechette/iterate.ts +24 -1
- package/src/arrow/impl-flechette/schema.ts +4 -0
- package/src/arrow/index.ts +1 -1
- package/src/arrow/schema-types.ts +4 -0
- package/src/arrow/types.ts +39 -3
- package/src/catalog/composite.ts +26 -26
- package/src/catalog/descriptors.ts +12 -3
- package/src/catalog/interface.ts +217 -72
- package/src/catalog/read-only.ts +141 -84
- package/src/client/client.ts +97 -73
- package/src/client/types.ts +2 -0
- package/src/client-entry.ts +2 -1
- package/src/filter-pushdown/capabilities.ts +13 -0
- package/src/filter-pushdown/collector.ts +22 -35
- package/src/filter-pushdown/deserialize.ts +657 -221
- package/src/filter-pushdown/evaluate.ts +410 -499
- package/src/filter-pushdown/index.ts +16 -2
- package/src/filter-pushdown/types.ts +88 -71
- package/src/functions/aggregate.ts +12 -1
- package/src/functions/copy-from.ts +2 -1
- package/src/functions/copy-to.ts +2 -1
- package/src/functions/registry.ts +24 -22
- package/src/functions/scalar.ts +37 -0
- package/src/functions/table-buffering.ts +48 -6
- package/src/functions/table-in-out.ts +194 -33
- package/src/functions/table.ts +187 -22
- package/src/functions/types.ts +64 -1
- package/src/generated/vgi-client.ts +122 -28
- package/src/generated/vgi-protocol-schemas.ts +455 -58
- package/src/http/fetch.ts +129 -2
- package/src/index.core.ts +4 -2
- package/src/metadata/resolve.ts +43 -1
- package/src/metadata/serialize.ts +43 -5
- package/src/metadata/types.ts +17 -1
- package/src/protocol/dispatch.ts +1 -1
- package/src/protocol/handlers/aggregate.ts +23 -12
- package/src/protocol/handlers/catalog/admin.ts +47 -54
- package/src/protocol/handlers/catalog/index_methods.ts +6 -13
- package/src/protocol/handlers/catalog/macro.ts +12 -20
- package/src/protocol/handlers/catalog/shared.ts +12 -57
- package/src/protocol/handlers/catalog/table.ts +49 -112
- package/src/protocol/handlers/catalog/view.ts +18 -22
- package/src/protocol/handlers/function.ts +311 -18
- package/src/protocol/handlers/shared.ts +12 -3
- package/src/protocol/handlers/table-buffering.ts +11 -8
- package/src/protocol/serializers/bind.ts +69 -67
- package/src/protocol/serializers/cardinality.ts +7 -7
- package/src/protocol/serializers/init.ts +52 -10
- package/src/protocol/serializers/splits.ts +221 -0
- package/src/protocol/state-serializer.ts +55 -1
- package/src/protocol/types.ts +36 -3
- package/src/request-auth.ts +73 -0
- package/src/schema-path.ts +25 -0
- package/src/serve-entry.ts +69 -2
- package/src/split-token.ts +297 -0
- package/src/types.ts +9 -0
- package/src/worker-cf-entry.ts +2 -1
- package/src/worker.ts +79 -14
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// GENERATED by vgi.codegen.ts_schemas. DO NOT EDIT BY HAND.
|
|
3
3
|
//
|
|
4
4
|
// Generator: vgi-gen-ts-schemas v2
|
|
5
|
-
// Content hash:
|
|
5
|
+
// Content hash: d8386c3124f8
|
|
6
6
|
//
|
|
7
7
|
// To regenerate:
|
|
8
8
|
// uv run --project ~/Development/vgi-python vgi-gen-ts-schemas \
|
|
@@ -15,14 +15,17 @@ import {
|
|
|
15
15
|
bool,
|
|
16
16
|
dictionary,
|
|
17
17
|
field,
|
|
18
|
+
float64,
|
|
18
19
|
int16,
|
|
19
20
|
int32,
|
|
20
21
|
int64,
|
|
22
|
+
largeBinary,
|
|
21
23
|
list,
|
|
22
24
|
map,
|
|
23
25
|
schema,
|
|
24
26
|
struct,
|
|
25
27
|
timestamp,
|
|
28
|
+
uint64,
|
|
26
29
|
utf8,
|
|
27
30
|
} from "../arrow/index.js";
|
|
28
31
|
|
|
@@ -32,7 +35,7 @@ export const CatalogInfoSchema = schema([
|
|
|
32
35
|
field("implementation_version", utf8(), true),
|
|
33
36
|
field("data_version_spec", utf8(), true),
|
|
34
37
|
field("attach_option_specs", list(field("item", binary(), true)), false),
|
|
35
|
-
field("releases", list(field("item", struct([field("version", utf8(), false), field("released_at", timestamp(TimeUnit.MICROSECOND, "UTC"),
|
|
38
|
+
field("releases", list(field("item", struct([field("version", utf8(), false), field("released_at", timestamp(TimeUnit.MICROSECOND, "UTC"), true), field("summary", utf8(), false), field("notes_url", utf8(), true)]), true)), false),
|
|
36
39
|
field("source_url", utf8(), true),
|
|
37
40
|
]);
|
|
38
41
|
|
|
@@ -41,7 +44,7 @@ export const SchemaInfoSchema = schema([
|
|
|
41
44
|
field("comment", utf8(), true),
|
|
42
45
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
43
46
|
field("attach_opaque_data", binary(), false),
|
|
44
|
-
field("
|
|
47
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
45
48
|
field("estimated_object_count", map(field("key", utf8(), false), field("value", int64(), true), false), true),
|
|
46
49
|
]);
|
|
47
50
|
|
|
@@ -50,7 +53,7 @@ export const TableInfoSchema = schema([
|
|
|
50
53
|
field("comment", utf8(), true),
|
|
51
54
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
52
55
|
field("name", utf8(), false),
|
|
53
|
-
field("
|
|
56
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
54
57
|
field("columns", binary(), false),
|
|
55
58
|
field("not_null_constraints", list(field("item", int32(), true)), false),
|
|
56
59
|
field("unique_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
@@ -62,14 +65,14 @@ export const TableInfoSchema = schema([
|
|
|
62
65
|
field("supports_delete", bool(), false),
|
|
63
66
|
field("supports_returning", bool(), false),
|
|
64
67
|
field("supports_column_statistics", bool(), false),
|
|
65
|
-
field("scan_function", binary(),
|
|
66
|
-
field("insert_function", binary(),
|
|
67
|
-
field("update_function", binary(),
|
|
68
|
-
field("delete_function", binary(),
|
|
69
|
-
field("cardinality_estimate", int64(),
|
|
70
|
-
field("cardinality_max", int64(),
|
|
71
|
-
field("column_statistics", binary(),
|
|
72
|
-
field("bind_result", binary(),
|
|
68
|
+
field("scan_function", binary(), true),
|
|
69
|
+
field("insert_function", binary(), true),
|
|
70
|
+
field("update_function", binary(), true),
|
|
71
|
+
field("delete_function", binary(), true),
|
|
72
|
+
field("cardinality_estimate", int64(), true),
|
|
73
|
+
field("cardinality_max", int64(), true),
|
|
74
|
+
field("column_statistics", binary(), true),
|
|
75
|
+
field("bind_result", binary(), true),
|
|
73
76
|
field("required_filters", list(field("item", list(field("item", utf8(), true)), true)), false),
|
|
74
77
|
]);
|
|
75
78
|
|
|
@@ -78,7 +81,7 @@ export const ViewInfoSchema = schema([
|
|
|
78
81
|
field("comment", utf8(), true),
|
|
79
82
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
80
83
|
field("name", utf8(), false),
|
|
81
|
-
field("
|
|
84
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
82
85
|
field("definition", utf8(), false),
|
|
83
86
|
field("column_comments", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
84
87
|
]);
|
|
@@ -88,12 +91,14 @@ export const FunctionInfoSchema = schema([
|
|
|
88
91
|
field("comment", utf8(), true),
|
|
89
92
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
90
93
|
field("name", utf8(), false),
|
|
91
|
-
field("
|
|
94
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
92
95
|
field("function_type", dictionary(utf8(), int16()), false),
|
|
93
96
|
field("arguments", binary(), false),
|
|
94
97
|
field("output_schema", binary(), false),
|
|
98
|
+
field("parameter_default_values", binary(), true),
|
|
95
99
|
field("stability", dictionary(utf8(), int16()), true),
|
|
96
100
|
field("null_handling", dictionary(utf8(), int16()), true),
|
|
101
|
+
field("argument_monotonicity", list(field("item", utf8(), true)), true),
|
|
97
102
|
field("description", utf8(), false),
|
|
98
103
|
field("examples", list(field("item", struct([field("sql", utf8(), false), field("description", utf8(), false), field("expected_output", utf8(), true)]), true)), false),
|
|
99
104
|
field("categories", list(field("item", utf8(), true)), false),
|
|
@@ -101,10 +106,17 @@ export const FunctionInfoSchema = schema([
|
|
|
101
106
|
field("filter_pushdown", bool(), true),
|
|
102
107
|
field("sampling_pushdown", bool(), true),
|
|
103
108
|
field("late_materialization", bool(), true),
|
|
104
|
-
field("
|
|
109
|
+
field("filter_semantic_profiles", list(field("item", utf8(), true)), false),
|
|
110
|
+
field("additional_filter_functions", list(field("item", struct([field("namespace", utf8(), false), field("name", utf8(), false), field("version", uint64(), false)]), true)), false),
|
|
111
|
+
field("runtime_filter_algorithms", list(field("item", struct([field("namespace", utf8(), false), field("name", utf8(), false), field("version", uint64(), false)]), true)), false),
|
|
112
|
+
field("filter_evaluation_contexts", list(field("item", struct([field("profile", utf8(), false), field("provider_fingerprint", utf8(), true)]), true)), false),
|
|
105
113
|
field("order_preservation", dictionary(utf8(), int16()), true),
|
|
106
|
-
field("max_workers", int32(),
|
|
114
|
+
field("max_workers", int32(), true),
|
|
107
115
|
field("supports_batch_index", bool(), false),
|
|
116
|
+
field("supports_splits", bool(), false),
|
|
117
|
+
field("filters_exactly_applied", bool(), false),
|
|
118
|
+
field("supports_positions", bool(), false),
|
|
119
|
+
field("split_token_ttl_seconds", int64(), true),
|
|
108
120
|
field("partition_kind", dictionary(utf8(), int16()), false),
|
|
109
121
|
field("order_dependent", dictionary(utf8(), int16()), false),
|
|
110
122
|
field("distinct_dependent", dictionary(utf8(), int16()), false),
|
|
@@ -124,12 +136,12 @@ export const MacroInfoSchema = schema([
|
|
|
124
136
|
field("comment", utf8(), true),
|
|
125
137
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
126
138
|
field("name", utf8(), false),
|
|
127
|
-
field("
|
|
139
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
128
140
|
field("macro_type", dictionary(utf8(), int16()), false),
|
|
129
141
|
field("parameters", list(field("item", utf8(), true)), false),
|
|
130
|
-
field("parameter_default_values", binary(),
|
|
142
|
+
field("parameter_default_values", binary(), true),
|
|
131
143
|
field("definition", utf8(), false),
|
|
132
|
-
field("arguments_schema", binary(),
|
|
144
|
+
field("arguments_schema", binary(), true),
|
|
133
145
|
]);
|
|
134
146
|
|
|
135
147
|
// Origin: IndexInfo
|
|
@@ -137,7 +149,7 @@ export const IndexInfoSchema = schema([
|
|
|
137
149
|
field("comment", utf8(), true),
|
|
138
150
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
139
151
|
field("name", utf8(), false),
|
|
140
|
-
field("
|
|
152
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
141
153
|
field("table_name", utf8(), false),
|
|
142
154
|
field("index_type", utf8(), false),
|
|
143
155
|
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
@@ -162,6 +174,7 @@ export const ScanFunctionResultSchema = schema([
|
|
|
162
174
|
field("function_name", utf8(), false),
|
|
163
175
|
field("arguments", binary(), false),
|
|
164
176
|
field("required_extensions", list(field("item", utf8(), true)), false),
|
|
177
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
165
178
|
]);
|
|
166
179
|
|
|
167
180
|
// Origin: ScanBranchesResult
|
|
@@ -177,8 +190,26 @@ export const ScanBranchSchema = schema([
|
|
|
177
190
|
field("branch_filter", utf8(), true),
|
|
178
191
|
field("writable", bool(), false),
|
|
179
192
|
field("source_catalog", utf8(), true),
|
|
180
|
-
field("
|
|
193
|
+
field("source_schema_path", list(field("item", utf8(), true)), true),
|
|
181
194
|
field("source_table", utf8(), true),
|
|
195
|
+
field("format_name", utf8(), true),
|
|
196
|
+
field("format_locations", list(field("item", utf8(), true)), true),
|
|
197
|
+
field("format_options", binary(), true),
|
|
198
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
199
|
+
]);
|
|
200
|
+
|
|
201
|
+
// Origin: ScanSplit
|
|
202
|
+
export const ScanSplitSchema = schema([
|
|
203
|
+
field("payload", binary(), false),
|
|
204
|
+
field("token", binary(), false),
|
|
205
|
+
field("estimated_rows", int64(), true),
|
|
206
|
+
field("rows_exact", bool(), false),
|
|
207
|
+
field("estimated_bytes", int64(), true),
|
|
208
|
+
field("partition_bounds", binary(), true),
|
|
209
|
+
field("column_statistics", binary(), true),
|
|
210
|
+
field("location_ids", list(field("item", int64(), true)), true),
|
|
211
|
+
field("start_position", binary(), true),
|
|
212
|
+
field("end_position", binary(), true),
|
|
182
213
|
]);
|
|
183
214
|
|
|
184
215
|
// Origin: AttachCatalogInfo
|
|
@@ -192,6 +223,347 @@ export const AttachCatalogInfoSchema = schema([
|
|
|
192
223
|
field("secret_ref", utf8(), false),
|
|
193
224
|
]);
|
|
194
225
|
|
|
226
|
+
// Origin: ForeignKeyInfo
|
|
227
|
+
export const ForeignKeyInfoSchema = schema([
|
|
228
|
+
field("fk_columns", list(field("item", utf8(), true)), false),
|
|
229
|
+
field("pk_columns", list(field("item", utf8(), true)), false),
|
|
230
|
+
field("referenced_table", utf8(), false),
|
|
231
|
+
field("referenced_schema_path", list(field("item", utf8(), true)), false),
|
|
232
|
+
]);
|
|
233
|
+
|
|
234
|
+
// Origin: AggregateBindRequest
|
|
235
|
+
export const AggregateBindRequestSchema = schema([
|
|
236
|
+
field("function_name", utf8(), false),
|
|
237
|
+
field("arguments", binary(), false),
|
|
238
|
+
field("input_schema", binary(), true),
|
|
239
|
+
field("settings", binary(), true),
|
|
240
|
+
field("secrets", binary(), true),
|
|
241
|
+
field("attach_opaque_data", binary(), true),
|
|
242
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
243
|
+
field("argument_names", list(field("item", utf8(), true)), true),
|
|
244
|
+
]);
|
|
245
|
+
|
|
246
|
+
// Origin: AggregateCombineRequest
|
|
247
|
+
export const AggregateCombineRequestSchema = schema([
|
|
248
|
+
field("function_name", utf8(), false),
|
|
249
|
+
field("execution_id", binary(), false),
|
|
250
|
+
field("merge_batch", binary(), false),
|
|
251
|
+
field("attach_opaque_data", binary(), true),
|
|
252
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
253
|
+
]);
|
|
254
|
+
|
|
255
|
+
// Origin: AggregateDestructorRequest
|
|
256
|
+
export const AggregateDestructorRequestSchema = schema([
|
|
257
|
+
field("function_name", utf8(), false),
|
|
258
|
+
field("execution_id", binary(), false),
|
|
259
|
+
field("group_ids_batch", binary(), false),
|
|
260
|
+
field("attach_opaque_data", binary(), true),
|
|
261
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
262
|
+
]);
|
|
263
|
+
|
|
264
|
+
// Origin: AggregateFinalizeRequest
|
|
265
|
+
export const AggregateFinalizeRequestSchema = schema([
|
|
266
|
+
field("function_name", utf8(), false),
|
|
267
|
+
field("execution_id", binary(), false),
|
|
268
|
+
field("group_ids_batch", binary(), false),
|
|
269
|
+
field("output_schema", binary(), false),
|
|
270
|
+
field("attach_opaque_data", binary(), true),
|
|
271
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
272
|
+
]);
|
|
273
|
+
|
|
274
|
+
// Origin: AggregateStreamingChunkRequest
|
|
275
|
+
export const AggregateStreamingChunkRequestSchema = schema([
|
|
276
|
+
field("function_name", utf8(), false),
|
|
277
|
+
field("execution_id", binary(), false),
|
|
278
|
+
field("input_batch", binary(), false),
|
|
279
|
+
field("attach_opaque_data", binary(), true),
|
|
280
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
281
|
+
]);
|
|
282
|
+
|
|
283
|
+
// Origin: AggregateStreamingCloseRequest
|
|
284
|
+
export const AggregateStreamingCloseRequestSchema = schema([
|
|
285
|
+
field("function_name", utf8(), false),
|
|
286
|
+
field("execution_id", binary(), false),
|
|
287
|
+
field("attach_opaque_data", binary(), true),
|
|
288
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
289
|
+
]);
|
|
290
|
+
|
|
291
|
+
// Origin: AggregateStreamingOpenRequest
|
|
292
|
+
export const AggregateStreamingOpenRequestSchema = schema([
|
|
293
|
+
field("function_name", utf8(), false),
|
|
294
|
+
field("arguments", binary(), false),
|
|
295
|
+
field("input_schema", binary(), false),
|
|
296
|
+
field("partition_key_count", int64(), false),
|
|
297
|
+
field("order_key_count", int64(), false),
|
|
298
|
+
field("output_schema", binary(), false),
|
|
299
|
+
field("settings", binary(), true),
|
|
300
|
+
field("secrets", binary(), true),
|
|
301
|
+
field("attach_opaque_data", binary(), true),
|
|
302
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
303
|
+
]);
|
|
304
|
+
|
|
305
|
+
// Origin: AggregateUpdateRequest
|
|
306
|
+
export const AggregateUpdateRequestSchema = schema([
|
|
307
|
+
field("function_name", utf8(), false),
|
|
308
|
+
field("execution_id", binary(), false),
|
|
309
|
+
field("input_batch", binary(), false),
|
|
310
|
+
field("attach_opaque_data", binary(), true),
|
|
311
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
312
|
+
]);
|
|
313
|
+
|
|
314
|
+
// Origin: AggregateWindowBatchRequest
|
|
315
|
+
export const AggregateWindowBatchRequestSchema = schema([
|
|
316
|
+
field("function_name", utf8(), false),
|
|
317
|
+
field("execution_id", binary(), false),
|
|
318
|
+
field("partition_id", int64(), false),
|
|
319
|
+
field("row_idx", int64(), false),
|
|
320
|
+
field("count", int64(), false),
|
|
321
|
+
field("frames_per_row", list(field("item", int64(), true)), false),
|
|
322
|
+
field("frame_starts", list(field("item", int64(), true)), false),
|
|
323
|
+
field("frame_ends", list(field("item", int64(), true)), false),
|
|
324
|
+
field("attach_opaque_data", binary(), true),
|
|
325
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
326
|
+
]);
|
|
327
|
+
|
|
328
|
+
// Origin: AggregateWindowDestructorRequest
|
|
329
|
+
export const AggregateWindowDestructorRequestSchema = schema([
|
|
330
|
+
field("function_name", utf8(), false),
|
|
331
|
+
field("execution_id", binary(), false),
|
|
332
|
+
field("partition_id", int64(), false),
|
|
333
|
+
field("attach_opaque_data", binary(), true),
|
|
334
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
335
|
+
]);
|
|
336
|
+
|
|
337
|
+
// Origin: AggregateWindowInitRequest
|
|
338
|
+
export const AggregateWindowInitRequestSchema = schema([
|
|
339
|
+
field("function_name", utf8(), false),
|
|
340
|
+
field("execution_id", binary(), false),
|
|
341
|
+
field("partition_id", int64(), false),
|
|
342
|
+
field("row_count", int64(), false),
|
|
343
|
+
field("partition_batch", binary(), false),
|
|
344
|
+
field("output_schema", binary(), false),
|
|
345
|
+
field("filter_mask", binary(), false),
|
|
346
|
+
field("frame_stats", binary(), false),
|
|
347
|
+
field("all_valid", binary(), false),
|
|
348
|
+
field("attach_opaque_data", binary(), true),
|
|
349
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
350
|
+
]);
|
|
351
|
+
|
|
352
|
+
// Origin: AggregateWindowRequest
|
|
353
|
+
export const AggregateWindowRequestSchema = schema([
|
|
354
|
+
field("function_name", utf8(), false),
|
|
355
|
+
field("execution_id", binary(), false),
|
|
356
|
+
field("partition_id", int64(), false),
|
|
357
|
+
field("rid", int64(), false),
|
|
358
|
+
field("frame_starts", list(field("item", int64(), true)), false),
|
|
359
|
+
field("frame_ends", list(field("item", int64(), true)), false),
|
|
360
|
+
field("attach_opaque_data", binary(), true),
|
|
361
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
362
|
+
]);
|
|
363
|
+
|
|
364
|
+
// Origin: BindRequest
|
|
365
|
+
export const BindRequestSchema = schema([
|
|
366
|
+
field("function_name", utf8(), false),
|
|
367
|
+
field("arguments", binary(), false),
|
|
368
|
+
field("function_type", dictionary(utf8(), int16()), false),
|
|
369
|
+
field("input_schema", binary(), true),
|
|
370
|
+
field("settings", binary(), true),
|
|
371
|
+
field("secrets", binary(), true),
|
|
372
|
+
field("attach_opaque_data", binary(), true),
|
|
373
|
+
field("transaction_opaque_data", binary(), true),
|
|
374
|
+
field("resolved_secrets_provided", bool(), false),
|
|
375
|
+
field("at_unit", utf8(), true),
|
|
376
|
+
field("at_value", utf8(), true),
|
|
377
|
+
field("copy_from", struct([field("format", utf8(), false), field("file_path", utf8(), false), field("expected_schema", binary(), false)]), true),
|
|
378
|
+
field("copy_to", struct([field("format", utf8(), false), field("file_path", utf8(), false)]), true),
|
|
379
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
380
|
+
field("argument_names", list(field("item", utf8(), true)), true),
|
|
381
|
+
]);
|
|
382
|
+
|
|
383
|
+
// Origin: CatalogAttachRequest
|
|
384
|
+
export const CatalogAttachRequestSchema = schema([
|
|
385
|
+
field("name", utf8(), false),
|
|
386
|
+
field("options", binary(), true),
|
|
387
|
+
field("data_version_spec", utf8(), true),
|
|
388
|
+
field("implementation_version", utf8(), true),
|
|
389
|
+
field("client_capabilities", binary(), true),
|
|
390
|
+
]);
|
|
391
|
+
|
|
392
|
+
// Origin: CatalogCreateRequest
|
|
393
|
+
export const CatalogCreateRequestSchema = schema([
|
|
394
|
+
field("name", utf8(), false),
|
|
395
|
+
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
396
|
+
field("options", binary(), true),
|
|
397
|
+
]);
|
|
398
|
+
|
|
399
|
+
// Origin: ClientCapabilities
|
|
400
|
+
export const ClientCapabilitiesSchema = schema([
|
|
401
|
+
field("engine", utf8(), false),
|
|
402
|
+
field("native_formats", list(field("item", utf8(), true)), false),
|
|
403
|
+
field("catalogs", list(field("item", utf8(), true)), false),
|
|
404
|
+
field("can_stream", bool(), false),
|
|
405
|
+
field("filter_encodings", list(field("item", utf8(), true)), false),
|
|
406
|
+
]);
|
|
407
|
+
|
|
408
|
+
// Origin: CopyFromContext
|
|
409
|
+
export const CopyFromContextSchema = schema([
|
|
410
|
+
field("format", utf8(), false),
|
|
411
|
+
field("file_path", utf8(), false),
|
|
412
|
+
field("expected_schema", binary(), false),
|
|
413
|
+
]);
|
|
414
|
+
|
|
415
|
+
// Origin: CopyToContext
|
|
416
|
+
export const CopyToContextSchema = schema([
|
|
417
|
+
field("format", utf8(), false),
|
|
418
|
+
field("file_path", utf8(), false),
|
|
419
|
+
]);
|
|
420
|
+
|
|
421
|
+
// Origin: GlobalInitResponse
|
|
422
|
+
export const GlobalInitResponseSchema = schema([
|
|
423
|
+
field("execution_id", binary(), false),
|
|
424
|
+
field("opaque_data", binary(), true),
|
|
425
|
+
field("max_workers", int64(), false),
|
|
426
|
+
]);
|
|
427
|
+
|
|
428
|
+
// Origin: IndexCreateRequest
|
|
429
|
+
export const IndexCreateRequestSchema = schema([
|
|
430
|
+
field("attach_opaque_data", binary(), false),
|
|
431
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
432
|
+
field("name", utf8(), false),
|
|
433
|
+
field("table_name", utf8(), false),
|
|
434
|
+
field("index_type", utf8(), false),
|
|
435
|
+
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
436
|
+
field("expressions", list(field("item", utf8(), true)), false),
|
|
437
|
+
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
438
|
+
field("options", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
439
|
+
field("transaction_opaque_data", binary(), true),
|
|
440
|
+
]);
|
|
441
|
+
|
|
442
|
+
// Origin: InitRequest
|
|
443
|
+
export const InitRequestSchema = schema([
|
|
444
|
+
field("bind_call", binary(), false),
|
|
445
|
+
field("output_schema", binary(), false),
|
|
446
|
+
field("bind_opaque_data", binary(), true),
|
|
447
|
+
field("projection_ids", list(field("item", int64(), true)), true),
|
|
448
|
+
field("pushdown_filters", largeBinary(), true),
|
|
449
|
+
field("join_keys", list(field("item", largeBinary(), true)), true),
|
|
450
|
+
field("split_tokens", list(field("item", largeBinary(), true)), true),
|
|
451
|
+
field("row_limit", int64(), true),
|
|
452
|
+
field("phase", dictionary(utf8(), int16()), true),
|
|
453
|
+
field("finalize_state_id", binary(), true),
|
|
454
|
+
field("execution_id", binary(), true),
|
|
455
|
+
field("init_opaque_data", binary(), true),
|
|
456
|
+
field("substream_id", binary(), true),
|
|
457
|
+
field("order_by_column_name", utf8(), true),
|
|
458
|
+
field("order_by_direction", dictionary(utf8(), int16()), true),
|
|
459
|
+
field("order_by_null_order", dictionary(utf8(), int16()), true),
|
|
460
|
+
field("order_by_limit", int64(), true),
|
|
461
|
+
field("tablesample_percentage", float64(), true),
|
|
462
|
+
field("tablesample_seed", int64(), true),
|
|
463
|
+
]);
|
|
464
|
+
|
|
465
|
+
// Origin: MacroCreateRequest
|
|
466
|
+
export const MacroCreateRequestSchema = schema([
|
|
467
|
+
field("attach_opaque_data", binary(), false),
|
|
468
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
469
|
+
field("name", utf8(), false),
|
|
470
|
+
field("macro_type", dictionary(utf8(), int16()), false),
|
|
471
|
+
field("parameters", list(field("item", utf8(), true)), false),
|
|
472
|
+
field("definition", utf8(), false),
|
|
473
|
+
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
474
|
+
field("parameter_default_values", binary(), true),
|
|
475
|
+
field("arguments_schema", binary(), true),
|
|
476
|
+
field("transaction_opaque_data", binary(), true),
|
|
477
|
+
]);
|
|
478
|
+
|
|
479
|
+
// Origin: TableCreateRequest
|
|
480
|
+
export const TableCreateRequestSchema = schema([
|
|
481
|
+
field("attach_opaque_data", binary(), false),
|
|
482
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
483
|
+
field("name", utf8(), false),
|
|
484
|
+
field("columns", binary(), false),
|
|
485
|
+
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
486
|
+
field("not_null_constraints", list(field("item", int32(), true)), false),
|
|
487
|
+
field("unique_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
488
|
+
field("check_constraints", list(field("item", utf8(), true)), false),
|
|
489
|
+
field("primary_key_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
490
|
+
field("foreign_key_constraints", list(field("item", binary(), true)), false),
|
|
491
|
+
field("transaction_opaque_data", binary(), true),
|
|
492
|
+
]);
|
|
493
|
+
|
|
494
|
+
// Origin: TableBufferingCombineRequest
|
|
495
|
+
export const TableBufferingCombineRequestSchema = schema([
|
|
496
|
+
field("function_name", utf8(), false),
|
|
497
|
+
field("execution_id", binary(), false),
|
|
498
|
+
field("state_ids", list(field("item", binary(), true)), false),
|
|
499
|
+
field("attach_opaque_data", binary(), true),
|
|
500
|
+
field("transaction_id", binary(), true),
|
|
501
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
502
|
+
]);
|
|
503
|
+
|
|
504
|
+
// Origin: TableBufferingDestructorRequest
|
|
505
|
+
export const TableBufferingDestructorRequestSchema = schema([
|
|
506
|
+
field("function_name", utf8(), false),
|
|
507
|
+
field("execution_id", binary(), false),
|
|
508
|
+
field("attach_opaque_data", binary(), true),
|
|
509
|
+
field("transaction_id", binary(), true),
|
|
510
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
511
|
+
]);
|
|
512
|
+
|
|
513
|
+
// Origin: TableBufferingProcessRequest
|
|
514
|
+
export const TableBufferingProcessRequestSchema = schema([
|
|
515
|
+
field("function_name", utf8(), false),
|
|
516
|
+
field("execution_id", binary(), false),
|
|
517
|
+
field("input_batch", binary(), false),
|
|
518
|
+
field("attach_opaque_data", binary(), true),
|
|
519
|
+
field("transaction_id", binary(), true),
|
|
520
|
+
field("batch_index", int64(), true),
|
|
521
|
+
field("schema_path", list(field("item", utf8(), true)), true),
|
|
522
|
+
]);
|
|
523
|
+
|
|
524
|
+
// Origin: TableFunctionCardinalityRequest
|
|
525
|
+
export const TableFunctionCardinalityRequestSchema = schema([
|
|
526
|
+
field("bind_call", binary(), false),
|
|
527
|
+
field("bind_opaque_data", binary(), true),
|
|
528
|
+
]);
|
|
529
|
+
|
|
530
|
+
// Origin: TableFunctionDynamicToStringRequest
|
|
531
|
+
export const TableFunctionDynamicToStringRequestSchema = schema([
|
|
532
|
+
field("bind_call", binary(), false),
|
|
533
|
+
field("bind_opaque_data", binary(), true),
|
|
534
|
+
field("global_execution_id", binary(), false),
|
|
535
|
+
]);
|
|
536
|
+
|
|
537
|
+
// Origin: TableFunctionPlanRequest
|
|
538
|
+
export const TableFunctionPlanRequestSchema = schema([
|
|
539
|
+
field("bind_call", binary(), false),
|
|
540
|
+
field("bind_opaque_data", binary(), true),
|
|
541
|
+
field("projection_ids", list(field("item", int64(), true)), true),
|
|
542
|
+
field("pushdown_filters", largeBinary(), true),
|
|
543
|
+
field("join_keys", list(field("item", largeBinary(), true)), true),
|
|
544
|
+
field("row_limit", int64(), true),
|
|
545
|
+
field("target_split_bytes", int64(), true),
|
|
546
|
+
field("min_splits", int64(), true),
|
|
547
|
+
field("max_splits_per_response", int64(), true),
|
|
548
|
+
field("cursor", binary(), true),
|
|
549
|
+
field("refined_filters", largeBinary(), true),
|
|
550
|
+
field("filters_complete", bool(), false),
|
|
551
|
+
field("start_position", binary(), true),
|
|
552
|
+
field("end_position", binary(), true),
|
|
553
|
+
field("order_by_column_name", utf8(), true),
|
|
554
|
+
field("order_by_direction", dictionary(utf8(), int16()), true),
|
|
555
|
+
field("order_by_null_order", dictionary(utf8(), int16()), true),
|
|
556
|
+
field("order_by_limit", int64(), true),
|
|
557
|
+
field("tablesample_percentage", float64(), true),
|
|
558
|
+
field("tablesample_seed", int64(), true),
|
|
559
|
+
]);
|
|
560
|
+
|
|
561
|
+
// Origin: TableFunctionStatisticsRequest
|
|
562
|
+
export const TableFunctionStatisticsRequestSchema = schema([
|
|
563
|
+
field("bind_call", binary(), false),
|
|
564
|
+
field("bind_opaque_data", binary(), true),
|
|
565
|
+
]);
|
|
566
|
+
|
|
195
567
|
// Origin: method 'aggregate_bind' result
|
|
196
568
|
export const AggregateBindResultSchema = schema([
|
|
197
569
|
field("output_schema", binary(), false),
|
|
@@ -244,7 +616,7 @@ export const AggregateWindowInitResultSchema = schema([]);
|
|
|
244
616
|
// Origin: method 'bind' result
|
|
245
617
|
export const BindResultSchema = schema([
|
|
246
618
|
field("output_schema", binary(), false),
|
|
247
|
-
field("opaque_data", binary(),
|
|
619
|
+
field("opaque_data", binary(), true),
|
|
248
620
|
field("lookup_secret_types", list(field("item", utf8(), true)), false),
|
|
249
621
|
field("lookup_scopes", list(field("item", utf8(), true)), false),
|
|
250
622
|
field("lookup_names", list(field("item", utf8(), true)), false),
|
|
@@ -371,6 +743,26 @@ export const TableFunctionDynamicToStringResultSchema = schema([
|
|
|
371
743
|
field("values", list(field("item", utf8(), true)), false),
|
|
372
744
|
]);
|
|
373
745
|
|
|
746
|
+
// Origin: method 'table_function_plan' result
|
|
747
|
+
export const TableFunctionPlanResultSchema = schema([
|
|
748
|
+
field("splits", list(field("item", binary(), true)), false),
|
|
749
|
+
field("next_cursors", list(field("item", binary(), true)), true),
|
|
750
|
+
field("execution_id", binary(), true),
|
|
751
|
+
field("init_opaque_data", binary(), true),
|
|
752
|
+
field("max_workers", int64(), true),
|
|
753
|
+
field("estimated_total_splits", int64(), true),
|
|
754
|
+
field("estimated_total_rows", int64(), true),
|
|
755
|
+
field("estimated_total_bytes", int64(), true),
|
|
756
|
+
field("catalog_version", int64(), true),
|
|
757
|
+
field("scope", utf8(), false),
|
|
758
|
+
field("locations", list(field("item", utf8(), true)), true),
|
|
759
|
+
field("partitioning", list(field("item", binary(), true)), true),
|
|
760
|
+
field("sort_order", list(field("item", binary(), true)), true),
|
|
761
|
+
field("cache_max_age_seconds", int64(), true),
|
|
762
|
+
field("start_position", binary(), true),
|
|
763
|
+
field("end_position", binary(), true),
|
|
764
|
+
]);
|
|
765
|
+
|
|
374
766
|
// Origin: method 'aggregate_bind' params
|
|
375
767
|
export const AggregateBindParamsSchema = schema([
|
|
376
768
|
field("request", binary(), false),
|
|
@@ -473,7 +865,7 @@ export const CatalogIndexCreateParamsSchema = schema([
|
|
|
473
865
|
// Origin: method 'catalog_index_drop' params
|
|
474
866
|
export const CatalogIndexDropParamsSchema = schema([
|
|
475
867
|
field("attach_opaque_data", binary(), false),
|
|
476
|
-
field("
|
|
868
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
477
869
|
field("name", utf8(), false),
|
|
478
870
|
field("ignore_not_found", bool(), false),
|
|
479
871
|
field("cascade", bool(), false),
|
|
@@ -483,7 +875,7 @@ export const CatalogIndexDropParamsSchema = schema([
|
|
|
483
875
|
// Origin: method 'catalog_index_get' params
|
|
484
876
|
export const CatalogIndexGetParamsSchema = schema([
|
|
485
877
|
field("attach_opaque_data", binary(), false),
|
|
486
|
-
field("
|
|
878
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
487
879
|
field("name", utf8(), false),
|
|
488
880
|
field("transaction_opaque_data", binary(), true),
|
|
489
881
|
]);
|
|
@@ -496,7 +888,7 @@ export const CatalogMacroCreateParamsSchema = schema([
|
|
|
496
888
|
// Origin: method 'catalog_macro_drop' params
|
|
497
889
|
export const CatalogMacroDropParamsSchema = schema([
|
|
498
890
|
field("attach_opaque_data", binary(), false),
|
|
499
|
-
field("
|
|
891
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
500
892
|
field("name", utf8(), false),
|
|
501
893
|
field("ignore_not_found", bool(), false),
|
|
502
894
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -505,7 +897,7 @@ export const CatalogMacroDropParamsSchema = schema([
|
|
|
505
897
|
// Origin: method 'catalog_macro_get' params
|
|
506
898
|
export const CatalogMacroGetParamsSchema = schema([
|
|
507
899
|
field("attach_opaque_data", binary(), false),
|
|
508
|
-
field("
|
|
900
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
509
901
|
field("name", utf8(), false),
|
|
510
902
|
field("transaction_opaque_data", binary(), true),
|
|
511
903
|
]);
|
|
@@ -513,7 +905,7 @@ export const CatalogMacroGetParamsSchema = schema([
|
|
|
513
905
|
// Origin: method 'catalog_schema_contents_functions' params
|
|
514
906
|
export const CatalogSchemaContentsFunctionsParamsSchema = schema([
|
|
515
907
|
field("attach_opaque_data", binary(), false),
|
|
516
|
-
field("
|
|
908
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
517
909
|
field("type", dictionary(utf8(), int16()), false),
|
|
518
910
|
field("transaction_opaque_data", binary(), true),
|
|
519
911
|
]);
|
|
@@ -521,14 +913,14 @@ export const CatalogSchemaContentsFunctionsParamsSchema = schema([
|
|
|
521
913
|
// Origin: method 'catalog_schema_contents_indexes' params
|
|
522
914
|
export const CatalogSchemaContentsIndexesParamsSchema = schema([
|
|
523
915
|
field("attach_opaque_data", binary(), false),
|
|
524
|
-
field("
|
|
916
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
525
917
|
field("transaction_opaque_data", binary(), true),
|
|
526
918
|
]);
|
|
527
919
|
|
|
528
920
|
// Origin: method 'catalog_schema_contents_macros' params
|
|
529
921
|
export const CatalogSchemaContentsMacrosParamsSchema = schema([
|
|
530
922
|
field("attach_opaque_data", binary(), false),
|
|
531
|
-
field("
|
|
923
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
532
924
|
field("type", dictionary(utf8(), int16()), false),
|
|
533
925
|
field("transaction_opaque_data", binary(), true),
|
|
534
926
|
]);
|
|
@@ -536,21 +928,21 @@ export const CatalogSchemaContentsMacrosParamsSchema = schema([
|
|
|
536
928
|
// Origin: method 'catalog_schema_contents_tables' params
|
|
537
929
|
export const CatalogSchemaContentsTablesParamsSchema = schema([
|
|
538
930
|
field("attach_opaque_data", binary(), false),
|
|
539
|
-
field("
|
|
931
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
540
932
|
field("transaction_opaque_data", binary(), true),
|
|
541
933
|
]);
|
|
542
934
|
|
|
543
935
|
// Origin: method 'catalog_schema_contents_views' params
|
|
544
936
|
export const CatalogSchemaContentsViewsParamsSchema = schema([
|
|
545
937
|
field("attach_opaque_data", binary(), false),
|
|
546
|
-
field("
|
|
938
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
547
939
|
field("transaction_opaque_data", binary(), true),
|
|
548
940
|
]);
|
|
549
941
|
|
|
550
942
|
// Origin: method 'catalog_schema_create' params
|
|
551
943
|
export const CatalogSchemaCreateParamsSchema = schema([
|
|
552
944
|
field("attach_opaque_data", binary(), false),
|
|
553
|
-
field("
|
|
945
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
554
946
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
555
947
|
field("comment", utf8(), true),
|
|
556
948
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
@@ -560,7 +952,7 @@ export const CatalogSchemaCreateParamsSchema = schema([
|
|
|
560
952
|
// Origin: method 'catalog_schema_drop' params
|
|
561
953
|
export const CatalogSchemaDropParamsSchema = schema([
|
|
562
954
|
field("attach_opaque_data", binary(), false),
|
|
563
|
-
field("
|
|
955
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
564
956
|
field("ignore_not_found", bool(), false),
|
|
565
957
|
field("cascade", bool(), false),
|
|
566
958
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -569,7 +961,7 @@ export const CatalogSchemaDropParamsSchema = schema([
|
|
|
569
961
|
// Origin: method 'catalog_schema_get' params
|
|
570
962
|
export const CatalogSchemaGetParamsSchema = schema([
|
|
571
963
|
field("attach_opaque_data", binary(), false),
|
|
572
|
-
field("
|
|
964
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
573
965
|
field("transaction_opaque_data", binary(), true),
|
|
574
966
|
]);
|
|
575
967
|
|
|
@@ -582,7 +974,7 @@ export const CatalogSchemasParamsSchema = schema([
|
|
|
582
974
|
// Origin: method 'catalog_table_column_add' params
|
|
583
975
|
export const CatalogTableColumnAddParamsSchema = schema([
|
|
584
976
|
field("attach_opaque_data", binary(), false),
|
|
585
|
-
field("
|
|
977
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
586
978
|
field("name", utf8(), false),
|
|
587
979
|
field("column_definition", binary(), false),
|
|
588
980
|
field("ignore_not_found", bool(), false),
|
|
@@ -593,7 +985,7 @@ export const CatalogTableColumnAddParamsSchema = schema([
|
|
|
593
985
|
// Origin: method 'catalog_table_column_comment_set' params
|
|
594
986
|
export const CatalogTableColumnCommentSetParamsSchema = schema([
|
|
595
987
|
field("attach_opaque_data", binary(), false),
|
|
596
|
-
field("
|
|
988
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
597
989
|
field("name", utf8(), false),
|
|
598
990
|
field("column_name", utf8(), false),
|
|
599
991
|
field("comment", utf8(), true),
|
|
@@ -604,7 +996,7 @@ export const CatalogTableColumnCommentSetParamsSchema = schema([
|
|
|
604
996
|
// Origin: method 'catalog_table_column_default_drop' params
|
|
605
997
|
export const CatalogTableColumnDefaultDropParamsSchema = schema([
|
|
606
998
|
field("attach_opaque_data", binary(), false),
|
|
607
|
-
field("
|
|
999
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
608
1000
|
field("name", utf8(), false),
|
|
609
1001
|
field("column_name", utf8(), false),
|
|
610
1002
|
field("ignore_not_found", bool(), false),
|
|
@@ -614,7 +1006,7 @@ export const CatalogTableColumnDefaultDropParamsSchema = schema([
|
|
|
614
1006
|
// Origin: method 'catalog_table_column_default_set' params
|
|
615
1007
|
export const CatalogTableColumnDefaultSetParamsSchema = schema([
|
|
616
1008
|
field("attach_opaque_data", binary(), false),
|
|
617
|
-
field("
|
|
1009
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
618
1010
|
field("name", utf8(), false),
|
|
619
1011
|
field("column_name", utf8(), false),
|
|
620
1012
|
field("expression", utf8(), false),
|
|
@@ -625,7 +1017,7 @@ export const CatalogTableColumnDefaultSetParamsSchema = schema([
|
|
|
625
1017
|
// Origin: method 'catalog_table_column_drop' params
|
|
626
1018
|
export const CatalogTableColumnDropParamsSchema = schema([
|
|
627
1019
|
field("attach_opaque_data", binary(), false),
|
|
628
|
-
field("
|
|
1020
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
629
1021
|
field("name", utf8(), false),
|
|
630
1022
|
field("column_name", utf8(), false),
|
|
631
1023
|
field("ignore_not_found", bool(), false),
|
|
@@ -637,7 +1029,7 @@ export const CatalogTableColumnDropParamsSchema = schema([
|
|
|
637
1029
|
// Origin: method 'catalog_table_column_rename' params
|
|
638
1030
|
export const CatalogTableColumnRenameParamsSchema = schema([
|
|
639
1031
|
field("attach_opaque_data", binary(), false),
|
|
640
|
-
field("
|
|
1032
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
641
1033
|
field("name", utf8(), false),
|
|
642
1034
|
field("column_name", utf8(), false),
|
|
643
1035
|
field("new_column_name", utf8(), false),
|
|
@@ -648,7 +1040,7 @@ export const CatalogTableColumnRenameParamsSchema = schema([
|
|
|
648
1040
|
// Origin: method 'catalog_table_column_statistics_get' params
|
|
649
1041
|
export const CatalogTableColumnStatisticsGetParamsSchema = schema([
|
|
650
1042
|
field("attach_opaque_data", binary(), false),
|
|
651
|
-
field("
|
|
1043
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
652
1044
|
field("name", utf8(), false),
|
|
653
1045
|
field("transaction_opaque_data", binary(), true),
|
|
654
1046
|
]);
|
|
@@ -656,7 +1048,7 @@ export const CatalogTableColumnStatisticsGetParamsSchema = schema([
|
|
|
656
1048
|
// Origin: method 'catalog_table_column_type_change' params
|
|
657
1049
|
export const CatalogTableColumnTypeChangeParamsSchema = schema([
|
|
658
1050
|
field("attach_opaque_data", binary(), false),
|
|
659
|
-
field("
|
|
1051
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
660
1052
|
field("name", utf8(), false),
|
|
661
1053
|
field("column_definition", binary(), false),
|
|
662
1054
|
field("expression", utf8(), true),
|
|
@@ -667,7 +1059,7 @@ export const CatalogTableColumnTypeChangeParamsSchema = schema([
|
|
|
667
1059
|
// Origin: method 'catalog_table_comment_set' params
|
|
668
1060
|
export const CatalogTableCommentSetParamsSchema = schema([
|
|
669
1061
|
field("attach_opaque_data", binary(), false),
|
|
670
|
-
field("
|
|
1062
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
671
1063
|
field("name", utf8(), false),
|
|
672
1064
|
field("comment", utf8(), true),
|
|
673
1065
|
field("ignore_not_found", bool(), false),
|
|
@@ -682,7 +1074,7 @@ export const CatalogTableCreateParamsSchema = schema([
|
|
|
682
1074
|
// Origin: method 'catalog_table_delete_function_get' params
|
|
683
1075
|
export const CatalogTableDeleteFunctionGetParamsSchema = schema([
|
|
684
1076
|
field("attach_opaque_data", binary(), false),
|
|
685
|
-
field("
|
|
1077
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
686
1078
|
field("name", utf8(), false),
|
|
687
1079
|
field("transaction_opaque_data", binary(), true),
|
|
688
1080
|
]);
|
|
@@ -690,7 +1082,7 @@ export const CatalogTableDeleteFunctionGetParamsSchema = schema([
|
|
|
690
1082
|
// Origin: method 'catalog_table_drop' params
|
|
691
1083
|
export const CatalogTableDropParamsSchema = schema([
|
|
692
1084
|
field("attach_opaque_data", binary(), false),
|
|
693
|
-
field("
|
|
1085
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
694
1086
|
field("name", utf8(), false),
|
|
695
1087
|
field("ignore_not_found", bool(), false),
|
|
696
1088
|
field("cascade", bool(), false),
|
|
@@ -700,7 +1092,7 @@ export const CatalogTableDropParamsSchema = schema([
|
|
|
700
1092
|
// Origin: method 'catalog_table_get' params
|
|
701
1093
|
export const CatalogTableGetParamsSchema = schema([
|
|
702
1094
|
field("attach_opaque_data", binary(), false),
|
|
703
|
-
field("
|
|
1095
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
704
1096
|
field("name", utf8(), false),
|
|
705
1097
|
field("at_unit", utf8(), true),
|
|
706
1098
|
field("at_value", utf8(), true),
|
|
@@ -710,7 +1102,7 @@ export const CatalogTableGetParamsSchema = schema([
|
|
|
710
1102
|
// Origin: method 'catalog_table_insert_function_get' params
|
|
711
1103
|
export const CatalogTableInsertFunctionGetParamsSchema = schema([
|
|
712
1104
|
field("attach_opaque_data", binary(), false),
|
|
713
|
-
field("
|
|
1105
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
714
1106
|
field("name", utf8(), false),
|
|
715
1107
|
field("transaction_opaque_data", binary(), true),
|
|
716
1108
|
field("writable_branch_function_name", utf8(), true),
|
|
@@ -719,7 +1111,7 @@ export const CatalogTableInsertFunctionGetParamsSchema = schema([
|
|
|
719
1111
|
// Origin: method 'catalog_table_not_null_drop' params
|
|
720
1112
|
export const CatalogTableNotNullDropParamsSchema = schema([
|
|
721
1113
|
field("attach_opaque_data", binary(), false),
|
|
722
|
-
field("
|
|
1114
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
723
1115
|
field("name", utf8(), false),
|
|
724
1116
|
field("column_name", utf8(), false),
|
|
725
1117
|
field("ignore_not_found", bool(), false),
|
|
@@ -729,7 +1121,7 @@ export const CatalogTableNotNullDropParamsSchema = schema([
|
|
|
729
1121
|
// Origin: method 'catalog_table_not_null_set' params
|
|
730
1122
|
export const CatalogTableNotNullSetParamsSchema = schema([
|
|
731
1123
|
field("attach_opaque_data", binary(), false),
|
|
732
|
-
field("
|
|
1124
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
733
1125
|
field("name", utf8(), false),
|
|
734
1126
|
field("column_name", utf8(), false),
|
|
735
1127
|
field("ignore_not_found", bool(), false),
|
|
@@ -739,7 +1131,7 @@ export const CatalogTableNotNullSetParamsSchema = schema([
|
|
|
739
1131
|
// Origin: method 'catalog_table_rename' params
|
|
740
1132
|
export const CatalogTableRenameParamsSchema = schema([
|
|
741
1133
|
field("attach_opaque_data", binary(), false),
|
|
742
|
-
field("
|
|
1134
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
743
1135
|
field("name", utf8(), false),
|
|
744
1136
|
field("new_name", utf8(), false),
|
|
745
1137
|
field("ignore_not_found", bool(), false),
|
|
@@ -749,7 +1141,7 @@ export const CatalogTableRenameParamsSchema = schema([
|
|
|
749
1141
|
// Origin: method 'catalog_table_scan_branches_get' params
|
|
750
1142
|
export const CatalogTableScanBranchesGetParamsSchema = schema([
|
|
751
1143
|
field("attach_opaque_data", binary(), false),
|
|
752
|
-
field("
|
|
1144
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
753
1145
|
field("name", utf8(), false),
|
|
754
1146
|
field("at_unit", utf8(), true),
|
|
755
1147
|
field("at_value", utf8(), true),
|
|
@@ -759,7 +1151,7 @@ export const CatalogTableScanBranchesGetParamsSchema = schema([
|
|
|
759
1151
|
// Origin: method 'catalog_table_scan_function_get' params
|
|
760
1152
|
export const CatalogTableScanFunctionGetParamsSchema = schema([
|
|
761
1153
|
field("attach_opaque_data", binary(), false),
|
|
762
|
-
field("
|
|
1154
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
763
1155
|
field("name", utf8(), false),
|
|
764
1156
|
field("at_unit", utf8(), true),
|
|
765
1157
|
field("at_value", utf8(), true),
|
|
@@ -769,7 +1161,7 @@ export const CatalogTableScanFunctionGetParamsSchema = schema([
|
|
|
769
1161
|
// Origin: method 'catalog_table_update_function_get' params
|
|
770
1162
|
export const CatalogTableUpdateFunctionGetParamsSchema = schema([
|
|
771
1163
|
field("attach_opaque_data", binary(), false),
|
|
772
|
-
field("
|
|
1164
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
773
1165
|
field("name", utf8(), false),
|
|
774
1166
|
field("transaction_opaque_data", binary(), true),
|
|
775
1167
|
]);
|
|
@@ -800,7 +1192,7 @@ export const CatalogVersionParamsSchema = schema([
|
|
|
800
1192
|
// Origin: method 'catalog_view_comment_set' params
|
|
801
1193
|
export const CatalogViewCommentSetParamsSchema = schema([
|
|
802
1194
|
field("attach_opaque_data", binary(), false),
|
|
803
|
-
field("
|
|
1195
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
804
1196
|
field("name", utf8(), false),
|
|
805
1197
|
field("comment", utf8(), true),
|
|
806
1198
|
field("ignore_not_found", bool(), false),
|
|
@@ -810,7 +1202,7 @@ export const CatalogViewCommentSetParamsSchema = schema([
|
|
|
810
1202
|
// Origin: method 'catalog_view_create' params
|
|
811
1203
|
export const CatalogViewCreateParamsSchema = schema([
|
|
812
1204
|
field("attach_opaque_data", binary(), false),
|
|
813
|
-
field("
|
|
1205
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
814
1206
|
field("name", utf8(), false),
|
|
815
1207
|
field("definition", utf8(), false),
|
|
816
1208
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
@@ -820,7 +1212,7 @@ export const CatalogViewCreateParamsSchema = schema([
|
|
|
820
1212
|
// Origin: method 'catalog_view_drop' params
|
|
821
1213
|
export const CatalogViewDropParamsSchema = schema([
|
|
822
1214
|
field("attach_opaque_data", binary(), false),
|
|
823
|
-
field("
|
|
1215
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
824
1216
|
field("name", utf8(), false),
|
|
825
1217
|
field("ignore_not_found", bool(), false),
|
|
826
1218
|
field("cascade", bool(), false),
|
|
@@ -830,7 +1222,7 @@ export const CatalogViewDropParamsSchema = schema([
|
|
|
830
1222
|
// Origin: method 'catalog_view_get' params
|
|
831
1223
|
export const CatalogViewGetParamsSchema = schema([
|
|
832
1224
|
field("attach_opaque_data", binary(), false),
|
|
833
|
-
field("
|
|
1225
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
834
1226
|
field("name", utf8(), false),
|
|
835
1227
|
field("transaction_opaque_data", binary(), true),
|
|
836
1228
|
]);
|
|
@@ -838,7 +1230,7 @@ export const CatalogViewGetParamsSchema = schema([
|
|
|
838
1230
|
// Origin: method 'catalog_view_rename' params
|
|
839
1231
|
export const CatalogViewRenameParamsSchema = schema([
|
|
840
1232
|
field("attach_opaque_data", binary(), false),
|
|
841
|
-
field("
|
|
1233
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
842
1234
|
field("name", utf8(), false),
|
|
843
1235
|
field("new_name", utf8(), false),
|
|
844
1236
|
field("ignore_not_found", bool(), false),
|
|
@@ -875,6 +1267,11 @@ export const TableFunctionDynamicToStringParamsSchema = schema([
|
|
|
875
1267
|
field("request", binary(), false),
|
|
876
1268
|
]);
|
|
877
1269
|
|
|
1270
|
+
// Origin: method 'table_function_plan' params
|
|
1271
|
+
export const TableFunctionPlanParamsSchema = schema([
|
|
1272
|
+
field("request", binary(), false),
|
|
1273
|
+
]);
|
|
1274
|
+
|
|
878
1275
|
// Origin: method 'table_function_statistics' params
|
|
879
1276
|
export const TableFunctionStatisticsParamsSchema = schema([
|
|
880
1277
|
field("request", binary(), false),
|