@query-farm/vgi 0.45.0 → 0.47.0
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 +19 -6
- 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/canonical.d.ts +1 -1
- package/dist/arrow/impl-flechette/index.d.ts +1 -1
- package/dist/arrow/impl-flechette/iterate.d.ts +2 -0
- package/dist/arrow/impl-flechette/schema.d.ts +19 -5
- 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/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 +1 -1
- package/dist/catalog/unconstrained-columns.d.ts +2 -0
- package/dist/client/client.d.ts +38 -14
- package/dist/client-entry.js +806 -115
- package/dist/client-entry.js.map +18 -14
- package/dist/functions/continuation.d.ts +69 -0
- package/dist/functions/projection.d.ts +18 -0
- package/dist/functions/table-in-out.d.ts +51 -7
- package/dist/functions/table.d.ts +6 -1
- package/dist/functions/types.d.ts +21 -0
- package/dist/generated/vgi-client.d.ts +178 -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 +1747 -320
- package/dist/index.js.map +45 -37
- 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 +1607 -436
- package/dist/serve-entry.js.map +33 -27
- package/dist/util/arrow/index.d.ts +1 -1
- package/dist/util/parent-rows.d.ts +8 -0
- package/dist/worker-cf-entry.d.ts +1 -1
- package/dist/worker-cf-entry.js +1901 -526
- package/dist/worker-cf-entry.js.map +45 -37
- package/dist/worker.d.ts +1 -1
- package/package.json +8 -7
- 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/canonical.ts +7 -5
- 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/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 +69 -71
- package/src/catalog/unconstrained-columns.ts +23 -0
- package/src/client/client.ts +180 -69
- package/src/codec/asd.ts +3 -1
- package/src/filter-pushdown/collector.ts +17 -1
- package/src/functions/continuation.ts +202 -0
- package/src/functions/projection.ts +207 -0
- package/src/functions/table-in-out.ts +131 -56
- package/src/functions/table.ts +10 -0
- package/src/functions/types.ts +21 -0
- package/src/generated/vgi-client.ts +200 -37
- package/src/generated/vgi-protocol-schemas.ts +456 -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 +10 -0
- package/src/protocol/dispatch.ts +9 -9
- package/src/protocol/handlers/aggregate.ts +1 -1
- package/src/protocol/handlers/catalog/admin.ts +10 -5
- 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 +79 -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/state-serializer.ts +7 -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/util/parent-rows.ts +41 -0
- package/src/worker-cf-entry.ts +3 -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
|
|
@@ -126,6 +128,7 @@ export const FunctionInfoSchema = schema([
|
|
|
126
128
|
field("sink_order_dependent", bool(), false),
|
|
127
129
|
field("requires_input_batch_index", bool(), false),
|
|
128
130
|
field("input_from_args", bool(), false),
|
|
131
|
+
field("input_rows_per_call", int64(), true),
|
|
129
132
|
field("required_settings", list(field("item", utf8(), true)), false),
|
|
130
133
|
field("required_secrets", list(field("item", struct([field("secret_type", utf8(), false), field("scope", utf8(), true), field("secret_name", utf8(), true)]), true)), false),
|
|
131
134
|
]);
|
|
@@ -137,10 +140,7 @@ export const MacroInfoSchema = schema([
|
|
|
137
140
|
field("name", utf8(), false),
|
|
138
141
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
139
142
|
field("macro_type", dictionary(utf8(), int16()), false),
|
|
140
|
-
field("parameters", list(field("item", utf8(), true)), false),
|
|
141
|
-
field("parameter_default_values", binary(), true),
|
|
142
|
-
field("definition", utf8(), false),
|
|
143
|
-
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),
|
|
144
144
|
]);
|
|
145
145
|
|
|
146
146
|
// Origin: IndexInfo
|
|
@@ -149,11 +149,8 @@ export const IndexInfoSchema = schema([
|
|
|
149
149
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
150
150
|
field("name", utf8(), false),
|
|
151
151
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
152
|
-
field("
|
|
153
|
-
field("
|
|
154
|
-
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
155
|
-
field("expressions", list(field("item", utf8(), true)), false),
|
|
156
|
-
field("options", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
152
|
+
field("definition", binary(), false),
|
|
153
|
+
field("options", binary(), false),
|
|
157
154
|
]);
|
|
158
155
|
|
|
159
156
|
// Origin: CopyFromFormatInfo
|
|
@@ -168,6 +165,267 @@ export const CopyFromFormatInfoSchema = schema([
|
|
|
168
165
|
field("ordered", bool(), false),
|
|
169
166
|
]);
|
|
170
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
|
+
|
|
171
429
|
// Origin: ScanFunctionResult
|
|
172
430
|
export const ScanFunctionResultSchema = schema([
|
|
173
431
|
field("function_name", utf8(), false),
|
|
@@ -416,6 +674,8 @@ export const ClientCapabilitiesSchema = schema([
|
|
|
416
674
|
field("catalogs", list(field("item", utf8(), true)), false),
|
|
417
675
|
field("can_stream", bool(), false),
|
|
418
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),
|
|
419
679
|
]);
|
|
420
680
|
|
|
421
681
|
// Origin: CopyFromContext
|
|
@@ -443,12 +703,8 @@ export const IndexCreateRequestSchema = schema([
|
|
|
443
703
|
field("attach_opaque_data", binary(), false),
|
|
444
704
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
445
705
|
field("name", utf8(), false),
|
|
446
|
-
field("
|
|
447
|
-
field("index_type", utf8(), false),
|
|
448
|
-
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
449
|
-
field("expressions", list(field("item", utf8(), true)), false),
|
|
706
|
+
field("definition", binary(), false),
|
|
450
707
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
451
|
-
field("options", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
452
708
|
field("transaction_opaque_data", binary(), true),
|
|
453
709
|
]);
|
|
454
710
|
|
|
@@ -481,11 +737,8 @@ export const MacroCreateRequestSchema = schema([
|
|
|
481
737
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
482
738
|
field("name", utf8(), false),
|
|
483
739
|
field("macro_type", dictionary(utf8(), int16()), false),
|
|
484
|
-
field("parameters", list(field("item", utf8(), true)), false),
|
|
485
|
-
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),
|
|
486
741
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
487
|
-
field("parameter_default_values", binary(), true),
|
|
488
|
-
field("arguments_schema", binary(), true),
|
|
489
742
|
field("transaction_opaque_data", binary(), true),
|
|
490
743
|
]);
|
|
491
744
|
|
|
@@ -496,12 +749,12 @@ export const TableCreateRequestSchema = schema([
|
|
|
496
749
|
field("name", utf8(), false),
|
|
497
750
|
field("columns", binary(), false),
|
|
498
751
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
499
|
-
field("
|
|
500
|
-
field("unique_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
501
|
-
field("check_constraints", list(field("item", utf8(), true)), false),
|
|
502
|
-
field("primary_key_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
503
|
-
field("foreign_key_constraints", list(field("item", binary(), true)), false),
|
|
752
|
+
field("constraint_definitions", list(field("item", binary(), true)), false),
|
|
504
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),
|
|
505
758
|
]);
|
|
506
759
|
|
|
507
760
|
// Origin: TableBufferingCombineRequest
|
|
@@ -571,6 +824,14 @@ export const TableFunctionPlanRequestSchema = schema([
|
|
|
571
824
|
field("tablesample_seed", int64(), true),
|
|
572
825
|
]);
|
|
573
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
|
+
|
|
574
835
|
// Origin: TableFunctionStatisticsRequest
|
|
575
836
|
export const TableFunctionStatisticsRequestSchema = schema([
|
|
576
837
|
field("bind_call", binary(), false),
|
|
@@ -633,6 +894,8 @@ export const BindResultSchema = schema([
|
|
|
633
894
|
field("lookup_secret_types", list(field("item", utf8(), true)), false),
|
|
634
895
|
field("lookup_scopes", list(field("item", utf8(), true)), false),
|
|
635
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),
|
|
636
899
|
]);
|
|
637
900
|
|
|
638
901
|
// Origin: method 'catalog_attach' result
|
|
@@ -643,7 +906,7 @@ export const CatalogAttachResultSchema = schema([
|
|
|
643
906
|
field("catalog_version_frozen", bool(), false),
|
|
644
907
|
field("catalog_version", int64(), false),
|
|
645
908
|
field("attach_opaque_data_required", bool(), false),
|
|
646
|
-
field("default_schema", utf8(),
|
|
909
|
+
field("default_schema", utf8(), true),
|
|
647
910
|
field("settings", list(field("item", binary(), true)), false),
|
|
648
911
|
field("secret_types", list(field("item", binary(), true)), false),
|
|
649
912
|
field("attach_catalogs", list(field("item", binary(), true)), false),
|
|
@@ -655,6 +918,9 @@ export const CatalogAttachResultSchema = schema([
|
|
|
655
918
|
field("resolved_data_version", utf8(), true),
|
|
656
919
|
field("resolved_implementation_version", utf8(), true),
|
|
657
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),
|
|
658
924
|
]);
|
|
659
925
|
|
|
660
926
|
// Origin: method 'catalog_catalogs' result
|
|
@@ -680,11 +946,26 @@ export const CatalogCopyFromFormatsResultSchema = schema([
|
|
|
680
946
|
field("items", list(field("item", binary(), true)), false),
|
|
681
947
|
]);
|
|
682
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
|
+
|
|
683
956
|
// Origin: method 'catalog_index_get' result
|
|
684
957
|
export const CatalogIndexGetResultSchema = schema([
|
|
685
958
|
field("items", list(field("item", binary(), true)), false),
|
|
686
959
|
]);
|
|
687
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
|
+
|
|
688
969
|
// Origin: method 'catalog_macro_get' result
|
|
689
970
|
export const CatalogMacroGetResultSchema = schema([
|
|
690
971
|
field("items", list(field("item", binary(), true)), false),
|
|
@@ -720,16 +1001,39 @@ export const CatalogSchemaGetResultSchema = schema([
|
|
|
720
1001
|
field("items", list(field("item", binary(), true)), false),
|
|
721
1002
|
]);
|
|
722
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
|
+
|
|
723
1012
|
// Origin: method 'catalog_schemas' result
|
|
724
1013
|
export const CatalogSchemasResultSchema = schema([
|
|
725
1014
|
field("items", list(field("item", binary(), true)), false),
|
|
726
1015
|
]);
|
|
727
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
|
+
|
|
728
1024
|
// Origin: method 'catalog_table_get' result
|
|
729
1025
|
export const CatalogTableGetResultSchema = schema([
|
|
730
1026
|
field("items", list(field("item", binary(), true)), false),
|
|
731
1027
|
]);
|
|
732
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
|
+
|
|
733
1037
|
// Origin: method 'catalog_transaction_begin' result
|
|
734
1038
|
export const CatalogTransactionBeginResultSchema = schema([
|
|
735
1039
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -790,6 +1094,12 @@ export const TableFunctionPlanResultSchema = schema([
|
|
|
790
1094
|
field("end_position", binary(), true),
|
|
791
1095
|
]);
|
|
792
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
|
+
|
|
793
1103
|
// Origin: method 'aggregate_bind' params
|
|
794
1104
|
export const AggregateBindParamsSchema = schema([
|
|
795
1105
|
field("request", binary(), false),
|
|
@@ -880,6 +1190,12 @@ export const CatalogCreateParamsSchema = schema([
|
|
|
880
1190
|
field("request", binary(), false),
|
|
881
1191
|
]);
|
|
882
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
|
+
|
|
883
1199
|
// Origin: method 'catalog_detach' params
|
|
884
1200
|
export const CatalogDetachParamsSchema = schema([
|
|
885
1201
|
field("attach_opaque_data", binary(), false),
|
|
@@ -913,6 +1229,14 @@ export const CatalogIndexGetParamsSchema = schema([
|
|
|
913
1229
|
field("transaction_opaque_data", binary(), true),
|
|
914
1230
|
]);
|
|
915
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
|
+
|
|
916
1240
|
// Origin: method 'catalog_macro_create' params
|
|
917
1241
|
export const CatalogMacroCreateParamsSchema = schema([
|
|
918
1242
|
field("request", binary(), false),
|
|
@@ -935,6 +1259,35 @@ export const CatalogMacroGetParamsSchema = schema([
|
|
|
935
1259
|
field("transaction_opaque_data", binary(), true),
|
|
936
1260
|
]);
|
|
937
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
|
+
|
|
938
1291
|
// Origin: method 'catalog_schema_contents_functions' params
|
|
939
1292
|
export const CatalogSchemaContentsFunctionsParamsSchema = schema([
|
|
940
1293
|
field("attach_opaque_data", binary(), false),
|
|
@@ -980,6 +1333,7 @@ export const CatalogSchemaCreateParamsSchema = schema([
|
|
|
980
1333
|
field("comment", utf8(), true),
|
|
981
1334
|
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
982
1335
|
field("transaction_opaque_data", binary(), true),
|
|
1336
|
+
field("options", binary(), true),
|
|
983
1337
|
]);
|
|
984
1338
|
|
|
985
1339
|
// Origin: method 'catalog_schema_drop' params
|
|
@@ -998,17 +1352,43 @@ export const CatalogSchemaGetParamsSchema = schema([
|
|
|
998
1352
|
field("transaction_opaque_data", binary(), true),
|
|
999
1353
|
]);
|
|
1000
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
|
+
|
|
1001
1362
|
// Origin: method 'catalog_schemas' params
|
|
1002
1363
|
export const CatalogSchemasParamsSchema = schema([
|
|
1003
1364
|
field("attach_opaque_data", binary(), false),
|
|
1004
1365
|
field("transaction_opaque_data", binary(), true),
|
|
1005
1366
|
]);
|
|
1006
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
|
+
|
|
1007
1386
|
// Origin: method 'catalog_table_column_add' params
|
|
1008
1387
|
export const CatalogTableColumnAddParamsSchema = schema([
|
|
1009
1388
|
field("attach_opaque_data", binary(), false),
|
|
1010
1389
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1011
1390
|
field("name", utf8(), false),
|
|
1391
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1012
1392
|
field("column_definition", binary(), false),
|
|
1013
1393
|
field("ignore_not_found", bool(), false),
|
|
1014
1394
|
field("if_column_not_exists", bool(), false),
|
|
@@ -1020,7 +1400,7 @@ export const CatalogTableColumnCommentSetParamsSchema = schema([
|
|
|
1020
1400
|
field("attach_opaque_data", binary(), false),
|
|
1021
1401
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1022
1402
|
field("name", utf8(), false),
|
|
1023
|
-
field("
|
|
1403
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1024
1404
|
field("comment", utf8(), true),
|
|
1025
1405
|
field("ignore_not_found", bool(), false),
|
|
1026
1406
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -1031,7 +1411,7 @@ export const CatalogTableColumnDefaultDropParamsSchema = schema([
|
|
|
1031
1411
|
field("attach_opaque_data", binary(), false),
|
|
1032
1412
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1033
1413
|
field("name", utf8(), false),
|
|
1034
|
-
field("
|
|
1414
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1035
1415
|
field("ignore_not_found", bool(), false),
|
|
1036
1416
|
field("transaction_opaque_data", binary(), true),
|
|
1037
1417
|
]);
|
|
@@ -1041,8 +1421,8 @@ export const CatalogTableColumnDefaultSetParamsSchema = schema([
|
|
|
1041
1421
|
field("attach_opaque_data", binary(), false),
|
|
1042
1422
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1043
1423
|
field("name", utf8(), false),
|
|
1044
|
-
field("
|
|
1045
|
-
field("expression",
|
|
1424
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1425
|
+
field("expression", binary(), false),
|
|
1046
1426
|
field("ignore_not_found", bool(), false),
|
|
1047
1427
|
field("transaction_opaque_data", binary(), true),
|
|
1048
1428
|
]);
|
|
@@ -1052,7 +1432,7 @@ export const CatalogTableColumnDropParamsSchema = schema([
|
|
|
1052
1432
|
field("attach_opaque_data", binary(), false),
|
|
1053
1433
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1054
1434
|
field("name", utf8(), false),
|
|
1055
|
-
field("
|
|
1435
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1056
1436
|
field("ignore_not_found", bool(), false),
|
|
1057
1437
|
field("if_column_exists", bool(), false),
|
|
1058
1438
|
field("cascade", bool(), false),
|
|
@@ -1064,7 +1444,7 @@ export const CatalogTableColumnRenameParamsSchema = schema([
|
|
|
1064
1444
|
field("attach_opaque_data", binary(), false),
|
|
1065
1445
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1066
1446
|
field("name", utf8(), false),
|
|
1067
|
-
field("
|
|
1447
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1068
1448
|
field("new_column_name", utf8(), false),
|
|
1069
1449
|
field("ignore_not_found", bool(), false),
|
|
1070
1450
|
field("transaction_opaque_data", binary(), true),
|
|
@@ -1083,8 +1463,9 @@ export const CatalogTableColumnTypeChangeParamsSchema = schema([
|
|
|
1083
1463
|
field("attach_opaque_data", binary(), false),
|
|
1084
1464
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1085
1465
|
field("name", utf8(), false),
|
|
1466
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1086
1467
|
field("column_definition", binary(), false),
|
|
1087
|
-
field("expression",
|
|
1468
|
+
field("expression", binary(), true),
|
|
1088
1469
|
field("ignore_not_found", bool(), false),
|
|
1089
1470
|
field("transaction_opaque_data", binary(), true),
|
|
1090
1471
|
]);
|
|
@@ -1099,6 +1480,11 @@ export const CatalogTableCommentSetParamsSchema = schema([
|
|
|
1099
1480
|
field("transaction_opaque_data", binary(), true),
|
|
1100
1481
|
]);
|
|
1101
1482
|
|
|
1483
|
+
// Origin: method 'catalog_table_constraints_apply' params
|
|
1484
|
+
export const CatalogTableConstraintsApplyParamsSchema = schema([
|
|
1485
|
+
field("request", binary(), false),
|
|
1486
|
+
]);
|
|
1487
|
+
|
|
1102
1488
|
// Origin: method 'catalog_table_create' params
|
|
1103
1489
|
export const CatalogTableCreateParamsSchema = schema([
|
|
1104
1490
|
field("request", binary(), false),
|
|
@@ -1146,7 +1532,7 @@ export const CatalogTableNotNullDropParamsSchema = schema([
|
|
|
1146
1532
|
field("attach_opaque_data", binary(), false),
|
|
1147
1533
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1148
1534
|
field("name", utf8(), false),
|
|
1149
|
-
field("
|
|
1535
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1150
1536
|
field("ignore_not_found", bool(), false),
|
|
1151
1537
|
field("transaction_opaque_data", binary(), true),
|
|
1152
1538
|
]);
|
|
@@ -1156,11 +1542,19 @@ export const CatalogTableNotNullSetParamsSchema = schema([
|
|
|
1156
1542
|
field("attach_opaque_data", binary(), false),
|
|
1157
1543
|
field("schema_path", list(field("item", utf8(), true)), false),
|
|
1158
1544
|
field("name", utf8(), false),
|
|
1159
|
-
field("
|
|
1545
|
+
field("column_path", list(field("item", utf8(), true)), false),
|
|
1160
1546
|
field("ignore_not_found", bool(), false),
|
|
1161
1547
|
field("transaction_opaque_data", binary(), true),
|
|
1162
1548
|
]);
|
|
1163
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
|
+
|
|
1164
1558
|
// Origin: method 'catalog_table_rename' params
|
|
1165
1559
|
export const CatalogTableRenameParamsSchema = schema([
|
|
1166
1560
|
field("attach_opaque_data", binary(), false),
|
|
@@ -1222,6 +1616,17 @@ export const CatalogVersionParamsSchema = schema([
|
|
|
1222
1616
|
field("transaction_opaque_data", binary(), true),
|
|
1223
1617
|
]);
|
|
1224
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
|
+
|
|
1225
1630
|
// Origin: method 'catalog_view_comment_set' params
|
|
1226
1631
|
export const CatalogViewCommentSetParamsSchema = schema([
|
|
1227
1632
|
field("attach_opaque_data", binary(), false),
|
|
@@ -1240,6 +1645,11 @@ export const CatalogViewCreateParamsSchema = schema([
|
|
|
1240
1645
|
field("definition", utf8(), false),
|
|
1241
1646
|
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
1242
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),
|
|
1243
1653
|
]);
|
|
1244
1654
|
|
|
1245
1655
|
// Origin: method 'catalog_view_drop' params
|
|
@@ -1305,6 +1715,11 @@ export const TableFunctionPlanParamsSchema = schema([
|
|
|
1305
1715
|
field("request", binary(), false),
|
|
1306
1716
|
]);
|
|
1307
1717
|
|
|
1718
|
+
// Origin: method 'table_function_projection' params
|
|
1719
|
+
export const TableFunctionProjectionParamsSchema = schema([
|
|
1720
|
+
field("request", binary(), false),
|
|
1721
|
+
]);
|
|
1722
|
+
|
|
1308
1723
|
// Origin: method 'table_function_statistics' params
|
|
1309
1724
|
export const TableFunctionStatisticsParamsSchema = schema([
|
|
1310
1725
|
field("request", binary(), false),
|