@query-farm/vgi 0.46.0 → 0.47.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 +11 -5
- package/dist/arrow/impl-arrowjs/index.d.ts +1 -1
- package/dist/arrow/impl-arrowjs/iterate.d.ts +2 -0
- package/dist/arrow/impl-flechette/index.d.ts +1 -1
- package/dist/arrow/impl-flechette/iterate.d.ts +2 -0
- package/dist/arrow/index.d.ts +1 -1
- package/dist/catalog/column-expressions.d.ts +8 -0
- package/dist/catalog/column-metadata.d.ts +11 -0
- package/dist/catalog/composite.d.ts +2 -1
- package/dist/catalog/constraints.d.ts +74 -0
- package/dist/catalog/descriptors.d.ts +21 -29
- package/dist/catalog/interface.d.ts +15 -20
- package/dist/catalog/macro-overloads.d.ts +4 -0
- package/dist/catalog/read-only.d.ts +7 -1
- package/dist/catalog/unconstrained-columns.d.ts +2 -0
- package/dist/client/client.d.ts +18 -13
- package/dist/client-entry.js +753 -103
- package/dist/client-entry.js.map +16 -14
- package/dist/functions/projection.d.ts +18 -0
- package/dist/functions/table.d.ts +6 -1
- package/dist/functions/types.d.ts +1 -0
- package/dist/generated/vgi-client.d.ts +177 -36
- package/dist/generated/vgi-protocol-schemas.d.ts +51 -1
- package/dist/generated/vgi-protocol-types.d.ts +317 -3
- package/dist/generated/vgi-service.d.ts +266 -29
- package/dist/index.core.d.ts +3 -1
- package/dist/index.js +1630 -240
- package/dist/index.js.map +41 -34
- package/dist/protocol/dispatch.d.ts +9 -9
- package/dist/protocol/handlers/aggregate.d.ts +1 -1
- package/dist/protocol/handlers/catalog/index.d.ts +1 -1
- package/dist/protocol/handlers/catalog/metadata.d.ts +1 -0
- package/dist/protocol/handlers/function.d.ts +1 -1
- package/dist/protocol/handlers/table-buffering.d.ts +1 -1
- package/dist/protocol/handlers/unimplemented.d.ts +1 -1
- package/dist/protocol/serializers/bind.d.ts +5 -1
- package/dist/protocol/types.d.ts +5 -0
- package/dist/rpc-server.d.ts +6 -6
- package/dist/serve-entry.js +1613 -447
- package/dist/serve-entry.js.map +32 -26
- package/dist/util/arrow/index.d.ts +1 -1
- package/dist/worker-cf-entry.d.ts +2 -2
- package/dist/worker-cf-entry.js +1943 -572
- package/dist/worker-cf-entry.js.map +41 -34
- package/dist/worker.d.ts +1 -1
- package/package.json +5 -4
- package/src/arrow/impl-arrowjs/index.ts +1 -1
- package/src/arrow/impl-arrowjs/iterate.ts +9 -1
- package/src/arrow/impl-arrowjs/project.ts +1 -1
- package/src/arrow/impl-flechette/index.ts +1 -1
- package/src/arrow/impl-flechette/ipc.ts +12 -0
- package/src/arrow/impl-flechette/iterate.ts +5 -0
- package/src/arrow/impl-flechette/project.ts +6 -8
- package/src/arrow/index.ts +1 -1
- package/src/catalog/column-expressions.ts +224 -0
- package/src/catalog/column-metadata.ts +151 -0
- package/src/catalog/composite.ts +5 -1
- package/src/catalog/constraints.ts +207 -0
- package/src/catalog/contents-codec.ts +6 -1
- package/src/catalog/descriptors.ts +21 -29
- package/src/catalog/interface.ts +70 -55
- package/src/catalog/macro-overloads.ts +44 -0
- package/src/catalog/read-only.ts +92 -71
- package/src/catalog/unconstrained-columns.ts +23 -0
- package/src/client/client.ts +100 -58
- package/src/codec/asd.ts +3 -1
- package/src/functions/projection.ts +207 -0
- package/src/functions/table.ts +10 -0
- package/src/functions/types.ts +1 -0
- package/src/generated/vgi-client.ts +199 -37
- package/src/generated/vgi-protocol-schemas.ts +455 -41
- package/src/generated/vgi-protocol-types.ts +879 -5
- package/src/generated/vgi-service.ts +514 -42
- package/src/http/client-bundle.ts +1 -1
- package/src/http/fetch.ts +1 -1
- package/src/index.core.ts +5 -0
- package/src/protocol/dispatch.ts +9 -9
- package/src/protocol/handlers/aggregate.ts +1 -1
- package/src/protocol/handlers/catalog/admin.ts +27 -6
- package/src/protocol/handlers/catalog/index.ts +2 -2
- package/src/protocol/handlers/catalog/macro.ts +6 -5
- package/src/protocol/handlers/catalog/metadata.ts +16 -0
- package/src/protocol/handlers/catalog/table.ts +72 -26
- package/src/protocol/handlers/catalog/view.ts +24 -3
- package/src/protocol/handlers/function.ts +67 -1
- package/src/protocol/handlers/table-buffering.ts +1 -1
- package/src/protocol/handlers/unimplemented.ts +6 -6
- package/src/protocol/serializers/bind.ts +17 -1
- package/src/protocol/types.ts +6 -0
- package/src/rpc-server.ts +9 -9
- package/src/util/arrow/index.ts +1 -1
- package/src/worker-cf-entry.ts +6 -0
- package/src/worker.ts +1 -1
|
@@ -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: 4a5d3f9515d7
|
|
6
6
|
//
|
|
7
7
|
// To regenerate:
|
|
8
8
|
// uv run --project ~/Development/vgi-python vgi-gen-ts-schemas \
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "../arrow/index.js";
|
|
31
31
|
|
|
32
32
|
/** Canonical fingerprint of the nested catalog wire schemas. */
|
|
33
|
-
export const VGI_CATALOG_CONTRACT_HASH = "
|
|
33
|
+
export const VGI_CATALOG_CONTRACT_HASH = "1d12ce672b43ca1510721f89637bb374d27693b100d357ac2ead99fcddc27e9f";
|
|
34
34
|
|
|
35
35
|
// Origin: CatalogInfo
|
|
36
36
|
export const CatalogInfoSchema = schema([
|
|
@@ -48,6 +48,7 @@ export const SchemaInfoSchema = schema([
|
|
|
48
48
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
49
49
|
field("path", list(field("item", utf8(), true)), false),
|
|
50
50
|
field("estimated_object_count", map(field("key", utf8(), false), field("value", int64(), true), false), true),
|
|
51
|
+
field("options", binary(), true),
|
|
51
52
|
]);
|
|
52
53
|
|
|
53
54
|
// Origin: TableInfo
|
|
@@ -57,11 +58,8 @@ export const TableInfoSchema = schema([
|
|
|
57
58
|
field("name", utf8(), false),
|
|
58
59
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
59
60
|
field("columns", binary(), false),
|
|
60
|
-
field("
|
|
61
|
-
field("
|
|
62
|
-
field("check_constraints", list(field("item", utf8(), true)), false),
|
|
63
|
-
field("primary_key_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
64
|
-
field("foreign_key_constraints", list(field("item", binary(), true)), false),
|
|
61
|
+
field("constraints", list(field("item", binary(), true)), false),
|
|
62
|
+
field("definition_revision", binary(), true),
|
|
65
63
|
field("write_result_modes", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
66
64
|
field("supports_column_statistics", bool(), false),
|
|
67
65
|
field("scan_function", binary(), true),
|
|
@@ -72,7 +70,9 @@ export const TableInfoSchema = schema([
|
|
|
72
70
|
field("cardinality_max", int64(), true),
|
|
73
71
|
field("column_statistics", binary(), true),
|
|
74
72
|
field("bind_result", binary(), true),
|
|
75
|
-
field("required_filters", list(field("item", list(field("item", utf8(), true)), true)), false),
|
|
73
|
+
field("required_filters", list(field("item", list(field("item", list(field("item", utf8(), true)), true)), true)), false),
|
|
74
|
+
field("options", binary(), true),
|
|
75
|
+
field("layout", binary(), true),
|
|
76
76
|
]);
|
|
77
77
|
|
|
78
78
|
// Origin: ViewInfo
|
|
@@ -83,6 +83,8 @@ export const ViewInfoSchema = schema([
|
|
|
83
83
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
84
84
|
field("definition", utf8(), false),
|
|
85
85
|
field("column_comments", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
86
|
+
field("aliases", list(field("item", utf8(), true)), false),
|
|
87
|
+
field("security", utf8(), false),
|
|
86
88
|
]);
|
|
87
89
|
|
|
88
90
|
// Origin: FunctionInfo
|
|
@@ -138,10 +140,7 @@ export const MacroInfoSchema = schema([
|
|
|
138
140
|
field("name", utf8(), false),
|
|
139
141
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
140
142
|
field("macro_type", dictionary(utf8(), int16()), false),
|
|
141
|
-
field("parameters", list(field("item", utf8(), true)), false),
|
|
142
|
-
field("parameter_default_values", binary(), true),
|
|
143
|
-
field("definition", utf8(), false),
|
|
144
|
-
field("arguments_schema", binary(), true),
|
|
143
|
+
field("overloads", list(field("item", struct([field("parameters", list(field("item", struct([field("name", utf8(), false), field("declared_type", binary(), true), field("default_value", binary(), true), field("default_expression", binary(), true), field("documentation", utf8(), true)]), true)), false), field("definition", utf8(), false), field("profile", utf8(), false), field("schema_path", list(field("item", utf8(), true)), false), field("macro_type", utf8(), false), field("evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false)]), true)), false),
|
|
145
144
|
]);
|
|
146
145
|
|
|
147
146
|
// Origin: IndexInfo
|
|
@@ -150,11 +149,8 @@ export const IndexInfoSchema = schema([
|
|
|
150
149
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
151
150
|
field("name", utf8(), false),
|
|
152
151
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
153
|
-
field("
|
|
154
|
-
field("
|
|
155
|
-
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
156
|
-
field("expressions", list(field("item", utf8(), true)), false),
|
|
157
|
-
field("options", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
152
|
+
field("definition", binary(), false),
|
|
153
|
+
field("options", binary(), false),
|
|
158
154
|
]);
|
|
159
155
|
|
|
160
156
|
// Origin: CopyFromFormatInfo
|
|
@@ -169,6 +165,267 @@ export const CopyFromFormatInfoSchema = schema([
|
|
|
169
165
|
field("ordered", bool(), false),
|
|
170
166
|
]);
|
|
171
167
|
|
|
168
|
+
// Origin: MacroParameter
|
|
169
|
+
export const MacroParameterSchema = schema([
|
|
170
|
+
field("name", utf8(), false),
|
|
171
|
+
field("declared_type", binary(), true),
|
|
172
|
+
field("default_value", binary(), true),
|
|
173
|
+
field("default_expression", binary(), true),
|
|
174
|
+
field("documentation", utf8(), true),
|
|
175
|
+
]);
|
|
176
|
+
|
|
177
|
+
// Origin: MacroOverload
|
|
178
|
+
export const MacroOverloadSchema = schema([
|
|
179
|
+
field("parameters", list(field("item", struct([field("name", utf8(), false), field("declared_type", binary(), true), field("default_value", binary(), true), field("default_expression", binary(), true), field("documentation", utf8(), true)]), true)), false),
|
|
180
|
+
field("definition", utf8(), false),
|
|
181
|
+
field("profile", utf8(), false),
|
|
182
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
183
|
+
field("macro_type", utf8(), false),
|
|
184
|
+
field("evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false),
|
|
185
|
+
]);
|
|
186
|
+
|
|
187
|
+
// Origin: ClientQueryCapabilities
|
|
188
|
+
export const ClientQueryCapabilitiesSchema = schema([
|
|
189
|
+
field("encodings", list(field("item", utf8(), true)), false),
|
|
190
|
+
field("semantic_profiles", list(field("item", utf8(), true)), false),
|
|
191
|
+
field("engine_version", utf8(), false),
|
|
192
|
+
field("max_query_bytes", int64(), false),
|
|
193
|
+
]);
|
|
194
|
+
|
|
195
|
+
// Origin: QueryCapabilities
|
|
196
|
+
export const QueryCapabilitiesSchema = schema([
|
|
197
|
+
field("encoding", utf8(), false),
|
|
198
|
+
field("semantic_profiles", list(field("item", utf8(), true)), false),
|
|
199
|
+
field("execution_modes", list(field("item", utf8(), true)), false),
|
|
200
|
+
field("backend_engine", utf8(), false),
|
|
201
|
+
field("backend_version", utf8(), false),
|
|
202
|
+
field("capability_revision", utf8(), false),
|
|
203
|
+
field("default_evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false),
|
|
204
|
+
field("max_query_bytes", int64(), false),
|
|
205
|
+
]);
|
|
206
|
+
|
|
207
|
+
// Origin: QueryEvaluationContext
|
|
208
|
+
export const QueryEvaluationContextSchema = schema([
|
|
209
|
+
field("timezone", utf8(), false),
|
|
210
|
+
field("collation", utf8(), false),
|
|
211
|
+
field("default_order", utf8(), false),
|
|
212
|
+
field("default_null_order", utf8(), false),
|
|
213
|
+
field("preserve_insertion_order", bool(), false),
|
|
214
|
+
]);
|
|
215
|
+
|
|
216
|
+
// Origin: QueryObjectReference
|
|
217
|
+
export const QueryObjectReferenceSchema = schema([
|
|
218
|
+
field("object", struct([field("kind", utf8(), false), field("schema_path", list(field("item", utf8(), true)), false), field("name", utf8(), false), field("owner_table", utf8(), true)]), false),
|
|
219
|
+
field("expected_schema", binary(), false),
|
|
220
|
+
]);
|
|
221
|
+
|
|
222
|
+
// Origin: CatalogQueryPrepareRequest
|
|
223
|
+
export const CatalogQueryPrepareRequestSchema = schema([
|
|
224
|
+
field("attach_opaque_data", binary(), false),
|
|
225
|
+
field("encoding", utf8(), false),
|
|
226
|
+
field("semantic_profile", utf8(), false),
|
|
227
|
+
field("mode", utf8(), false),
|
|
228
|
+
field("capability_revision", utf8(), false),
|
|
229
|
+
field("query", utf8(), false),
|
|
230
|
+
field("parameter_schema", binary(), false),
|
|
231
|
+
field("evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false),
|
|
232
|
+
field("transaction_opaque_data", binary(), true),
|
|
233
|
+
field("catalog_version", int64(), true),
|
|
234
|
+
field("catalog_etag", utf8(), true),
|
|
235
|
+
field("referenced_objects", list(field("item", struct([field("object", struct([field("kind", utf8(), false), field("schema_path", list(field("item", utf8(), true)), false), field("name", utf8(), false), field("owner_table", utf8(), true)]), false), field("expected_schema", binary(), false)]), true)), false),
|
|
236
|
+
field("expected_output_schema", binary(), true),
|
|
237
|
+
field("required_ordering", utf8(), false),
|
|
238
|
+
]);
|
|
239
|
+
|
|
240
|
+
// Origin: CatalogQueryPrepareResult
|
|
241
|
+
export const CatalogQueryPrepareResultSchema = schema([
|
|
242
|
+
field("status", utf8(), false),
|
|
243
|
+
field("reason_code", utf8(), true),
|
|
244
|
+
field("reason_detail", utf8(), true),
|
|
245
|
+
field("prepared_query_token", binary(), true),
|
|
246
|
+
field("output_schema", binary(), true),
|
|
247
|
+
field("result_ordering", utf8(), true),
|
|
248
|
+
field("validated_catalog_version", int64(), true),
|
|
249
|
+
field("validated_catalog_etag", utf8(), true),
|
|
250
|
+
field("context_digest", binary(), true),
|
|
251
|
+
field("expires_at_epoch_ms", int64(), true),
|
|
252
|
+
field("estimated_rows", int64(), true),
|
|
253
|
+
field("estimated_bytes", int64(), true),
|
|
254
|
+
]);
|
|
255
|
+
|
|
256
|
+
// Origin: CatalogCapabilities
|
|
257
|
+
export const CatalogCapabilitiesSchema = schema([
|
|
258
|
+
field("read", list(field("item", utf8(), true)), false),
|
|
259
|
+
field("ddl", list(field("item", utf8(), true)), false),
|
|
260
|
+
field("write", list(field("item", utf8(), true)), false),
|
|
261
|
+
field("transaction", list(field("item", utf8(), true)), false),
|
|
262
|
+
]);
|
|
263
|
+
|
|
264
|
+
// Origin: CatalogMetadataChanges
|
|
265
|
+
export const CatalogMetadataChangesSchema = schema([
|
|
266
|
+
field("set_comment", bool(), false),
|
|
267
|
+
field("comment", utf8(), true),
|
|
268
|
+
field("set_tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
269
|
+
field("remove_tags", list(field("item", utf8(), true)), false),
|
|
270
|
+
]);
|
|
271
|
+
|
|
272
|
+
// Origin: CatalogObjectRef
|
|
273
|
+
export const CatalogObjectRefSchema = schema([
|
|
274
|
+
field("kind", utf8(), false),
|
|
275
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
276
|
+
field("name", utf8(), false),
|
|
277
|
+
field("owner_table", utf8(), true),
|
|
278
|
+
]);
|
|
279
|
+
|
|
280
|
+
// Origin: ObjectDependency
|
|
281
|
+
export const ObjectDependencySchema = schema([
|
|
282
|
+
field("dependent", binary(), false),
|
|
283
|
+
field("subject", binary(), false),
|
|
284
|
+
field("blocks_alter", bool(), false),
|
|
285
|
+
field("kind", utf8(), false),
|
|
286
|
+
field("subject_column_paths", list(field("item", list(field("item", utf8(), true)), true)), true),
|
|
287
|
+
field("dependent_column_path", list(field("item", utf8(), true)), true),
|
|
288
|
+
]);
|
|
289
|
+
|
|
290
|
+
// Origin: DependencySnapshot
|
|
291
|
+
export const DependencySnapshotSchema = schema([
|
|
292
|
+
field("catalog_version", int64(), false),
|
|
293
|
+
field("objects", list(field("item", binary(), true)), false),
|
|
294
|
+
field("dependencies", list(field("item", binary(), true)), false),
|
|
295
|
+
]);
|
|
296
|
+
|
|
297
|
+
// Origin: OptionDefinitions
|
|
298
|
+
export const OptionDefinitionsSchema = schema([
|
|
299
|
+
field("schema", binary(), false),
|
|
300
|
+
field("defaults", binary(), false),
|
|
301
|
+
field("create_names", list(field("item", utf8(), true)), false),
|
|
302
|
+
field("alter_names", list(field("item", utf8(), true)), false),
|
|
303
|
+
]);
|
|
304
|
+
|
|
305
|
+
// Origin: SqlExpression
|
|
306
|
+
export const SqlExpressionSchema = schema([
|
|
307
|
+
field("sql", utf8(), false),
|
|
308
|
+
field("profile", utf8(), false),
|
|
309
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
310
|
+
field("evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false),
|
|
311
|
+
]);
|
|
312
|
+
|
|
313
|
+
// Origin: SqlStatement
|
|
314
|
+
export const SqlStatementSchema = schema([
|
|
315
|
+
field("sql", utf8(), false),
|
|
316
|
+
field("profile", utf8(), false),
|
|
317
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
318
|
+
field("evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false),
|
|
319
|
+
]);
|
|
320
|
+
|
|
321
|
+
// Origin: ForeignKeyDefinition
|
|
322
|
+
export const ForeignKeyDefinitionSchema = schema([
|
|
323
|
+
field("referenced_table", binary(), false),
|
|
324
|
+
field("referenced_column_paths", list(field("item", list(field("item", utf8(), true)), true)), false),
|
|
325
|
+
field("match", dictionary(utf8(), int16()), false),
|
|
326
|
+
field("on_update", dictionary(utf8(), int16()), false),
|
|
327
|
+
field("on_delete", dictionary(utf8(), int16()), false),
|
|
328
|
+
]);
|
|
329
|
+
|
|
330
|
+
// Origin: ConstraintDefinition
|
|
331
|
+
export const ConstraintDefinitionSchema = schema([
|
|
332
|
+
field("kind", dictionary(utf8(), int16()), false),
|
|
333
|
+
field("column_paths", list(field("item", list(field("item", utf8(), true)), true)), false),
|
|
334
|
+
field("declared_name", utf8(), true),
|
|
335
|
+
field("check_expression", binary(), true),
|
|
336
|
+
field("foreign_key", binary(), true),
|
|
337
|
+
]);
|
|
338
|
+
|
|
339
|
+
// Origin: ConstraintInfo
|
|
340
|
+
export const ConstraintInfoSchema = schema([
|
|
341
|
+
field("ref", binary(), false),
|
|
342
|
+
field("definition", binary(), false),
|
|
343
|
+
field("enforcement", dictionary(utf8(), int16()), false),
|
|
344
|
+
field("validation", dictionary(utf8(), int16()), false),
|
|
345
|
+
field("referenced_constraint", binary(), true),
|
|
346
|
+
]);
|
|
347
|
+
|
|
348
|
+
// Origin: ConstraintChange
|
|
349
|
+
export const ConstraintChangeSchema = schema([
|
|
350
|
+
field("operation", dictionary(utf8(), int16()), false),
|
|
351
|
+
field("ref", binary(), true),
|
|
352
|
+
field("definition", binary(), true),
|
|
353
|
+
field("enforcement", dictionary(utf8(), int16()), true),
|
|
354
|
+
field("validation", dictionary(utf8(), int16()), true),
|
|
355
|
+
field("cascade", bool(), true),
|
|
356
|
+
field("declared_name", utf8(), true),
|
|
357
|
+
]);
|
|
358
|
+
|
|
359
|
+
// Origin: ConstraintSnapshot
|
|
360
|
+
export const ConstraintSnapshotSchema = schema([
|
|
361
|
+
field("table", binary(), false),
|
|
362
|
+
field("definition_revision", binary(), false),
|
|
363
|
+
field("constraints", list(field("item", binary(), true)), false),
|
|
364
|
+
]);
|
|
365
|
+
|
|
366
|
+
// Origin: ConstraintsApplyRequest
|
|
367
|
+
export const ConstraintsApplyRequestSchema = schema([
|
|
368
|
+
field("attach_opaque_data", binary(), false),
|
|
369
|
+
field("table", binary(), false),
|
|
370
|
+
field("expected_revision", binary(), false),
|
|
371
|
+
field("changes", list(field("item", binary(), true)), false),
|
|
372
|
+
field("transaction_opaque_data", binary(), true),
|
|
373
|
+
]);
|
|
374
|
+
|
|
375
|
+
// Origin: IndexKey
|
|
376
|
+
export const IndexKeySchema = schema([
|
|
377
|
+
field("column_path", list(field("item", utf8(), true)), true),
|
|
378
|
+
field("expression", binary(), true),
|
|
379
|
+
]);
|
|
380
|
+
|
|
381
|
+
// Origin: IndexDefinition
|
|
382
|
+
export const IndexDefinitionSchema = schema([
|
|
383
|
+
field("table", binary(), false),
|
|
384
|
+
field("algorithm", utf8(), false),
|
|
385
|
+
field("keys", list(field("item", binary(), true)), false),
|
|
386
|
+
field("options", binary(), false),
|
|
387
|
+
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
388
|
+
field("associated_constraint", binary(), true),
|
|
389
|
+
]);
|
|
390
|
+
|
|
391
|
+
// Origin: SortKey
|
|
392
|
+
export const SortKeySchema = schema([
|
|
393
|
+
field("expression", binary(), false),
|
|
394
|
+
field("direction", dictionary(utf8(), int16()), false),
|
|
395
|
+
field("null_order", dictionary(utf8(), int16()), false),
|
|
396
|
+
]);
|
|
397
|
+
|
|
398
|
+
// Origin: TableLayout
|
|
399
|
+
export const TableLayoutSchema = schema([
|
|
400
|
+
field("partition_by", list(field("item", binary(), true)), false),
|
|
401
|
+
field("sorted_by", list(field("item", binary(), true)), false),
|
|
402
|
+
field("coverage", dictionary(utf8(), int16()), false),
|
|
403
|
+
]);
|
|
404
|
+
|
|
405
|
+
// Origin: TableLayoutChange
|
|
406
|
+
export const TableLayoutChangeSchema = schema([
|
|
407
|
+
field("mode", dictionary(utf8(), int16()), false),
|
|
408
|
+
field("partition_by", list(field("item", binary(), true)), true),
|
|
409
|
+
field("sorted_by", list(field("item", binary(), true)), true),
|
|
410
|
+
]);
|
|
411
|
+
|
|
412
|
+
// Origin: OptionChanges
|
|
413
|
+
export const OptionChangesSchema = schema([
|
|
414
|
+
field("set_values", binary(), true),
|
|
415
|
+
field("reset_names", list(field("item", utf8(), true)), false),
|
|
416
|
+
]);
|
|
417
|
+
|
|
418
|
+
// Origin: OptionState
|
|
419
|
+
export const OptionStateSchema = schema([
|
|
420
|
+
field("values", binary(), false),
|
|
421
|
+
field("explicit_names", list(field("item", utf8(), true)), false),
|
|
422
|
+
]);
|
|
423
|
+
|
|
424
|
+
// Origin: RequiredFilterPaths
|
|
425
|
+
export const RequiredFilterPathsSchema = schema([
|
|
426
|
+
field("groups", list(field("item", list(field("item", list(field("item", utf8(), true)), true)), true)), false),
|
|
427
|
+
]);
|
|
428
|
+
|
|
172
429
|
// Origin: ScanFunctionResult
|
|
173
430
|
export const ScanFunctionResultSchema = schema([
|
|
174
431
|
field("function_name", utf8(), false),
|
|
@@ -417,6 +674,8 @@ export const ClientCapabilitiesSchema = schema([
|
|
|
417
674
|
field("catalogs", list(field("item", utf8(), true)), false),
|
|
418
675
|
field("can_stream", bool(), false),
|
|
419
676
|
field("filter_encodings", list(field("item", utf8(), true)), false),
|
|
677
|
+
field("catalog", binary(), true),
|
|
678
|
+
field("query_pushdown", struct([field("encodings", list(field("item", utf8(), true)), false), field("semantic_profiles", list(field("item", utf8(), true)), false), field("engine_version", utf8(), false), field("max_query_bytes", int64(), false)]), true),
|
|
420
679
|
]);
|
|
421
680
|
|
|
422
681
|
// Origin: CopyFromContext
|
|
@@ -444,12 +703,8 @@ export const IndexCreateRequestSchema = schema([
|
|
|
444
703
|
field("attach_opaque_data", binary(), false),
|
|
445
704
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
446
705
|
field("name", utf8(), false),
|
|
447
|
-
field("
|
|
448
|
-
field("index_type", utf8(), false),
|
|
449
|
-
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
450
|
-
field("expressions", list(field("item", utf8(), true)), false),
|
|
706
|
+
field("definition", binary(), false),
|
|
451
707
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
452
|
-
field("options", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
453
708
|
field("transaction_opaque_data", binary(), true),
|
|
454
709
|
]);
|
|
455
710
|
|
|
@@ -482,11 +737,8 @@ export const MacroCreateRequestSchema = schema([
|
|
|
482
737
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
483
738
|
field("name", utf8(), false),
|
|
484
739
|
field("macro_type", dictionary(utf8(), int16()), false),
|
|
485
|
-
field("parameters", list(field("item", utf8(), true)), false),
|
|
486
|
-
field("definition", utf8(), false),
|
|
740
|
+
field("overloads", list(field("item", struct([field("parameters", list(field("item", struct([field("name", utf8(), false), field("declared_type", binary(), true), field("default_value", binary(), true), field("default_expression", binary(), true), field("documentation", utf8(), true)]), true)), false), field("definition", utf8(), false), field("profile", utf8(), false), field("schema_path", list(field("item", utf8(), true)), false), field("macro_type", utf8(), false), field("evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false)]), true)), false),
|
|
487
741
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
488
|
-
field("parameter_default_values", binary(), true),
|
|
489
|
-
field("arguments_schema", binary(), true),
|
|
490
742
|
field("transaction_opaque_data", binary(), true),
|
|
491
743
|
]);
|
|
492
744
|
|
|
@@ -497,12 +749,12 @@ export const TableCreateRequestSchema = schema([
|
|
|
497
749
|
field("name", utf8(), false),
|
|
498
750
|
field("columns", binary(), false),
|
|
499
751
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
500
|
-
field("
|
|
501
|
-
field("unique_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
502
|
-
field("check_constraints", list(field("item", utf8(), true)), false),
|
|
503
|
-
field("primary_key_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
504
|
-
field("foreign_key_constraints", list(field("item", binary(), true)), false),
|
|
752
|
+
field("constraint_definitions", list(field("item", binary(), true)), false),
|
|
505
753
|
field("transaction_opaque_data", binary(), true),
|
|
754
|
+
field("comment", utf8(), true),
|
|
755
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
756
|
+
field("options", binary(), true),
|
|
757
|
+
field("layout", binary(), true),
|
|
506
758
|
]);
|
|
507
759
|
|
|
508
760
|
// Origin: TableBufferingCombineRequest
|
|
@@ -572,6 +824,14 @@ export const TableFunctionPlanRequestSchema = schema([
|
|
|
572
824
|
field("tablesample_seed", int64(), true),
|
|
573
825
|
]);
|
|
574
826
|
|
|
827
|
+
// Origin: TableFunctionProjectionRequest
|
|
828
|
+
export const TableFunctionProjectionRequestSchema = schema([
|
|
829
|
+
field("bind_call", binary(), false),
|
|
830
|
+
field("bind_result", binary(), false),
|
|
831
|
+
field("expressions", list(field("item", largeBinary(), true)), false),
|
|
832
|
+
field("result_schema", binary(), false),
|
|
833
|
+
]);
|
|
834
|
+
|
|
575
835
|
// Origin: TableFunctionStatisticsRequest
|
|
576
836
|
export const TableFunctionStatisticsRequestSchema = schema([
|
|
577
837
|
field("bind_call", binary(), false),
|
|
@@ -634,6 +894,8 @@ export const BindResultSchema = schema([
|
|
|
634
894
|
field("lookup_secret_types", list(field("item", utf8(), true)), false),
|
|
635
895
|
field("lookup_scopes", list(field("item", utf8(), true)), false),
|
|
636
896
|
field("lookup_names", list(field("item", utf8(), true)), false),
|
|
897
|
+
field("projection_expression_profiles", list(field("item", utf8(), true)), false),
|
|
898
|
+
field("repeatability", dictionary(utf8(), int16()), false),
|
|
637
899
|
]);
|
|
638
900
|
|
|
639
901
|
// Origin: method 'catalog_attach' result
|
|
@@ -644,7 +906,7 @@ export const CatalogAttachResultSchema = schema([
|
|
|
644
906
|
field("catalog_version_frozen", bool(), false),
|
|
645
907
|
field("catalog_version", int64(), false),
|
|
646
908
|
field("attach_opaque_data_required", bool(), false),
|
|
647
|
-
field("default_schema", utf8(),
|
|
909
|
+
field("default_schema", utf8(), true),
|
|
648
910
|
field("settings", list(field("item", binary(), true)), false),
|
|
649
911
|
field("secret_types", list(field("item", binary(), true)), false),
|
|
650
912
|
field("attach_catalogs", list(field("item", binary(), true)), false),
|
|
@@ -656,6 +918,9 @@ export const CatalogAttachResultSchema = schema([
|
|
|
656
918
|
field("resolved_data_version", utf8(), true),
|
|
657
919
|
field("resolved_implementation_version", utf8(), true),
|
|
658
920
|
field("supports_catalog_contents", bool(), false),
|
|
921
|
+
field("catalog_capabilities", binary(), true),
|
|
922
|
+
field("selected_capabilities", binary(), true),
|
|
923
|
+
field("query_pushdown", struct([field("encoding", utf8(), false), field("semantic_profiles", list(field("item", utf8(), true)), false), field("execution_modes", list(field("item", utf8(), true)), false), field("backend_engine", utf8(), false), field("backend_version", utf8(), false), field("capability_revision", utf8(), false), field("default_evaluation_context", struct([field("timezone", utf8(), false), field("collation", utf8(), false), field("default_order", utf8(), false), field("default_null_order", utf8(), false), field("preserve_insertion_order", bool(), false)]), false), field("max_query_bytes", int64(), false)]), true),
|
|
659
924
|
]);
|
|
660
925
|
|
|
661
926
|
// Origin: method 'catalog_catalogs' result
|
|
@@ -681,11 +946,26 @@ export const CatalogCopyFromFormatsResultSchema = schema([
|
|
|
681
946
|
field("items", list(field("item", binary(), true)), false),
|
|
682
947
|
]);
|
|
683
948
|
|
|
949
|
+
// Origin: method 'catalog_dependencies' result
|
|
950
|
+
export const CatalogDependenciesResultSchema = schema([
|
|
951
|
+
field("catalog_version", int64(), false),
|
|
952
|
+
field("objects", list(field("item", binary(), true)), false),
|
|
953
|
+
field("dependencies", list(field("item", binary(), true)), false),
|
|
954
|
+
]);
|
|
955
|
+
|
|
684
956
|
// Origin: method 'catalog_index_get' result
|
|
685
957
|
export const CatalogIndexGetResultSchema = schema([
|
|
686
958
|
field("items", list(field("item", binary(), true)), false),
|
|
687
959
|
]);
|
|
688
960
|
|
|
961
|
+
// Origin: method 'catalog_index_option_definitions' result
|
|
962
|
+
export const CatalogIndexOptionDefinitionsResultSchema = schema([
|
|
963
|
+
field("schema", binary(), false),
|
|
964
|
+
field("defaults", binary(), false),
|
|
965
|
+
field("create_names", list(field("item", utf8(), true)), false),
|
|
966
|
+
field("alter_names", list(field("item", utf8(), true)), false),
|
|
967
|
+
]);
|
|
968
|
+
|
|
689
969
|
// Origin: method 'catalog_macro_get' result
|
|
690
970
|
export const CatalogMacroGetResultSchema = schema([
|
|
691
971
|
field("items", list(field("item", binary(), true)), false),
|
|
@@ -721,16 +1001,39 @@ export const CatalogSchemaGetResultSchema = schema([
|
|
|
721
1001
|
field("items", list(field("item", binary(), true)), false),
|
|
722
1002
|
]);
|
|
723
1003
|
|
|
1004
|
+
// Origin: method 'catalog_schema_option_definitions' result
|
|
1005
|
+
export const CatalogSchemaOptionDefinitionsResultSchema = schema([
|
|
1006
|
+
field("schema", binary(), false),
|
|
1007
|
+
field("defaults", binary(), false),
|
|
1008
|
+
field("create_names", list(field("item", utf8(), true)), false),
|
|
1009
|
+
field("alter_names", list(field("item", utf8(), true)), false),
|
|
1010
|
+
]);
|
|
1011
|
+
|
|
724
1012
|
// Origin: method 'catalog_schemas' result
|
|
725
1013
|
export const CatalogSchemasResultSchema = schema([
|
|
726
1014
|
field("items", list(field("item", binary(), true)), false),
|
|
727
1015
|
]);
|
|
728
1016
|
|
|
1017
|
+
// Origin: method 'catalog_table_constraints_apply' result
|
|
1018
|
+
export const CatalogTableConstraintsApplyResultSchema = schema([
|
|
1019
|
+
field("table", binary(), false),
|
|
1020
|
+
field("definition_revision", binary(), false),
|
|
1021
|
+
field("constraints", list(field("item", binary(), true)), false),
|
|
1022
|
+
]);
|
|
1023
|
+
|
|
729
1024
|
// Origin: method 'catalog_table_get' result
|
|
730
1025
|
export const CatalogTableGetResultSchema = schema([
|
|
731
1026
|
field("items", list(field("item", binary(), true)), false),
|
|
732
1027
|
]);
|
|
733
1028
|
|
|
1029
|
+
// Origin: method 'catalog_table_option_definitions' result
|
|
1030
|
+
export const CatalogTableOptionDefinitionsResultSchema = schema([
|
|
1031
|
+
field("schema", binary(), false),
|
|
1032
|
+
field("defaults", binary(), false),
|
|
1033
|
+
field("create_names", list(field("item", utf8(), true)), false),
|
|
1034
|
+
field("alter_names", list(field("item", utf8(), true)), false),
|
|
1035
|
+
]);
|
|
1036
|
+
|
|
734
1037
|
// Origin: method 'catalog_transaction_begin' result
|
|
735
1038
|
export const CatalogTransactionBeginResultSchema = schema([
|
|
736
1039
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -791,6 +1094,12 @@ export const TableFunctionPlanResultSchema = schema([
|
|
|
791
1094
|
field("end_position", binary(), true),
|
|
792
1095
|
]);
|
|
793
1096
|
|
|
1097
|
+
// Origin: method 'table_function_projection' result
|
|
1098
|
+
export const TableFunctionProjectionResultSchema = schema([
|
|
1099
|
+
field("accepted_indices", list(field("item", int64(), true)), false),
|
|
1100
|
+
field("bind_result", binary(), true),
|
|
1101
|
+
]);
|
|
1102
|
+
|
|
794
1103
|
// Origin: method 'aggregate_bind' params
|
|
795
1104
|
export const AggregateBindParamsSchema = schema([
|
|
796
1105
|
field("request", binary(), false),
|
|
@@ -881,6 +1190,12 @@ export const CatalogCreateParamsSchema = schema([
|
|
|
881
1190
|
field("request", binary(), false),
|
|
882
1191
|
]);
|
|
883
1192
|
|
|
1193
|
+
// Origin: method 'catalog_dependencies' params
|
|
1194
|
+
export const CatalogDependenciesParamsSchema = schema([
|
|
1195
|
+
field("attach_opaque_data", binary(), false),
|
|
1196
|
+
field("transaction_opaque_data", binary(), true),
|
|
1197
|
+
]);
|
|
1198
|
+
|
|
884
1199
|
// Origin: method 'catalog_detach' params
|
|
885
1200
|
export const CatalogDetachParamsSchema = schema([
|
|
886
1201
|
field("attach_opaque_data", binary(), false),
|
|
@@ -914,6 +1229,14 @@ export const CatalogIndexGetParamsSchema = schema([
|
|
|
914
1229
|
field("transaction_opaque_data", binary(), true),
|
|
915
1230
|
]);
|
|
916
1231
|
|
|
1232
|
+
// Origin: method 'catalog_index_option_definitions' params
|
|
1233
|
+
export const CatalogIndexOptionDefinitionsParamsSchema = schema([
|
|
1234
|
+
field("attach_opaque_data", binary(), false),
|
|
1235
|
+
field("table", binary(), false),
|
|
1236
|
+
field("algorithm", utf8(), false),
|
|
1237
|
+
field("transaction_opaque_data", binary(), true),
|
|
1238
|
+
]);
|
|
1239
|
+
|
|
917
1240
|
// Origin: method 'catalog_macro_create' params
|
|
918
1241
|
export const CatalogMacroCreateParamsSchema = schema([
|
|
919
1242
|
field("request", binary(), false),
|
|
@@ -936,6 +1259,35 @@ export const CatalogMacroGetParamsSchema = schema([
|
|
|
936
1259
|
field("transaction_opaque_data", binary(), true),
|
|
937
1260
|
]);
|
|
938
1261
|
|
|
1262
|
+
// Origin: method 'catalog_query_prepare' params
|
|
1263
|
+
export const CatalogQueryPrepareParamsSchema = schema([
|
|
1264
|
+
field("request", binary(), false),
|
|
1265
|
+
]);
|
|
1266
|
+
|
|
1267
|
+
// Origin: method 'catalog_query_release' params
|
|
1268
|
+
export const CatalogQueryReleaseParamsSchema = schema([
|
|
1269
|
+
field("attach_opaque_data", binary(), false),
|
|
1270
|
+
field("prepared_query_token", binary(), false),
|
|
1271
|
+
field("transaction_opaque_data", binary(), true),
|
|
1272
|
+
]);
|
|
1273
|
+
|
|
1274
|
+
// Origin: method 'catalog_schema_alter_metadata' params
|
|
1275
|
+
export const CatalogSchemaAlterMetadataParamsSchema = schema([
|
|
1276
|
+
field("attach_opaque_data", binary(), false),
|
|
1277
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
1278
|
+
field("changes", binary(), false),
|
|
1279
|
+
field("ignore_not_found", bool(), false),
|
|
1280
|
+
field("transaction_opaque_data", binary(), true),
|
|
1281
|
+
]);
|
|
1282
|
+
|
|
1283
|
+
// Origin: method 'catalog_schema_alter_options' params
|
|
1284
|
+
export const CatalogSchemaAlterOptionsParamsSchema = schema([
|
|
1285
|
+
field("attach_opaque_data", binary(), false),
|
|
1286
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
1287
|
+
field("changes", binary(), false),
|
|
1288
|
+
field("transaction_opaque_data", binary(), true),
|
|
1289
|
+
]);
|
|
1290
|
+
|
|
939
1291
|
// Origin: method 'catalog_schema_contents_functions' params
|
|
940
1292
|
export const CatalogSchemaContentsFunctionsParamsSchema = schema([
|
|
941
1293
|
field("attach_opaque_data", binary(), false),
|
|
@@ -981,6 +1333,7 @@ export const CatalogSchemaCreateParamsSchema = schema([
|
|
|
981
1333
|
field("comment", utf8(), true),
|
|
982
1334
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
983
1335
|
field("transaction_opaque_data", binary(), true),
|
|
1336
|
+
field("options", binary(), true),
|
|
984
1337
|
]);
|
|
985
1338
|
|
|
986
1339
|
// Origin: method 'catalog_schema_drop' params
|
|
@@ -999,17 +1352,43 @@ export const CatalogSchemaGetParamsSchema = schema([
|
|
|
999
1352
|
field("transaction_opaque_data", binary(), true),
|
|
1000
1353
|
]);
|
|
1001
1354
|
|
|
1355
|
+
// Origin: method 'catalog_schema_option_definitions' params
|
|
1356
|
+
export const CatalogSchemaOptionDefinitionsParamsSchema = schema([
|
|
1357
|
+
field("attach_opaque_data", binary(), false),
|
|
1358
|
+
field("path", list(field("item", utf8(), true)), false),
|
|
1359
|
+
field("transaction_opaque_data", binary(), true),
|
|
1360
|
+
]);
|
|
1361
|
+
|
|
1002
1362
|
// Origin: method 'catalog_schemas' params
|
|
1003
1363
|
export const CatalogSchemasParamsSchema = schema([
|
|
1004
1364
|
field("attach_opaque_data", binary(), false),
|
|
1005
1365
|
field("transaction_opaque_data", binary(), true),
|
|
1006
1366
|
]);
|
|
1007
1367
|
|
|
1368
|
+
// Origin: method 'catalog_table_alter_layout' params
|
|
1369
|
+
export const CatalogTableAlterLayoutParamsSchema = schema([
|
|
1370
|
+
field("attach_opaque_data", binary(), false),
|
|
1371
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1372
|
+
field("name", utf8(), false),
|
|
1373
|
+
field("changes", binary(), false),
|
|
1374
|
+
field("transaction_opaque_data", binary(), true),
|
|
1375
|
+
]);
|
|
1376
|
+
|
|
1377
|
+
// Origin: method 'catalog_table_alter_options' params
|
|
1378
|
+
export const CatalogTableAlterOptionsParamsSchema = schema([
|
|
1379
|
+
field("attach_opaque_data", binary(), false),
|
|
1380
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1381
|
+
field("name", utf8(), false),
|
|
1382
|
+
field("changes", binary(), false),
|
|
1383
|
+
field("transaction_opaque_data", binary(), true),
|
|
1384
|
+
]);
|
|
1385
|
+
|
|
1008
1386
|
// Origin: method 'catalog_table_column_add' params
|
|
1009
1387
|
export const CatalogTableColumnAddParamsSchema = schema([
|
|
1010
1388
|
field("attach_opaque_data", binary(), false),
|
|
1011
1389
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1012
1390
|
field("name", utf8(), false),
|
|
1391
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1013
1392
|
field("column_definition", binary(), false),
|
|
1014
1393
|
field("ignore_not_found", bool(), false),
|
|
1015
1394
|
field("if_column_not_exists", bool(), false),
|
|
@@ -1021,7 +1400,7 @@ export const CatalogTableColumnCommentSetParamsSchema = schema([
|
|
|
1021
1400
|
field("attach_opaque_data", binary(), false),
|
|
1022
1401
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1023
1402
|
field("name", utf8(), false),
|
|
1024
|
-
field("
|
|
1403
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1025
1404
|
field("comment", utf8(), true),
|
|
1026
1405
|
field("ignore_not_found", bool(), false),
|
|
1027
1406
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -1032,7 +1411,7 @@ export const CatalogTableColumnDefaultDropParamsSchema = schema([
|
|
|
1032
1411
|
field("attach_opaque_data", binary(), false),
|
|
1033
1412
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1034
1413
|
field("name", utf8(), false),
|
|
1035
|
-
field("
|
|
1414
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1036
1415
|
field("ignore_not_found", bool(), false),
|
|
1037
1416
|
field("transaction_opaque_data", binary(), true),
|
|
1038
1417
|
]);
|
|
@@ -1042,8 +1421,8 @@ export const CatalogTableColumnDefaultSetParamsSchema = schema([
|
|
|
1042
1421
|
field("attach_opaque_data", binary(), false),
|
|
1043
1422
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1044
1423
|
field("name", utf8(), false),
|
|
1045
|
-
field("
|
|
1046
|
-
field("expression",
|
|
1424
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1425
|
+
field("expression", binary(), false),
|
|
1047
1426
|
field("ignore_not_found", bool(), false),
|
|
1048
1427
|
field("transaction_opaque_data", binary(), true),
|
|
1049
1428
|
]);
|
|
@@ -1053,7 +1432,7 @@ export const CatalogTableColumnDropParamsSchema = schema([
|
|
|
1053
1432
|
field("attach_opaque_data", binary(), false),
|
|
1054
1433
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1055
1434
|
field("name", utf8(), false),
|
|
1056
|
-
field("
|
|
1435
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1057
1436
|
field("ignore_not_found", bool(), false),
|
|
1058
1437
|
field("if_column_exists", bool(), false),
|
|
1059
1438
|
field("cascade", bool(), false),
|
|
@@ -1065,7 +1444,7 @@ export const CatalogTableColumnRenameParamsSchema = schema([
|
|
|
1065
1444
|
field("attach_opaque_data", binary(), false),
|
|
1066
1445
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1067
1446
|
field("name", utf8(), false),
|
|
1068
|
-
field("
|
|
1447
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1069
1448
|
field("new_column_name", utf8(), false),
|
|
1070
1449
|
field("ignore_not_found", bool(), false),
|
|
1071
1450
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -1084,8 +1463,9 @@ export const CatalogTableColumnTypeChangeParamsSchema = schema([
|
|
|
1084
1463
|
field("attach_opaque_data", binary(), false),
|
|
1085
1464
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1086
1465
|
field("name", utf8(), false),
|
|
1466
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1087
1467
|
field("column_definition", binary(), false),
|
|
1088
|
-
field("expression",
|
|
1468
|
+
field("expression", binary(), true),
|
|
1089
1469
|
field("ignore_not_found", bool(), false),
|
|
1090
1470
|
field("transaction_opaque_data", binary(), true),
|
|
1091
1471
|
]);
|
|
@@ -1100,6 +1480,11 @@ export const CatalogTableCommentSetParamsSchema = schema([
|
|
|
1100
1480
|
field("transaction_opaque_data", binary(), true),
|
|
1101
1481
|
]);
|
|
1102
1482
|
|
|
1483
|
+
// Origin: method 'catalog_table_constraints_apply' params
|
|
1484
|
+
export const CatalogTableConstraintsApplyParamsSchema = schema([
|
|
1485
|
+
field("request", binary(), false),
|
|
1486
|
+
]);
|
|
1487
|
+
|
|
1103
1488
|
// Origin: method 'catalog_table_create' params
|
|
1104
1489
|
export const CatalogTableCreateParamsSchema = schema([
|
|
1105
1490
|
field("request", binary(), false),
|
|
@@ -1147,7 +1532,7 @@ export const CatalogTableNotNullDropParamsSchema = schema([
|
|
|
1147
1532
|
field("attach_opaque_data", binary(), false),
|
|
1148
1533
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1149
1534
|
field("name", utf8(), false),
|
|
1150
|
-
field("
|
|
1535
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1151
1536
|
field("ignore_not_found", bool(), false),
|
|
1152
1537
|
field("transaction_opaque_data", binary(), true),
|
|
1153
1538
|
]);
|
|
@@ -1157,11 +1542,19 @@ export const CatalogTableNotNullSetParamsSchema = schema([
|
|
|
1157
1542
|
field("attach_opaque_data", binary(), false),
|
|
1158
1543
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1159
1544
|
field("name", utf8(), false),
|
|
1160
|
-
field("
|
|
1545
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1161
1546
|
field("ignore_not_found", bool(), false),
|
|
1162
1547
|
field("transaction_opaque_data", binary(), true),
|
|
1163
1548
|
]);
|
|
1164
1549
|
|
|
1550
|
+
// Origin: method 'catalog_table_option_definitions' params
|
|
1551
|
+
export const CatalogTableOptionDefinitionsParamsSchema = schema([
|
|
1552
|
+
field("attach_opaque_data", binary(), false),
|
|
1553
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1554
|
+
field("name", utf8(), false),
|
|
1555
|
+
field("transaction_opaque_data", binary(), true),
|
|
1556
|
+
]);
|
|
1557
|
+
|
|
1165
1558
|
// Origin: method 'catalog_table_rename' params
|
|
1166
1559
|
export const CatalogTableRenameParamsSchema = schema([
|
|
1167
1560
|
field("attach_opaque_data", binary(), false),
|
|
@@ -1223,6 +1616,17 @@ export const CatalogVersionParamsSchema = schema([
|
|
|
1223
1616
|
field("transaction_opaque_data", binary(), true),
|
|
1224
1617
|
]);
|
|
1225
1618
|
|
|
1619
|
+
// Origin: method 'catalog_view_column_comment_set' params
|
|
1620
|
+
export const CatalogViewColumnCommentSetParamsSchema = schema([
|
|
1621
|
+
field("attach_opaque_data", binary(), false),
|
|
1622
|
+
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1623
|
+
field("name", utf8(), false),
|
|
1624
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1625
|
+
field("comment", utf8(), true),
|
|
1626
|
+
field("ignore_not_found", bool(), false),
|
|
1627
|
+
field("transaction_opaque_data", binary(), true),
|
|
1628
|
+
]);
|
|
1629
|
+
|
|
1226
1630
|
// Origin: method 'catalog_view_comment_set' params
|
|
1227
1631
|
export const CatalogViewCommentSetParamsSchema = schema([
|
|
1228
1632
|
field("attach_opaque_data", binary(), false),
|
|
@@ -1241,6 +1645,11 @@ export const CatalogViewCreateParamsSchema = schema([
|
|
|
1241
1645
|
field("definition", utf8(), false),
|
|
1242
1646
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
1243
1647
|
field("transaction_opaque_data", binary(), true),
|
|
1648
|
+
field("aliases", list(field("item", utf8(), true)), true),
|
|
1649
|
+
field("security", utf8(), false),
|
|
1650
|
+
field("comment", utf8(), true),
|
|
1651
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
1652
|
+
field("column_comments", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
1244
1653
|
]);
|
|
1245
1654
|
|
|
1246
1655
|
// Origin: method 'catalog_view_drop' params
|
|
@@ -1306,6 +1715,11 @@ export const TableFunctionPlanParamsSchema = schema([
|
|
|
1306
1715
|
field("request", binary(), false),
|
|
1307
1716
|
]);
|
|
1308
1717
|
|
|
1718
|
+
// Origin: method 'table_function_projection' params
|
|
1719
|
+
export const TableFunctionProjectionParamsSchema = schema([
|
|
1720
|
+
field("request", binary(), false),
|
|
1721
|
+
]);
|
|
1722
|
+
|
|
1309
1723
|
// Origin: method 'table_function_statistics' params
|
|
1310
1724
|
export const TableFunctionStatisticsParamsSchema = schema([
|
|
1311
1725
|
field("request", binary(), false),
|