@query-farm/vgi 0.6.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/LICENSE +134 -0
- package/README.md +494 -0
- package/dist/__dbg.test-d.d.ts +1 -0
- package/dist/arguments/argument-spec.d.ts +51 -0
- package/dist/arguments/arguments.d.ts +13 -0
- package/dist/arrow/codec/branded.d.ts +83 -0
- package/dist/arrow/codec/registry.d.ts +29 -0
- package/dist/arrow/codec/repr.d.ts +23 -0
- package/dist/arrow/codec/type-descriptors.d.ts +109 -0
- package/dist/arrow/impl-arrowjs/build.d.ts +19 -0
- package/dist/arrow/impl-arrowjs/canonical.d.ts +15 -0
- package/dist/arrow/impl-arrowjs/empty.d.ts +7 -0
- package/dist/arrow/impl-arrowjs/filter.d.ts +11 -0
- package/dist/arrow/impl-arrowjs/index.d.ts +11 -0
- package/dist/arrow/impl-arrowjs/ipc.d.ts +24 -0
- package/dist/arrow/impl-arrowjs/iterate.d.ts +39 -0
- package/dist/arrow/impl-arrowjs/project.d.ts +10 -0
- package/dist/arrow/impl-arrowjs/schema.d.ts +62 -0
- package/dist/arrow/impl-arrowjs/statistics.d.ts +13 -0
- package/dist/arrow/impl-flechette/build.d.ts +14 -0
- package/dist/arrow/impl-flechette/canonical.d.ts +18 -0
- package/dist/arrow/impl-flechette/empty.d.ts +9 -0
- package/dist/arrow/impl-flechette/filter.d.ts +10 -0
- package/dist/arrow/impl-flechette/index.d.ts +11 -0
- package/dist/arrow/impl-flechette/ipc.d.ts +33 -0
- package/dist/arrow/impl-flechette/iterate.d.ts +29 -0
- package/dist/arrow/impl-flechette/message-meta.d.ts +10 -0
- package/dist/arrow/impl-flechette/normalize-type.d.ts +11 -0
- package/dist/arrow/impl-flechette/project.d.ts +3 -0
- package/dist/arrow/impl-flechette/schema.d.ts +47 -0
- package/dist/arrow/impl-flechette/statistics.d.ts +13 -0
- package/dist/arrow/index.d.ts +11 -0
- package/dist/arrow/predicates.d.ts +47 -0
- package/dist/arrow/repr.test-d.d.ts +52 -0
- package/dist/arrow/schema-types.d.ts +71 -0
- package/dist/arrow/types.d.ts +57 -0
- package/dist/catalog/attach-option.d.ts +33 -0
- package/dist/catalog/attach-options.d.ts +30 -0
- package/dist/catalog/composite.d.ts +33 -0
- package/dist/catalog/descriptors.d.ts +154 -0
- package/dist/catalog/interface.d.ts +239 -0
- package/dist/catalog/read-only.d.ts +33 -0
- package/dist/client/client.d.ts +189 -0
- package/dist/client/errors.d.ts +26 -0
- package/dist/client/helpers.d.ts +12 -0
- package/dist/client/protocol.d.ts +16 -0
- package/dist/client/types.d.ts +125 -0
- package/dist/client-entry.d.ts +11 -0
- package/dist/client-entry.js +48 -0
- package/dist/client-entry.js.map +9 -0
- package/dist/codec/asd.d.ts +25 -0
- package/dist/crypto.d.ts +36 -0
- package/dist/errors.d.ts +24 -0
- package/dist/filter-pushdown/collector.d.ts +32 -0
- package/dist/filter-pushdown/deserialize.d.ts +16 -0
- package/dist/filter-pushdown/evaluate.d.ts +51 -0
- package/dist/filter-pushdown/index.d.ts +4 -0
- package/dist/filter-pushdown/types.d.ts +84 -0
- package/dist/functions/aggregate.d.ts +129 -0
- package/dist/functions/copy-from.d.ts +81 -0
- package/dist/functions/copy-to.d.ts +121 -0
- package/dist/functions/registry.d.ts +16 -0
- package/dist/functions/scalar.d.ts +98 -0
- package/dist/functions/storage-cf-do.d.ts +47 -0
- package/dist/functions/storage.d.ts +86 -0
- package/dist/functions/table-buffering.d.ts +99 -0
- package/dist/functions/table-in-out.d.ts +64 -0
- package/dist/functions/table.d.ts +118 -0
- package/dist/functions/types.d.ts +157 -0
- package/dist/generated/vgi-client.d.ts +466 -0
- package/dist/generated/vgi-protocol-schemas.d.ts +115 -0
- package/dist/index.core.d.ts +42 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10888 -0
- package/dist/index.js.map +85 -0
- package/dist/metadata/resolve.d.ts +3 -0
- package/dist/metadata/serialize.d.ts +12 -0
- package/dist/metadata/types.d.ts +47 -0
- package/dist/protocol/dispatch.d.ts +23 -0
- package/dist/protocol/handlers/aggregate.d.ts +3 -0
- package/dist/protocol/handlers/catalog/admin.d.ts +3 -0
- package/dist/protocol/handlers/catalog/index.d.ts +3 -0
- package/dist/protocol/handlers/catalog/index_methods.d.ts +3 -0
- package/dist/protocol/handlers/catalog/macro.d.ts +3 -0
- package/dist/protocol/handlers/catalog/shared.d.ts +70 -0
- package/dist/protocol/handlers/catalog/table.d.ts +3 -0
- package/dist/protocol/handlers/catalog/view.d.ts +3 -0
- package/dist/protocol/handlers/function.d.ts +8 -0
- package/dist/protocol/handlers/shared.d.ts +31 -0
- package/dist/protocol/handlers/table-buffering.d.ts +3 -0
- package/dist/protocol/serialize.d.ts +4 -0
- package/dist/protocol/serializers/arguments.d.ts +3 -0
- package/dist/protocol/serializers/bind.d.ts +9 -0
- package/dist/protocol/serializers/cardinality.d.ts +7 -0
- package/dist/protocol/serializers/init.d.ts +9 -0
- package/dist/protocol/serializers/shared.d.ts +12 -0
- package/dist/protocol/state-serializer.d.ts +23 -0
- package/dist/protocol/types.d.ts +129 -0
- package/dist/secrets/helpers.d.ts +15 -0
- package/dist/types.d.ts +52 -0
- package/dist/util/arrow/index.d.ts +1 -0
- package/dist/util/bytes.d.ts +2 -0
- package/dist/util/statistics.d.ts +7 -0
- package/dist/worker-cf-entry.d.ts +30 -0
- package/dist/worker-cf-entry.js +8767 -0
- package/dist/worker-cf-entry.js.map +74 -0
- package/dist/worker.d.ts +36 -0
- package/package.json +96 -0
- package/src/arguments/argument-spec.ts +200 -0
- package/src/arguments/arguments.ts +81 -0
- package/src/arrow/codec/branded.ts +206 -0
- package/src/arrow/codec/registry.ts +674 -0
- package/src/arrow/codec/repr.ts +181 -0
- package/src/arrow/codec/type-descriptors.ts +137 -0
- package/src/arrow/impl-arrowjs/build.ts +88 -0
- package/src/arrow/impl-arrowjs/canonical.ts +509 -0
- package/src/arrow/impl-arrowjs/empty.ts +72 -0
- package/src/arrow/impl-arrowjs/filter.ts +53 -0
- package/src/arrow/impl-arrowjs/index.ts +54 -0
- package/src/arrow/impl-arrowjs/ipc.ts +67 -0
- package/src/arrow/impl-arrowjs/iterate.ts +159 -0
- package/src/arrow/impl-arrowjs/project.ts +73 -0
- package/src/arrow/impl-arrowjs/schema.ts +256 -0
- package/src/arrow/impl-arrowjs/statistics.ts +185 -0
- package/src/arrow/impl-flechette/build.ts +65 -0
- package/src/arrow/impl-flechette/canonical.ts +289 -0
- package/src/arrow/impl-flechette/empty.ts +20 -0
- package/src/arrow/impl-flechette/filter.ts +42 -0
- package/src/arrow/impl-flechette/index.ts +54 -0
- package/src/arrow/impl-flechette/ipc.ts +110 -0
- package/src/arrow/impl-flechette/iterate.ts +121 -0
- package/src/arrow/impl-flechette/message-meta.ts +175 -0
- package/src/arrow/impl-flechette/normalize-type.ts +99 -0
- package/src/arrow/impl-flechette/project.ts +64 -0
- package/src/arrow/impl-flechette/schema.ts +202 -0
- package/src/arrow/impl-flechette/statistics.ts +198 -0
- package/src/arrow/index.ts +129 -0
- package/src/arrow/predicates.ts +66 -0
- package/src/arrow/repr.test-d.ts +189 -0
- package/src/arrow/schema-types.ts +213 -0
- package/src/arrow/types.ts +74 -0
- package/src/catalog/attach-option.ts +107 -0
- package/src/catalog/attach-options.ts +79 -0
- package/src/catalog/composite.ts +180 -0
- package/src/catalog/descriptors.ts +164 -0
- package/src/catalog/interface.ts +721 -0
- package/src/catalog/read-only.ts +909 -0
- package/src/client/client.ts +1348 -0
- package/src/client/errors.ts +69 -0
- package/src/client/helpers.ts +56 -0
- package/src/client/protocol.ts +33 -0
- package/src/client/types.ts +140 -0
- package/src/client-entry.ts +112 -0
- package/src/codec/asd.ts +147 -0
- package/src/crypto.ts +143 -0
- package/src/errors.ts +61 -0
- package/src/filter-pushdown/collector.ts +147 -0
- package/src/filter-pushdown/deserialize.ts +253 -0
- package/src/filter-pushdown/evaluate.ts +591 -0
- package/src/filter-pushdown/index.ts +28 -0
- package/src/filter-pushdown/types.ts +91 -0
- package/src/functions/aggregate.ts +384 -0
- package/src/functions/copy-from.ts +282 -0
- package/src/functions/copy-to.ts +319 -0
- package/src/functions/registry.ts +258 -0
- package/src/functions/scalar.ts +356 -0
- package/src/functions/storage-cf-do.ts +303 -0
- package/src/functions/storage.ts +521 -0
- package/src/functions/table-buffering.ts +562 -0
- package/src/functions/table-in-out.ts +373 -0
- package/src/functions/table.ts +521 -0
- package/src/functions/types.ts +192 -0
- package/src/generated/vgi-client.ts +560 -0
- package/src/generated/vgi-protocol-schemas.ts +864 -0
- package/src/index.core.ts +267 -0
- package/src/index.ts +11 -0
- package/src/metadata/resolve.ts +109 -0
- package/src/metadata/serialize.ts +242 -0
- package/src/metadata/types.ts +60 -0
- package/src/protocol/dispatch.ts +52 -0
- package/src/protocol/handlers/aggregate.ts +355 -0
- package/src/protocol/handlers/catalog/admin.ts +368 -0
- package/src/protocol/handlers/catalog/index.ts +25 -0
- package/src/protocol/handlers/catalog/index_methods.ts +65 -0
- package/src/protocol/handlers/catalog/macro.ts +114 -0
- package/src/protocol/handlers/catalog/shared.ts +291 -0
- package/src/protocol/handlers/catalog/table.ts +401 -0
- package/src/protocol/handlers/catalog/view.ts +119 -0
- package/src/protocol/handlers/function.ts +302 -0
- package/src/protocol/handlers/shared.ts +80 -0
- package/src/protocol/handlers/table-buffering.ts +207 -0
- package/src/protocol/serialize.ts +23 -0
- package/src/protocol/serializers/arguments.ts +160 -0
- package/src/protocol/serializers/bind.ts +212 -0
- package/src/protocol/serializers/cardinality.ts +45 -0
- package/src/protocol/serializers/init.ts +247 -0
- package/src/protocol/serializers/shared.ts +46 -0
- package/src/protocol/state-serializer.ts +181 -0
- package/src/protocol/types.ts +153 -0
- package/src/secrets/helpers.ts +70 -0
- package/src/types.ts +71 -0
- package/src/util/arrow/index.ts +23 -0
- package/src/util/bytes.ts +14 -0
- package/src/util/statistics.ts +40 -0
- package/src/worker-cf-entry.ts +172 -0
- package/src/worker.ts +212 -0
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// GENERATED by vgi.codegen.ts_schemas. DO NOT EDIT BY HAND.
|
|
3
|
+
//
|
|
4
|
+
// Generator: vgi-gen-ts-schemas v2
|
|
5
|
+
// Content hash: d028e7cb81cd
|
|
6
|
+
//
|
|
7
|
+
// To regenerate:
|
|
8
|
+
// uv run --project ~/Development/vgi-python vgi-gen-ts-schemas \
|
|
9
|
+
// > ~/Development/vgi-typescript/src/generated/vgi-protocol-schemas.ts
|
|
10
|
+
// ============================================================================
|
|
11
|
+
|
|
12
|
+
import {
|
|
13
|
+
TimeUnit,
|
|
14
|
+
binary,
|
|
15
|
+
bool,
|
|
16
|
+
dictionary,
|
|
17
|
+
field,
|
|
18
|
+
int16,
|
|
19
|
+
int32,
|
|
20
|
+
int64,
|
|
21
|
+
list,
|
|
22
|
+
map,
|
|
23
|
+
schema,
|
|
24
|
+
struct,
|
|
25
|
+
timestamp,
|
|
26
|
+
utf8,
|
|
27
|
+
} from "../arrow/index.js";
|
|
28
|
+
|
|
29
|
+
// Origin: CatalogInfo
|
|
30
|
+
export const CatalogInfoSchema = schema([
|
|
31
|
+
field("name", utf8(), false),
|
|
32
|
+
field("implementation_version", utf8(), true),
|
|
33
|
+
field("data_version_spec", utf8(), true),
|
|
34
|
+
field("attach_option_specs", list(field("item", binary(), true)), false),
|
|
35
|
+
field("releases", list(field("item", struct([field("version", utf8(), false), field("released_at", timestamp(TimeUnit.MICROSECOND, "UTC"), false), field("summary", utf8(), false), field("notes_url", utf8(), true)]), true)), false),
|
|
36
|
+
field("source_url", utf8(), true),
|
|
37
|
+
]);
|
|
38
|
+
|
|
39
|
+
// Origin: SchemaInfo
|
|
40
|
+
export const SchemaInfoSchema = schema([
|
|
41
|
+
field("comment", utf8(), true),
|
|
42
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
43
|
+
field("attach_opaque_data", binary(), false),
|
|
44
|
+
field("name", utf8(), false),
|
|
45
|
+
field("estimated_object_count", map(field("key", utf8(), false), field("value", int64(), true), false), true),
|
|
46
|
+
]);
|
|
47
|
+
|
|
48
|
+
// Origin: TableInfo
|
|
49
|
+
export const TableInfoSchema = schema([
|
|
50
|
+
field("comment", utf8(), true),
|
|
51
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
52
|
+
field("name", utf8(), false),
|
|
53
|
+
field("schema_name", utf8(), false),
|
|
54
|
+
field("columns", binary(), false),
|
|
55
|
+
field("not_null_constraints", list(field("item", int32(), true)), false),
|
|
56
|
+
field("unique_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
57
|
+
field("check_constraints", list(field("item", utf8(), true)), false),
|
|
58
|
+
field("primary_key_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
|
|
59
|
+
field("foreign_key_constraints", list(field("item", binary(), true)), false),
|
|
60
|
+
field("supports_insert", bool(), false),
|
|
61
|
+
field("supports_update", bool(), false),
|
|
62
|
+
field("supports_delete", bool(), false),
|
|
63
|
+
field("supports_returning", bool(), false),
|
|
64
|
+
field("supports_column_statistics", bool(), false),
|
|
65
|
+
field("scan_function", binary(), false),
|
|
66
|
+
field("insert_function", binary(), false),
|
|
67
|
+
field("update_function", binary(), false),
|
|
68
|
+
field("delete_function", binary(), false),
|
|
69
|
+
field("cardinality_estimate", int64(), false),
|
|
70
|
+
field("cardinality_max", int64(), false),
|
|
71
|
+
field("column_statistics", binary(), false),
|
|
72
|
+
field("bind_result", binary(), false),
|
|
73
|
+
field("required_field_filter_paths", list(field("item", utf8(), true)), false),
|
|
74
|
+
]);
|
|
75
|
+
|
|
76
|
+
// Origin: ViewInfo
|
|
77
|
+
export const ViewInfoSchema = schema([
|
|
78
|
+
field("comment", utf8(), true),
|
|
79
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
80
|
+
field("name", utf8(), false),
|
|
81
|
+
field("schema_name", utf8(), false),
|
|
82
|
+
field("definition", utf8(), false),
|
|
83
|
+
field("column_comments", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
84
|
+
]);
|
|
85
|
+
|
|
86
|
+
// Origin: FunctionInfo
|
|
87
|
+
export const FunctionInfoSchema = schema([
|
|
88
|
+
field("comment", utf8(), true),
|
|
89
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
90
|
+
field("name", utf8(), false),
|
|
91
|
+
field("schema_name", utf8(), false),
|
|
92
|
+
field("function_type", dictionary(utf8(), int16()), false),
|
|
93
|
+
field("arguments", binary(), false),
|
|
94
|
+
field("output_schema", binary(), false),
|
|
95
|
+
field("stability", dictionary(utf8(), int16()), true),
|
|
96
|
+
field("null_handling", dictionary(utf8(), int16()), true),
|
|
97
|
+
field("description", utf8(), false),
|
|
98
|
+
field("examples", list(field("item", struct([field("sql", utf8(), false), field("description", utf8(), false), field("expected_output", utf8(), true)]), true)), false),
|
|
99
|
+
field("categories", list(field("item", utf8(), true)), false),
|
|
100
|
+
field("projection_pushdown", bool(), true),
|
|
101
|
+
field("filter_pushdown", bool(), true),
|
|
102
|
+
field("sampling_pushdown", bool(), true),
|
|
103
|
+
field("late_materialization", bool(), true),
|
|
104
|
+
field("supported_expression_filters", list(field("item", utf8(), true)), false),
|
|
105
|
+
field("order_preservation", dictionary(utf8(), int16()), true),
|
|
106
|
+
field("max_workers", int32(), false),
|
|
107
|
+
field("supports_batch_index", bool(), false),
|
|
108
|
+
field("partition_kind", dictionary(utf8(), int16()), false),
|
|
109
|
+
field("order_dependent", dictionary(utf8(), int16()), false),
|
|
110
|
+
field("distinct_dependent", dictionary(utf8(), int16()), false),
|
|
111
|
+
field("supports_window", bool(), false),
|
|
112
|
+
field("streaming_partitioned", bool(), false),
|
|
113
|
+
field("has_finalize", bool(), false),
|
|
114
|
+
field("source_order_dependent", bool(), false),
|
|
115
|
+
field("sink_order_dependent", bool(), false),
|
|
116
|
+
field("requires_input_batch_index", bool(), false),
|
|
117
|
+
field("required_settings", list(field("item", utf8(), true)), false),
|
|
118
|
+
field("required_secrets", list(field("item", struct([field("secret_type", utf8(), false), field("scope", utf8(), true), field("secret_name", utf8(), true)]), true)), false),
|
|
119
|
+
]);
|
|
120
|
+
|
|
121
|
+
// Origin: MacroInfo
|
|
122
|
+
export const MacroInfoSchema = schema([
|
|
123
|
+
field("comment", utf8(), true),
|
|
124
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
125
|
+
field("name", utf8(), false),
|
|
126
|
+
field("schema_name", utf8(), false),
|
|
127
|
+
field("macro_type", dictionary(utf8(), int16()), false),
|
|
128
|
+
field("parameters", list(field("item", utf8(), true)), false),
|
|
129
|
+
field("parameter_default_values", binary(), false),
|
|
130
|
+
field("definition", utf8(), false),
|
|
131
|
+
field("arguments_schema", binary(), false),
|
|
132
|
+
]);
|
|
133
|
+
|
|
134
|
+
// Origin: IndexInfo
|
|
135
|
+
export const IndexInfoSchema = schema([
|
|
136
|
+
field("comment", utf8(), true),
|
|
137
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
138
|
+
field("name", utf8(), false),
|
|
139
|
+
field("schema_name", utf8(), false),
|
|
140
|
+
field("table_name", utf8(), false),
|
|
141
|
+
field("index_type", utf8(), false),
|
|
142
|
+
field("constraint_type", dictionary(utf8(), int16()), false),
|
|
143
|
+
field("expressions", list(field("item", utf8(), true)), false),
|
|
144
|
+
field("options", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
145
|
+
]);
|
|
146
|
+
|
|
147
|
+
// Origin: CopyFromFormatInfo
|
|
148
|
+
export const CopyFromFormatInfoSchema = schema([
|
|
149
|
+
field("comment", utf8(), true),
|
|
150
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
151
|
+
field("format_name", utf8(), false),
|
|
152
|
+
field("handler", utf8(), false),
|
|
153
|
+
field("options", binary(), false),
|
|
154
|
+
field("direction", utf8(), false),
|
|
155
|
+
field("description", utf8(), false),
|
|
156
|
+
field("ordered", bool(), false),
|
|
157
|
+
]);
|
|
158
|
+
|
|
159
|
+
// Origin: ScanFunctionResult
|
|
160
|
+
export const ScanFunctionResultSchema = schema([
|
|
161
|
+
field("function_name", utf8(), false),
|
|
162
|
+
field("arguments", binary(), false),
|
|
163
|
+
field("required_extensions", list(field("item", utf8(), true)), false),
|
|
164
|
+
]);
|
|
165
|
+
|
|
166
|
+
// Origin: ScanBranchesResult
|
|
167
|
+
export const ScanBranchesResultSchema = schema([
|
|
168
|
+
field("branches", list(field("item", binary(), true)), false),
|
|
169
|
+
field("required_extensions", list(field("item", utf8(), true)), false),
|
|
170
|
+
]);
|
|
171
|
+
|
|
172
|
+
// Origin: ScanBranch
|
|
173
|
+
export const ScanBranchSchema = schema([
|
|
174
|
+
field("function_name", utf8(), false),
|
|
175
|
+
field("arguments", binary(), false),
|
|
176
|
+
field("branch_filter", utf8(), true),
|
|
177
|
+
field("writable", bool(), false),
|
|
178
|
+
]);
|
|
179
|
+
|
|
180
|
+
// Origin: method 'aggregate_bind' result
|
|
181
|
+
export const AggregateBindResultSchema = schema([
|
|
182
|
+
field("output_schema", binary(), false),
|
|
183
|
+
field("execution_id", binary(), false),
|
|
184
|
+
]);
|
|
185
|
+
|
|
186
|
+
// Origin: method 'aggregate_combine' result
|
|
187
|
+
export const AggregateCombineResultSchema = schema([]);
|
|
188
|
+
|
|
189
|
+
// Origin: method 'aggregate_destructor' result
|
|
190
|
+
export const AggregateDestructorResultSchema = schema([]);
|
|
191
|
+
|
|
192
|
+
// Origin: method 'aggregate_finalize' result
|
|
193
|
+
export const AggregateFinalizeResultSchema = schema([
|
|
194
|
+
field("result_batch", binary(), false),
|
|
195
|
+
]);
|
|
196
|
+
|
|
197
|
+
// Origin: method 'aggregate_streaming_chunk' result
|
|
198
|
+
export const AggregateStreamingChunkResultSchema = schema([
|
|
199
|
+
field("result_batch", binary(), false),
|
|
200
|
+
]);
|
|
201
|
+
|
|
202
|
+
// Origin: method 'aggregate_streaming_close' result
|
|
203
|
+
export const AggregateStreamingCloseResultSchema = schema([]);
|
|
204
|
+
|
|
205
|
+
// Origin: method 'aggregate_streaming_open' result
|
|
206
|
+
export const AggregateStreamingOpenResultSchema = schema([
|
|
207
|
+
field("execution_id", binary(), false),
|
|
208
|
+
]);
|
|
209
|
+
|
|
210
|
+
// Origin: method 'aggregate_update' result
|
|
211
|
+
export const AggregateUpdateResultSchema = schema([]);
|
|
212
|
+
|
|
213
|
+
// Origin: method 'aggregate_window' result
|
|
214
|
+
export const AggregateWindowResultSchema = schema([
|
|
215
|
+
field("result_batch", binary(), false),
|
|
216
|
+
]);
|
|
217
|
+
|
|
218
|
+
// Origin: method 'aggregate_window_batch' result
|
|
219
|
+
export const AggregateWindowBatchResultSchema = schema([
|
|
220
|
+
field("result_batch", binary(), false),
|
|
221
|
+
]);
|
|
222
|
+
|
|
223
|
+
// Origin: method 'aggregate_window_destructor' result
|
|
224
|
+
export const AggregateWindowDestructorResultSchema = schema([]);
|
|
225
|
+
|
|
226
|
+
// Origin: method 'aggregate_window_init' result
|
|
227
|
+
export const AggregateWindowInitResultSchema = schema([]);
|
|
228
|
+
|
|
229
|
+
// Origin: method 'bind' result
|
|
230
|
+
export const BindResultSchema = schema([
|
|
231
|
+
field("output_schema", binary(), false),
|
|
232
|
+
field("opaque_data", binary(), false),
|
|
233
|
+
field("lookup_secret_types", list(field("item", utf8(), true)), false),
|
|
234
|
+
field("lookup_scopes", list(field("item", utf8(), true)), false),
|
|
235
|
+
field("lookup_names", list(field("item", utf8(), true)), false),
|
|
236
|
+
]);
|
|
237
|
+
|
|
238
|
+
// Origin: method 'catalog_attach' result
|
|
239
|
+
export const CatalogAttachResultSchema = schema([
|
|
240
|
+
field("attach_opaque_data", binary(), false),
|
|
241
|
+
field("supports_transactions", bool(), false),
|
|
242
|
+
field("supports_time_travel", bool(), false),
|
|
243
|
+
field("catalog_version_frozen", bool(), false),
|
|
244
|
+
field("catalog_version", int64(), false),
|
|
245
|
+
field("attach_opaque_data_required", bool(), false),
|
|
246
|
+
field("default_schema", utf8(), false),
|
|
247
|
+
field("settings", list(field("item", binary(), true)), false),
|
|
248
|
+
field("secret_types", list(field("item", binary(), true)), false),
|
|
249
|
+
field("comment", utf8(), true),
|
|
250
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
|
|
251
|
+
field("supports_column_statistics", bool(), false),
|
|
252
|
+
field("resolved_data_version", utf8(), true),
|
|
253
|
+
field("resolved_implementation_version", utf8(), true),
|
|
254
|
+
]);
|
|
255
|
+
|
|
256
|
+
// Origin: method 'catalog_catalogs' result
|
|
257
|
+
export const CatalogCatalogsResultSchema = schema([
|
|
258
|
+
field("items", list(field("item", binary(), true)), false),
|
|
259
|
+
]);
|
|
260
|
+
|
|
261
|
+
// Origin: method 'catalog_copy_from_formats' result
|
|
262
|
+
export const CatalogCopyFromFormatsResultSchema = schema([
|
|
263
|
+
field("items", list(field("item", binary(), true)), false),
|
|
264
|
+
]);
|
|
265
|
+
|
|
266
|
+
// Origin: method 'catalog_index_get' result
|
|
267
|
+
export const CatalogIndexGetResultSchema = schema([
|
|
268
|
+
field("items", list(field("item", binary(), true)), false),
|
|
269
|
+
]);
|
|
270
|
+
|
|
271
|
+
// Origin: method 'catalog_macro_get' result
|
|
272
|
+
export const CatalogMacroGetResultSchema = schema([
|
|
273
|
+
field("items", list(field("item", binary(), true)), false),
|
|
274
|
+
]);
|
|
275
|
+
|
|
276
|
+
// Origin: method 'catalog_schema_contents_functions' result
|
|
277
|
+
export const CatalogSchemaContentsFunctionsResultSchema = schema([
|
|
278
|
+
field("items", list(field("item", binary(), true)), false),
|
|
279
|
+
]);
|
|
280
|
+
|
|
281
|
+
// Origin: method 'catalog_schema_contents_indexes' result
|
|
282
|
+
export const CatalogSchemaContentsIndexesResultSchema = schema([
|
|
283
|
+
field("items", list(field("item", binary(), true)), false),
|
|
284
|
+
]);
|
|
285
|
+
|
|
286
|
+
// Origin: method 'catalog_schema_contents_macros' result
|
|
287
|
+
export const CatalogSchemaContentsMacrosResultSchema = schema([
|
|
288
|
+
field("items", list(field("item", binary(), true)), false),
|
|
289
|
+
]);
|
|
290
|
+
|
|
291
|
+
// Origin: method 'catalog_schema_contents_tables' result
|
|
292
|
+
export const CatalogSchemaContentsTablesResultSchema = schema([
|
|
293
|
+
field("items", list(field("item", binary(), true)), false),
|
|
294
|
+
]);
|
|
295
|
+
|
|
296
|
+
// Origin: method 'catalog_schema_contents_views' result
|
|
297
|
+
export const CatalogSchemaContentsViewsResultSchema = schema([
|
|
298
|
+
field("items", list(field("item", binary(), true)), false),
|
|
299
|
+
]);
|
|
300
|
+
|
|
301
|
+
// Origin: method 'catalog_schema_get' result
|
|
302
|
+
export const CatalogSchemaGetResultSchema = schema([
|
|
303
|
+
field("items", list(field("item", binary(), true)), false),
|
|
304
|
+
]);
|
|
305
|
+
|
|
306
|
+
// Origin: method 'catalog_schemas' result
|
|
307
|
+
export const CatalogSchemasResultSchema = schema([
|
|
308
|
+
field("items", list(field("item", binary(), true)), false),
|
|
309
|
+
]);
|
|
310
|
+
|
|
311
|
+
// Origin: method 'catalog_table_get' result
|
|
312
|
+
export const CatalogTableGetResultSchema = schema([
|
|
313
|
+
field("items", list(field("item", binary(), true)), false),
|
|
314
|
+
]);
|
|
315
|
+
|
|
316
|
+
// Origin: method 'catalog_transaction_begin' result
|
|
317
|
+
export const CatalogTransactionBeginResultSchema = schema([
|
|
318
|
+
field("transaction_opaque_data", binary(), true),
|
|
319
|
+
]);
|
|
320
|
+
|
|
321
|
+
// Origin: method 'catalog_version' result
|
|
322
|
+
export const CatalogVersionResultSchema = schema([
|
|
323
|
+
field("version", int64(), false),
|
|
324
|
+
]);
|
|
325
|
+
|
|
326
|
+
// Origin: method 'catalog_view_get' result
|
|
327
|
+
export const CatalogViewGetResultSchema = schema([
|
|
328
|
+
field("items", list(field("item", binary(), true)), false),
|
|
329
|
+
]);
|
|
330
|
+
|
|
331
|
+
// Origin: method 'table_buffering_combine' result
|
|
332
|
+
export const TableBufferingCombineResultSchema = schema([
|
|
333
|
+
field("finalize_state_ids", list(field("item", binary(), true)), false),
|
|
334
|
+
]);
|
|
335
|
+
|
|
336
|
+
// Origin: method 'table_buffering_destructor' result
|
|
337
|
+
export const TableBufferingDestructorResultSchema = schema([]);
|
|
338
|
+
|
|
339
|
+
// Origin: method 'table_buffering_process' result
|
|
340
|
+
export const TableBufferingProcessResultSchema = schema([
|
|
341
|
+
field("state_id", binary(), false),
|
|
342
|
+
]);
|
|
343
|
+
|
|
344
|
+
// Origin: method 'table_function_cardinality' result
|
|
345
|
+
export const TableFunctionCardinalityResultSchema = schema([
|
|
346
|
+
field("estimate", int64(), true),
|
|
347
|
+
field("max", int64(), true),
|
|
348
|
+
]);
|
|
349
|
+
|
|
350
|
+
// Origin: method 'table_function_dynamic_to_string' result
|
|
351
|
+
export const TableFunctionDynamicToStringResultSchema = schema([
|
|
352
|
+
field("keys", list(field("item", utf8(), true)), false),
|
|
353
|
+
field("values", list(field("item", utf8(), true)), false),
|
|
354
|
+
]);
|
|
355
|
+
|
|
356
|
+
// Origin: method 'aggregate_bind' params
|
|
357
|
+
export const AggregateBindParamsSchema = schema([
|
|
358
|
+
field("request", binary(), false),
|
|
359
|
+
]);
|
|
360
|
+
|
|
361
|
+
// Origin: method 'aggregate_combine' params
|
|
362
|
+
export const AggregateCombineParamsSchema = schema([
|
|
363
|
+
field("request", binary(), false),
|
|
364
|
+
]);
|
|
365
|
+
|
|
366
|
+
// Origin: method 'aggregate_destructor' params
|
|
367
|
+
export const AggregateDestructorParamsSchema = schema([
|
|
368
|
+
field("request", binary(), false),
|
|
369
|
+
]);
|
|
370
|
+
|
|
371
|
+
// Origin: method 'aggregate_finalize' params
|
|
372
|
+
export const AggregateFinalizeParamsSchema = schema([
|
|
373
|
+
field("request", binary(), false),
|
|
374
|
+
]);
|
|
375
|
+
|
|
376
|
+
// Origin: method 'aggregate_streaming_chunk' params
|
|
377
|
+
export const AggregateStreamingChunkParamsSchema = schema([
|
|
378
|
+
field("request", binary(), false),
|
|
379
|
+
]);
|
|
380
|
+
|
|
381
|
+
// Origin: method 'aggregate_streaming_close' params
|
|
382
|
+
export const AggregateStreamingCloseParamsSchema = schema([
|
|
383
|
+
field("request", binary(), false),
|
|
384
|
+
]);
|
|
385
|
+
|
|
386
|
+
// Origin: method 'aggregate_streaming_open' params
|
|
387
|
+
export const AggregateStreamingOpenParamsSchema = schema([
|
|
388
|
+
field("request", binary(), false),
|
|
389
|
+
]);
|
|
390
|
+
|
|
391
|
+
// Origin: method 'aggregate_update' params
|
|
392
|
+
export const AggregateUpdateParamsSchema = schema([
|
|
393
|
+
field("request", binary(), false),
|
|
394
|
+
]);
|
|
395
|
+
|
|
396
|
+
// Origin: method 'aggregate_window' params
|
|
397
|
+
export const AggregateWindowParamsSchema = schema([
|
|
398
|
+
field("request", binary(), false),
|
|
399
|
+
]);
|
|
400
|
+
|
|
401
|
+
// Origin: method 'aggregate_window_batch' params
|
|
402
|
+
export const AggregateWindowBatchParamsSchema = schema([
|
|
403
|
+
field("request", binary(), false),
|
|
404
|
+
]);
|
|
405
|
+
|
|
406
|
+
// Origin: method 'aggregate_window_destructor' params
|
|
407
|
+
export const AggregateWindowDestructorParamsSchema = schema([
|
|
408
|
+
field("request", binary(), false),
|
|
409
|
+
]);
|
|
410
|
+
|
|
411
|
+
// Origin: method 'aggregate_window_init' params
|
|
412
|
+
export const AggregateWindowInitParamsSchema = schema([
|
|
413
|
+
field("request", binary(), false),
|
|
414
|
+
]);
|
|
415
|
+
|
|
416
|
+
// Origin: method 'bind' params
|
|
417
|
+
export const BindParamsSchema = schema([
|
|
418
|
+
field("request", binary(), false),
|
|
419
|
+
]);
|
|
420
|
+
|
|
421
|
+
// Origin: method 'catalog_attach' params
|
|
422
|
+
export const CatalogAttachParamsSchema = schema([
|
|
423
|
+
field("request", binary(), false),
|
|
424
|
+
]);
|
|
425
|
+
|
|
426
|
+
// Origin: method 'catalog_catalogs' params
|
|
427
|
+
export const CatalogCatalogsParamsSchema = schema([]);
|
|
428
|
+
|
|
429
|
+
// Origin: method 'catalog_copy_from_formats' params
|
|
430
|
+
export const CatalogCopyFromFormatsParamsSchema = schema([
|
|
431
|
+
field("attach_opaque_data", binary(), false),
|
|
432
|
+
field("transaction_opaque_data", binary(), true),
|
|
433
|
+
]);
|
|
434
|
+
|
|
435
|
+
// Origin: method 'catalog_create' params
|
|
436
|
+
export const CatalogCreateParamsSchema = schema([
|
|
437
|
+
field("request", binary(), false),
|
|
438
|
+
]);
|
|
439
|
+
|
|
440
|
+
// Origin: method 'catalog_detach' params
|
|
441
|
+
export const CatalogDetachParamsSchema = schema([
|
|
442
|
+
field("attach_opaque_data", binary(), false),
|
|
443
|
+
]);
|
|
444
|
+
|
|
445
|
+
// Origin: method 'catalog_drop' params
|
|
446
|
+
export const CatalogDropParamsSchema = schema([
|
|
447
|
+
field("name", utf8(), false),
|
|
448
|
+
]);
|
|
449
|
+
|
|
450
|
+
// Origin: method 'catalog_index_create' params
|
|
451
|
+
export const CatalogIndexCreateParamsSchema = schema([
|
|
452
|
+
field("request", binary(), false),
|
|
453
|
+
]);
|
|
454
|
+
|
|
455
|
+
// Origin: method 'catalog_index_drop' params
|
|
456
|
+
export const CatalogIndexDropParamsSchema = schema([
|
|
457
|
+
field("attach_opaque_data", binary(), false),
|
|
458
|
+
field("schema_name", utf8(), false),
|
|
459
|
+
field("name", utf8(), false),
|
|
460
|
+
field("ignore_not_found", bool(), false),
|
|
461
|
+
field("cascade", bool(), false),
|
|
462
|
+
field("transaction_opaque_data", binary(), true),
|
|
463
|
+
]);
|
|
464
|
+
|
|
465
|
+
// Origin: method 'catalog_index_get' params
|
|
466
|
+
export const CatalogIndexGetParamsSchema = schema([
|
|
467
|
+
field("attach_opaque_data", binary(), false),
|
|
468
|
+
field("schema_name", utf8(), false),
|
|
469
|
+
field("name", utf8(), false),
|
|
470
|
+
field("transaction_opaque_data", binary(), true),
|
|
471
|
+
]);
|
|
472
|
+
|
|
473
|
+
// Origin: method 'catalog_macro_create' params
|
|
474
|
+
export const CatalogMacroCreateParamsSchema = schema([
|
|
475
|
+
field("request", binary(), false),
|
|
476
|
+
]);
|
|
477
|
+
|
|
478
|
+
// Origin: method 'catalog_macro_drop' params
|
|
479
|
+
export const CatalogMacroDropParamsSchema = schema([
|
|
480
|
+
field("attach_opaque_data", binary(), false),
|
|
481
|
+
field("schema_name", utf8(), false),
|
|
482
|
+
field("name", utf8(), false),
|
|
483
|
+
field("ignore_not_found", bool(), false),
|
|
484
|
+
field("transaction_opaque_data", binary(), true),
|
|
485
|
+
]);
|
|
486
|
+
|
|
487
|
+
// Origin: method 'catalog_macro_get' params
|
|
488
|
+
export const CatalogMacroGetParamsSchema = schema([
|
|
489
|
+
field("attach_opaque_data", binary(), false),
|
|
490
|
+
field("schema_name", utf8(), false),
|
|
491
|
+
field("name", utf8(), false),
|
|
492
|
+
field("transaction_opaque_data", binary(), true),
|
|
493
|
+
]);
|
|
494
|
+
|
|
495
|
+
// Origin: method 'catalog_schema_contents_functions' params
|
|
496
|
+
export const CatalogSchemaContentsFunctionsParamsSchema = schema([
|
|
497
|
+
field("attach_opaque_data", binary(), false),
|
|
498
|
+
field("name", utf8(), false),
|
|
499
|
+
field("type", dictionary(utf8(), int16()), false),
|
|
500
|
+
field("transaction_opaque_data", binary(), true),
|
|
501
|
+
]);
|
|
502
|
+
|
|
503
|
+
// Origin: method 'catalog_schema_contents_indexes' params
|
|
504
|
+
export const CatalogSchemaContentsIndexesParamsSchema = schema([
|
|
505
|
+
field("attach_opaque_data", binary(), false),
|
|
506
|
+
field("name", utf8(), false),
|
|
507
|
+
field("transaction_opaque_data", binary(), true),
|
|
508
|
+
]);
|
|
509
|
+
|
|
510
|
+
// Origin: method 'catalog_schema_contents_macros' params
|
|
511
|
+
export const CatalogSchemaContentsMacrosParamsSchema = schema([
|
|
512
|
+
field("attach_opaque_data", binary(), false),
|
|
513
|
+
field("name", utf8(), false),
|
|
514
|
+
field("type", dictionary(utf8(), int16()), false),
|
|
515
|
+
field("transaction_opaque_data", binary(), true),
|
|
516
|
+
]);
|
|
517
|
+
|
|
518
|
+
// Origin: method 'catalog_schema_contents_tables' params
|
|
519
|
+
export const CatalogSchemaContentsTablesParamsSchema = schema([
|
|
520
|
+
field("attach_opaque_data", binary(), false),
|
|
521
|
+
field("name", utf8(), false),
|
|
522
|
+
field("transaction_opaque_data", binary(), true),
|
|
523
|
+
]);
|
|
524
|
+
|
|
525
|
+
// Origin: method 'catalog_schema_contents_views' params
|
|
526
|
+
export const CatalogSchemaContentsViewsParamsSchema = schema([
|
|
527
|
+
field("attach_opaque_data", binary(), false),
|
|
528
|
+
field("name", utf8(), false),
|
|
529
|
+
field("transaction_opaque_data", binary(), true),
|
|
530
|
+
]);
|
|
531
|
+
|
|
532
|
+
// Origin: method 'catalog_schema_create' params
|
|
533
|
+
export const CatalogSchemaCreateParamsSchema = schema([
|
|
534
|
+
field("attach_opaque_data", binary(), false),
|
|
535
|
+
field("name", utf8(), false),
|
|
536
|
+
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
537
|
+
field("comment", utf8(), true),
|
|
538
|
+
field("tags", map(field("key", utf8(), false), field("value", utf8(), true), false), true),
|
|
539
|
+
field("transaction_opaque_data", binary(), true),
|
|
540
|
+
]);
|
|
541
|
+
|
|
542
|
+
// Origin: method 'catalog_schema_drop' params
|
|
543
|
+
export const CatalogSchemaDropParamsSchema = schema([
|
|
544
|
+
field("attach_opaque_data", binary(), false),
|
|
545
|
+
field("name", utf8(), false),
|
|
546
|
+
field("ignore_not_found", bool(), false),
|
|
547
|
+
field("cascade", bool(), false),
|
|
548
|
+
field("transaction_opaque_data", binary(), true),
|
|
549
|
+
]);
|
|
550
|
+
|
|
551
|
+
// Origin: method 'catalog_schema_get' params
|
|
552
|
+
export const CatalogSchemaGetParamsSchema = schema([
|
|
553
|
+
field("attach_opaque_data", binary(), false),
|
|
554
|
+
field("name", utf8(), false),
|
|
555
|
+
field("transaction_opaque_data", binary(), true),
|
|
556
|
+
]);
|
|
557
|
+
|
|
558
|
+
// Origin: method 'catalog_schemas' params
|
|
559
|
+
export const CatalogSchemasParamsSchema = schema([
|
|
560
|
+
field("attach_opaque_data", binary(), false),
|
|
561
|
+
field("transaction_opaque_data", binary(), true),
|
|
562
|
+
]);
|
|
563
|
+
|
|
564
|
+
// Origin: method 'catalog_table_column_add' params
|
|
565
|
+
export const CatalogTableColumnAddParamsSchema = schema([
|
|
566
|
+
field("attach_opaque_data", binary(), false),
|
|
567
|
+
field("schema_name", utf8(), false),
|
|
568
|
+
field("name", utf8(), false),
|
|
569
|
+
field("column_definition", binary(), false),
|
|
570
|
+
field("ignore_not_found", bool(), false),
|
|
571
|
+
field("if_column_not_exists", bool(), false),
|
|
572
|
+
field("transaction_opaque_data", binary(), true),
|
|
573
|
+
]);
|
|
574
|
+
|
|
575
|
+
// Origin: method 'catalog_table_column_comment_set' params
|
|
576
|
+
export const CatalogTableColumnCommentSetParamsSchema = schema([
|
|
577
|
+
field("attach_opaque_data", binary(), false),
|
|
578
|
+
field("schema_name", utf8(), false),
|
|
579
|
+
field("name", utf8(), false),
|
|
580
|
+
field("column_name", utf8(), false),
|
|
581
|
+
field("comment", utf8(), true),
|
|
582
|
+
field("ignore_not_found", bool(), false),
|
|
583
|
+
field("transaction_opaque_data", binary(), true),
|
|
584
|
+
]);
|
|
585
|
+
|
|
586
|
+
// Origin: method 'catalog_table_column_default_drop' params
|
|
587
|
+
export const CatalogTableColumnDefaultDropParamsSchema = schema([
|
|
588
|
+
field("attach_opaque_data", binary(), false),
|
|
589
|
+
field("schema_name", utf8(), false),
|
|
590
|
+
field("name", utf8(), false),
|
|
591
|
+
field("column_name", utf8(), false),
|
|
592
|
+
field("ignore_not_found", bool(), false),
|
|
593
|
+
field("transaction_opaque_data", binary(), true),
|
|
594
|
+
]);
|
|
595
|
+
|
|
596
|
+
// Origin: method 'catalog_table_column_default_set' params
|
|
597
|
+
export const CatalogTableColumnDefaultSetParamsSchema = schema([
|
|
598
|
+
field("attach_opaque_data", binary(), false),
|
|
599
|
+
field("schema_name", utf8(), false),
|
|
600
|
+
field("name", utf8(), false),
|
|
601
|
+
field("column_name", utf8(), false),
|
|
602
|
+
field("expression", utf8(), false),
|
|
603
|
+
field("ignore_not_found", bool(), false),
|
|
604
|
+
field("transaction_opaque_data", binary(), true),
|
|
605
|
+
]);
|
|
606
|
+
|
|
607
|
+
// Origin: method 'catalog_table_column_drop' params
|
|
608
|
+
export const CatalogTableColumnDropParamsSchema = schema([
|
|
609
|
+
field("attach_opaque_data", binary(), false),
|
|
610
|
+
field("schema_name", utf8(), false),
|
|
611
|
+
field("name", utf8(), false),
|
|
612
|
+
field("column_name", utf8(), false),
|
|
613
|
+
field("ignore_not_found", bool(), false),
|
|
614
|
+
field("if_column_exists", bool(), false),
|
|
615
|
+
field("cascade", bool(), false),
|
|
616
|
+
field("transaction_opaque_data", binary(), true),
|
|
617
|
+
]);
|
|
618
|
+
|
|
619
|
+
// Origin: method 'catalog_table_column_rename' params
|
|
620
|
+
export const CatalogTableColumnRenameParamsSchema = schema([
|
|
621
|
+
field("attach_opaque_data", binary(), false),
|
|
622
|
+
field("schema_name", utf8(), false),
|
|
623
|
+
field("name", utf8(), false),
|
|
624
|
+
field("column_name", utf8(), false),
|
|
625
|
+
field("new_column_name", utf8(), false),
|
|
626
|
+
field("ignore_not_found", bool(), false),
|
|
627
|
+
field("transaction_opaque_data", binary(), true),
|
|
628
|
+
]);
|
|
629
|
+
|
|
630
|
+
// Origin: method 'catalog_table_column_statistics_get' params
|
|
631
|
+
export const CatalogTableColumnStatisticsGetParamsSchema = schema([
|
|
632
|
+
field("attach_opaque_data", binary(), false),
|
|
633
|
+
field("schema_name", utf8(), false),
|
|
634
|
+
field("name", utf8(), false),
|
|
635
|
+
field("transaction_opaque_data", binary(), true),
|
|
636
|
+
]);
|
|
637
|
+
|
|
638
|
+
// Origin: method 'catalog_table_column_type_change' params
|
|
639
|
+
export const CatalogTableColumnTypeChangeParamsSchema = schema([
|
|
640
|
+
field("attach_opaque_data", binary(), false),
|
|
641
|
+
field("schema_name", utf8(), false),
|
|
642
|
+
field("name", utf8(), false),
|
|
643
|
+
field("column_definition", binary(), false),
|
|
644
|
+
field("expression", utf8(), true),
|
|
645
|
+
field("ignore_not_found", bool(), false),
|
|
646
|
+
field("transaction_opaque_data", binary(), true),
|
|
647
|
+
]);
|
|
648
|
+
|
|
649
|
+
// Origin: method 'catalog_table_comment_set' params
|
|
650
|
+
export const CatalogTableCommentSetParamsSchema = schema([
|
|
651
|
+
field("attach_opaque_data", binary(), false),
|
|
652
|
+
field("schema_name", utf8(), false),
|
|
653
|
+
field("name", utf8(), false),
|
|
654
|
+
field("comment", utf8(), true),
|
|
655
|
+
field("ignore_not_found", bool(), false),
|
|
656
|
+
field("transaction_opaque_data", binary(), true),
|
|
657
|
+
]);
|
|
658
|
+
|
|
659
|
+
// Origin: method 'catalog_table_create' params
|
|
660
|
+
export const CatalogTableCreateParamsSchema = schema([
|
|
661
|
+
field("request", binary(), false),
|
|
662
|
+
]);
|
|
663
|
+
|
|
664
|
+
// Origin: method 'catalog_table_delete_function_get' params
|
|
665
|
+
export const CatalogTableDeleteFunctionGetParamsSchema = schema([
|
|
666
|
+
field("attach_opaque_data", binary(), false),
|
|
667
|
+
field("schema_name", utf8(), false),
|
|
668
|
+
field("name", utf8(), false),
|
|
669
|
+
field("transaction_opaque_data", binary(), true),
|
|
670
|
+
]);
|
|
671
|
+
|
|
672
|
+
// Origin: method 'catalog_table_drop' params
|
|
673
|
+
export const CatalogTableDropParamsSchema = schema([
|
|
674
|
+
field("attach_opaque_data", binary(), false),
|
|
675
|
+
field("schema_name", utf8(), false),
|
|
676
|
+
field("name", utf8(), false),
|
|
677
|
+
field("ignore_not_found", bool(), false),
|
|
678
|
+
field("cascade", bool(), false),
|
|
679
|
+
field("transaction_opaque_data", binary(), true),
|
|
680
|
+
]);
|
|
681
|
+
|
|
682
|
+
// Origin: method 'catalog_table_get' params
|
|
683
|
+
export const CatalogTableGetParamsSchema = schema([
|
|
684
|
+
field("attach_opaque_data", binary(), false),
|
|
685
|
+
field("schema_name", utf8(), false),
|
|
686
|
+
field("name", utf8(), false),
|
|
687
|
+
field("at_unit", utf8(), true),
|
|
688
|
+
field("at_value", utf8(), true),
|
|
689
|
+
field("transaction_opaque_data", binary(), true),
|
|
690
|
+
]);
|
|
691
|
+
|
|
692
|
+
// Origin: method 'catalog_table_insert_function_get' params
|
|
693
|
+
export const CatalogTableInsertFunctionGetParamsSchema = schema([
|
|
694
|
+
field("attach_opaque_data", binary(), false),
|
|
695
|
+
field("schema_name", utf8(), false),
|
|
696
|
+
field("name", utf8(), false),
|
|
697
|
+
field("transaction_opaque_data", binary(), true),
|
|
698
|
+
field("writable_branch_function_name", utf8(), true),
|
|
699
|
+
]);
|
|
700
|
+
|
|
701
|
+
// Origin: method 'catalog_table_not_null_drop' params
|
|
702
|
+
export const CatalogTableNotNullDropParamsSchema = schema([
|
|
703
|
+
field("attach_opaque_data", binary(), false),
|
|
704
|
+
field("schema_name", utf8(), false),
|
|
705
|
+
field("name", utf8(), false),
|
|
706
|
+
field("column_name", utf8(), false),
|
|
707
|
+
field("ignore_not_found", bool(), false),
|
|
708
|
+
field("transaction_opaque_data", binary(), true),
|
|
709
|
+
]);
|
|
710
|
+
|
|
711
|
+
// Origin: method 'catalog_table_not_null_set' params
|
|
712
|
+
export const CatalogTableNotNullSetParamsSchema = schema([
|
|
713
|
+
field("attach_opaque_data", binary(), false),
|
|
714
|
+
field("schema_name", utf8(), false),
|
|
715
|
+
field("name", utf8(), false),
|
|
716
|
+
field("column_name", utf8(), false),
|
|
717
|
+
field("ignore_not_found", bool(), false),
|
|
718
|
+
field("transaction_opaque_data", binary(), true),
|
|
719
|
+
]);
|
|
720
|
+
|
|
721
|
+
// Origin: method 'catalog_table_rename' params
|
|
722
|
+
export const CatalogTableRenameParamsSchema = schema([
|
|
723
|
+
field("attach_opaque_data", binary(), false),
|
|
724
|
+
field("schema_name", utf8(), false),
|
|
725
|
+
field("name", utf8(), false),
|
|
726
|
+
field("new_name", utf8(), false),
|
|
727
|
+
field("ignore_not_found", bool(), false),
|
|
728
|
+
field("transaction_opaque_data", binary(), true),
|
|
729
|
+
]);
|
|
730
|
+
|
|
731
|
+
// Origin: method 'catalog_table_scan_branches_get' params
|
|
732
|
+
export const CatalogTableScanBranchesGetParamsSchema = schema([
|
|
733
|
+
field("attach_opaque_data", binary(), false),
|
|
734
|
+
field("schema_name", utf8(), false),
|
|
735
|
+
field("name", utf8(), false),
|
|
736
|
+
field("at_unit", utf8(), true),
|
|
737
|
+
field("at_value", utf8(), true),
|
|
738
|
+
field("transaction_opaque_data", binary(), true),
|
|
739
|
+
]);
|
|
740
|
+
|
|
741
|
+
// Origin: method 'catalog_table_scan_function_get' params
|
|
742
|
+
export const CatalogTableScanFunctionGetParamsSchema = schema([
|
|
743
|
+
field("attach_opaque_data", binary(), false),
|
|
744
|
+
field("schema_name", utf8(), false),
|
|
745
|
+
field("name", utf8(), false),
|
|
746
|
+
field("at_unit", utf8(), true),
|
|
747
|
+
field("at_value", utf8(), true),
|
|
748
|
+
field("transaction_opaque_data", binary(), true),
|
|
749
|
+
]);
|
|
750
|
+
|
|
751
|
+
// Origin: method 'catalog_table_update_function_get' params
|
|
752
|
+
export const CatalogTableUpdateFunctionGetParamsSchema = schema([
|
|
753
|
+
field("attach_opaque_data", binary(), false),
|
|
754
|
+
field("schema_name", utf8(), false),
|
|
755
|
+
field("name", utf8(), false),
|
|
756
|
+
field("transaction_opaque_data", binary(), true),
|
|
757
|
+
]);
|
|
758
|
+
|
|
759
|
+
// Origin: method 'catalog_transaction_begin' params
|
|
760
|
+
export const CatalogTransactionBeginParamsSchema = schema([
|
|
761
|
+
field("attach_opaque_data", binary(), false),
|
|
762
|
+
]);
|
|
763
|
+
|
|
764
|
+
// Origin: method 'catalog_transaction_commit' params
|
|
765
|
+
export const CatalogTransactionCommitParamsSchema = schema([
|
|
766
|
+
field("attach_opaque_data", binary(), false),
|
|
767
|
+
field("transaction_opaque_data", binary(), false),
|
|
768
|
+
]);
|
|
769
|
+
|
|
770
|
+
// Origin: method 'catalog_transaction_rollback' params
|
|
771
|
+
export const CatalogTransactionRollbackParamsSchema = schema([
|
|
772
|
+
field("attach_opaque_data", binary(), false),
|
|
773
|
+
field("transaction_opaque_data", binary(), false),
|
|
774
|
+
]);
|
|
775
|
+
|
|
776
|
+
// Origin: method 'catalog_version' params
|
|
777
|
+
export const CatalogVersionParamsSchema = schema([
|
|
778
|
+
field("attach_opaque_data", binary(), false),
|
|
779
|
+
field("transaction_opaque_data", binary(), true),
|
|
780
|
+
]);
|
|
781
|
+
|
|
782
|
+
// Origin: method 'catalog_view_comment_set' params
|
|
783
|
+
export const CatalogViewCommentSetParamsSchema = schema([
|
|
784
|
+
field("attach_opaque_data", binary(), false),
|
|
785
|
+
field("schema_name", utf8(), false),
|
|
786
|
+
field("name", utf8(), false),
|
|
787
|
+
field("comment", utf8(), true),
|
|
788
|
+
field("ignore_not_found", bool(), false),
|
|
789
|
+
field("transaction_opaque_data", binary(), true),
|
|
790
|
+
]);
|
|
791
|
+
|
|
792
|
+
// Origin: method 'catalog_view_create' params
|
|
793
|
+
export const CatalogViewCreateParamsSchema = schema([
|
|
794
|
+
field("attach_opaque_data", binary(), false),
|
|
795
|
+
field("schema_name", utf8(), false),
|
|
796
|
+
field("name", utf8(), false),
|
|
797
|
+
field("definition", utf8(), false),
|
|
798
|
+
field("on_conflict", dictionary(utf8(), int16()), false),
|
|
799
|
+
field("transaction_opaque_data", binary(), true),
|
|
800
|
+
]);
|
|
801
|
+
|
|
802
|
+
// Origin: method 'catalog_view_drop' params
|
|
803
|
+
export const CatalogViewDropParamsSchema = schema([
|
|
804
|
+
field("attach_opaque_data", binary(), false),
|
|
805
|
+
field("schema_name", utf8(), false),
|
|
806
|
+
field("name", utf8(), false),
|
|
807
|
+
field("ignore_not_found", bool(), false),
|
|
808
|
+
field("cascade", bool(), false),
|
|
809
|
+
field("transaction_opaque_data", binary(), true),
|
|
810
|
+
]);
|
|
811
|
+
|
|
812
|
+
// Origin: method 'catalog_view_get' params
|
|
813
|
+
export const CatalogViewGetParamsSchema = schema([
|
|
814
|
+
field("attach_opaque_data", binary(), false),
|
|
815
|
+
field("schema_name", utf8(), false),
|
|
816
|
+
field("name", utf8(), false),
|
|
817
|
+
field("transaction_opaque_data", binary(), true),
|
|
818
|
+
]);
|
|
819
|
+
|
|
820
|
+
// Origin: method 'catalog_view_rename' params
|
|
821
|
+
export const CatalogViewRenameParamsSchema = schema([
|
|
822
|
+
field("attach_opaque_data", binary(), false),
|
|
823
|
+
field("schema_name", utf8(), false),
|
|
824
|
+
field("name", utf8(), false),
|
|
825
|
+
field("new_name", utf8(), false),
|
|
826
|
+
field("ignore_not_found", bool(), false),
|
|
827
|
+
field("transaction_opaque_data", binary(), true),
|
|
828
|
+
]);
|
|
829
|
+
|
|
830
|
+
// Origin: method 'init' params
|
|
831
|
+
export const InitParamsSchema = schema([
|
|
832
|
+
field("request", binary(), false),
|
|
833
|
+
]);
|
|
834
|
+
|
|
835
|
+
// Origin: method 'table_buffering_combine' params
|
|
836
|
+
export const TableBufferingCombineParamsSchema = schema([
|
|
837
|
+
field("request", binary(), false),
|
|
838
|
+
]);
|
|
839
|
+
|
|
840
|
+
// Origin: method 'table_buffering_destructor' params
|
|
841
|
+
export const TableBufferingDestructorParamsSchema = schema([
|
|
842
|
+
field("request", binary(), false),
|
|
843
|
+
]);
|
|
844
|
+
|
|
845
|
+
// Origin: method 'table_buffering_process' params
|
|
846
|
+
export const TableBufferingProcessParamsSchema = schema([
|
|
847
|
+
field("request", binary(), false),
|
|
848
|
+
]);
|
|
849
|
+
|
|
850
|
+
// Origin: method 'table_function_cardinality' params
|
|
851
|
+
export const TableFunctionCardinalityParamsSchema = schema([
|
|
852
|
+
field("request", binary(), false),
|
|
853
|
+
]);
|
|
854
|
+
|
|
855
|
+
// Origin: method 'table_function_dynamic_to_string' params
|
|
856
|
+
export const TableFunctionDynamicToStringParamsSchema = schema([
|
|
857
|
+
field("request", binary(), false),
|
|
858
|
+
]);
|
|
859
|
+
|
|
860
|
+
// Origin: method 'table_function_statistics' params
|
|
861
|
+
export const TableFunctionStatisticsParamsSchema = schema([
|
|
862
|
+
field("request", binary(), false),
|
|
863
|
+
]);
|
|
864
|
+
|