@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_client. DO NOT EDIT BY HAND.
|
|
3
3
|
//
|
|
4
4
|
// Generator: vgi-gen-ts-client v1
|
|
5
|
-
// Content hash:
|
|
5
|
+
// Content hash: b20bb9dfcb1f
|
|
6
6
|
//
|
|
7
7
|
// To regenerate:
|
|
8
8
|
// uv run --project ~/Development/vgi-python vgi-gen-ts-client \
|
|
@@ -21,11 +21,13 @@ import {
|
|
|
21
21
|
} from "./vgi-protocol-schemas.js";
|
|
22
22
|
|
|
23
23
|
export type ArgumentMonotonicity = "UNKNOWN" | "CONSTANT" | "NON_DECREASING" | "STRICTLY_INCREASING" | "NON_INCREASING" | "STRICTLY_DECREASING";
|
|
24
|
+
export type BindRepeatability = "UNKNOWN" | "STABLE_WITHIN_QUERY";
|
|
24
25
|
export type DistinctDependence = "DISTINCT_DEPENDENT" | "NOT_DISTINCT_DEPENDENT";
|
|
25
26
|
export type FunctionStability = "CONSISTENT" | "VOLATILE" | "CONSISTENT_WITHIN_QUERY";
|
|
26
27
|
export type FunctionType = "SCALAR" | "TABLE" | "TABLE_BUFFERING" | "AGGREGATE";
|
|
27
28
|
export type IndexConstraintType = "NONE" | "UNIQUE" | "PRIMARY";
|
|
28
29
|
export type InvocationFunctionType = "AGGREGATE" | "SCALAR" | "TABLE" | "TABLE_BUFFERING";
|
|
30
|
+
export type LayoutCoverage = "ALL_ROWS" | "FUTURE_WRITES";
|
|
29
31
|
export type MacroType = "SCALAR" | "TABLE";
|
|
30
32
|
export type NullHandling = "DEFAULT" | "SPECIAL";
|
|
31
33
|
export type OnConflict = "ERROR" | "IGNORE" | "REPLACE";
|
|
@@ -53,11 +55,27 @@ export interface CatalogInfo {
|
|
|
53
55
|
source_url?: string | null;
|
|
54
56
|
}
|
|
55
57
|
|
|
58
|
+
export interface TypedValueBatch {
|
|
59
|
+
batch: Uint8Array;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface OptionState {
|
|
63
|
+
values: /** @ipc-record TypedValueBatch */ Uint8Array;
|
|
64
|
+
explicit_names: string[];
|
|
65
|
+
}
|
|
66
|
+
|
|
56
67
|
export interface SchemaInfo {
|
|
57
68
|
comment?: string | null;
|
|
58
69
|
tags: Record<string, string>;
|
|
59
70
|
path: string[];
|
|
60
71
|
estimated_object_count?: Record<string, number> | null;
|
|
72
|
+
options?: /** @ipc-record OptionState */ Uint8Array | null;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface TableLayout {
|
|
76
|
+
partition_by: Uint8Array[];
|
|
77
|
+
sorted_by: Uint8Array[];
|
|
78
|
+
coverage: LayoutCoverage;
|
|
61
79
|
}
|
|
62
80
|
|
|
63
81
|
export interface TableInfo {
|
|
@@ -66,11 +84,8 @@ export interface TableInfo {
|
|
|
66
84
|
name: string;
|
|
67
85
|
schema_path: string[];
|
|
68
86
|
columns: Uint8Array;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
check_constraints: string[];
|
|
72
|
-
primary_key_constraints: number[][];
|
|
73
|
-
foreign_key_constraints: Uint8Array[];
|
|
87
|
+
constraints: Uint8Array[];
|
|
88
|
+
definition_revision?: Uint8Array | null;
|
|
74
89
|
write_result_modes: Record<string, string>;
|
|
75
90
|
supports_column_statistics: boolean;
|
|
76
91
|
scan_function?: Uint8Array | null;
|
|
@@ -81,7 +96,9 @@ export interface TableInfo {
|
|
|
81
96
|
cardinality_max?: number | null;
|
|
82
97
|
column_statistics?: Uint8Array | null;
|
|
83
98
|
bind_result?: Uint8Array | null;
|
|
84
|
-
required_filters: string[][];
|
|
99
|
+
required_filters: string[][][];
|
|
100
|
+
options?: /** @ipc-record OptionState */ Uint8Array | null;
|
|
101
|
+
layout?: /** @ipc-record TableLayout */ Uint8Array | null;
|
|
85
102
|
}
|
|
86
103
|
|
|
87
104
|
export interface ViewInfo {
|
|
@@ -91,6 +108,8 @@ export interface ViewInfo {
|
|
|
91
108
|
schema_path: string[];
|
|
92
109
|
definition: string;
|
|
93
110
|
column_comments: Record<string, string>;
|
|
111
|
+
aliases: string[];
|
|
112
|
+
security: string;
|
|
94
113
|
}
|
|
95
114
|
|
|
96
115
|
export interface CatalogExample {
|
|
@@ -162,20 +181,66 @@ export interface FunctionInfo {
|
|
|
162
181
|
sink_order_dependent: boolean;
|
|
163
182
|
requires_input_batch_index: boolean;
|
|
164
183
|
input_from_args: boolean;
|
|
184
|
+
input_rows_per_call?: number | null;
|
|
165
185
|
required_settings: string[];
|
|
166
186
|
required_secrets: SecretLookupEntry[];
|
|
167
187
|
}
|
|
168
188
|
|
|
189
|
+
export interface QueryEvaluationContext {
|
|
190
|
+
timezone: string;
|
|
191
|
+
collation: string;
|
|
192
|
+
default_order: string;
|
|
193
|
+
default_null_order: string;
|
|
194
|
+
preserve_insertion_order: boolean;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export interface SqlExpression {
|
|
198
|
+
sql: string;
|
|
199
|
+
profile: string;
|
|
200
|
+
schema_path: string[];
|
|
201
|
+
evaluation_context: QueryEvaluationContext;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export interface MacroParameter {
|
|
205
|
+
name: string;
|
|
206
|
+
declared_type?: /** @arrow-schema */ Uint8Array | null;
|
|
207
|
+
default_value?: /** @ipc-record TypedValueBatch */ Uint8Array | null;
|
|
208
|
+
default_expression?: /** @ipc-record SqlExpression */ Uint8Array | null;
|
|
209
|
+
documentation?: string | null;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface MacroOverload {
|
|
213
|
+
parameters: MacroParameter[];
|
|
214
|
+
definition: string;
|
|
215
|
+
profile: string;
|
|
216
|
+
schema_path: string[];
|
|
217
|
+
macro_type: string;
|
|
218
|
+
evaluation_context: QueryEvaluationContext;
|
|
219
|
+
}
|
|
220
|
+
|
|
169
221
|
export interface MacroInfo {
|
|
170
222
|
comment?: string | null;
|
|
171
223
|
tags: Record<string, string>;
|
|
172
224
|
name: string;
|
|
173
225
|
schema_path: string[];
|
|
174
226
|
macro_type: MacroType;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
227
|
+
overloads: MacroOverload[];
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export interface CatalogObjectRef {
|
|
231
|
+
kind: string;
|
|
232
|
+
schema_path: string[];
|
|
233
|
+
name: string;
|
|
234
|
+
owner_table?: string | null;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface IndexDefinition {
|
|
238
|
+
table: /** @ipc-record CatalogObjectRef */ Uint8Array;
|
|
239
|
+
algorithm: string;
|
|
240
|
+
keys: Uint8Array[];
|
|
241
|
+
options: /** @ipc-record TypedValueBatch */ Uint8Array;
|
|
242
|
+
constraint_type: IndexConstraintType;
|
|
243
|
+
associated_constraint?: /** @ipc-record CatalogObjectRef */ Uint8Array | null;
|
|
179
244
|
}
|
|
180
245
|
|
|
181
246
|
export interface IndexInfo {
|
|
@@ -183,11 +248,8 @@ export interface IndexInfo {
|
|
|
183
248
|
tags: Record<string, string>;
|
|
184
249
|
name: string;
|
|
185
250
|
schema_path: string[];
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
constraint_type: IndexConstraintType;
|
|
189
|
-
expressions: string[];
|
|
190
|
-
options: Record<string, string>;
|
|
251
|
+
definition: /** @ipc-record IndexDefinition */ Uint8Array;
|
|
252
|
+
options: /** @ipc-record OptionState */ Uint8Array;
|
|
191
253
|
}
|
|
192
254
|
|
|
193
255
|
export interface AggregateBindRequest {
|
|
@@ -386,6 +448,22 @@ export interface BindResponse {
|
|
|
386
448
|
lookup_secret_types: string[];
|
|
387
449
|
lookup_scopes: string[];
|
|
388
450
|
lookup_names: string[];
|
|
451
|
+
projection_expression_profiles: string[];
|
|
452
|
+
repeatability: BindRepeatability;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export interface CatalogCapabilities {
|
|
456
|
+
read: string[];
|
|
457
|
+
ddl: string[];
|
|
458
|
+
write: string[];
|
|
459
|
+
transaction: string[];
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface ClientQueryCapabilities {
|
|
463
|
+
encodings: string[];
|
|
464
|
+
semantic_profiles: string[];
|
|
465
|
+
engine_version: string;
|
|
466
|
+
max_query_bytes: number;
|
|
389
467
|
}
|
|
390
468
|
|
|
391
469
|
export interface ClientCapabilities {
|
|
@@ -394,6 +472,8 @@ export interface ClientCapabilities {
|
|
|
394
472
|
catalogs: string[];
|
|
395
473
|
can_stream: boolean;
|
|
396
474
|
filter_encodings: string[];
|
|
475
|
+
catalog?: /** @ipc-record CatalogCapabilities */ Uint8Array | null;
|
|
476
|
+
query_pushdown?: ClientQueryCapabilities | null;
|
|
397
477
|
}
|
|
398
478
|
|
|
399
479
|
export interface CatalogAttachRequest {
|
|
@@ -401,7 +481,18 @@ export interface CatalogAttachRequest {
|
|
|
401
481
|
options?: /** @record-batch */ Uint8Array | null;
|
|
402
482
|
data_version_spec?: string | null;
|
|
403
483
|
implementation_version?: string | null;
|
|
404
|
-
client_capabilities?: ClientCapabilities | null;
|
|
484
|
+
client_capabilities?: /** @ipc-record ClientCapabilities */ Uint8Array | null;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export interface QueryCapabilities {
|
|
488
|
+
encoding: string;
|
|
489
|
+
semantic_profiles: string[];
|
|
490
|
+
execution_modes: string[];
|
|
491
|
+
backend_engine: string;
|
|
492
|
+
backend_version: string;
|
|
493
|
+
capability_revision: string;
|
|
494
|
+
default_evaluation_context: QueryEvaluationContext;
|
|
495
|
+
max_query_bytes: number;
|
|
405
496
|
}
|
|
406
497
|
|
|
407
498
|
export interface CatalogAttachResult {
|
|
@@ -411,7 +502,7 @@ export interface CatalogAttachResult {
|
|
|
411
502
|
catalog_version_frozen: boolean;
|
|
412
503
|
catalog_version: number;
|
|
413
504
|
attach_opaque_data_required: boolean;
|
|
414
|
-
default_schema
|
|
505
|
+
default_schema?: string | null;
|
|
415
506
|
settings: Uint8Array[];
|
|
416
507
|
secret_types: Uint8Array[];
|
|
417
508
|
attach_catalogs: Uint8Array[];
|
|
@@ -423,6 +514,9 @@ export interface CatalogAttachResult {
|
|
|
423
514
|
resolved_data_version?: string | null;
|
|
424
515
|
resolved_implementation_version?: string | null;
|
|
425
516
|
supports_catalog_contents: boolean;
|
|
517
|
+
catalog_capabilities?: /** @ipc-record CatalogCapabilities */ Uint8Array | null;
|
|
518
|
+
selected_capabilities?: /** @ipc-record CatalogCapabilities */ Uint8Array | null;
|
|
519
|
+
query_pushdown?: QueryCapabilities | null;
|
|
426
520
|
}
|
|
427
521
|
|
|
428
522
|
export interface CatalogsResponse {
|
|
@@ -451,16 +545,18 @@ export interface CatalogCreateRequest {
|
|
|
451
545
|
options?: /** @record-batch */ Uint8Array | null;
|
|
452
546
|
}
|
|
453
547
|
|
|
548
|
+
export interface DependencySnapshot {
|
|
549
|
+
catalog_version: number;
|
|
550
|
+
objects: Uint8Array[];
|
|
551
|
+
dependencies: Uint8Array[];
|
|
552
|
+
}
|
|
553
|
+
|
|
454
554
|
export interface IndexCreateRequest {
|
|
455
555
|
attach_opaque_data: Uint8Array;
|
|
456
556
|
schema_path: string[];
|
|
457
557
|
name: string;
|
|
458
|
-
|
|
459
|
-
index_type: string;
|
|
460
|
-
constraint_type: IndexConstraintType;
|
|
461
|
-
expressions: string[];
|
|
558
|
+
definition: /** @ipc-record IndexDefinition */ Uint8Array;
|
|
462
559
|
on_conflict: OnConflict;
|
|
463
|
-
options: Record<string, string>;
|
|
464
560
|
transaction_opaque_data?: Uint8Array | null;
|
|
465
561
|
}
|
|
466
562
|
|
|
@@ -468,16 +564,20 @@ export interface IndexesResponse {
|
|
|
468
564
|
items: IndexInfo[];
|
|
469
565
|
}
|
|
470
566
|
|
|
567
|
+
export interface OptionDefinitions {
|
|
568
|
+
schema: /** @arrow-schema */ Uint8Array;
|
|
569
|
+
defaults: /** @ipc-record TypedValueBatch */ Uint8Array;
|
|
570
|
+
create_names: string[];
|
|
571
|
+
alter_names: string[];
|
|
572
|
+
}
|
|
573
|
+
|
|
471
574
|
export interface MacroCreateRequest {
|
|
472
575
|
attach_opaque_data: Uint8Array;
|
|
473
576
|
schema_path: string[];
|
|
474
577
|
name: string;
|
|
475
578
|
macro_type: MacroType;
|
|
476
|
-
|
|
477
|
-
definition: string;
|
|
579
|
+
overloads: MacroOverload[];
|
|
478
580
|
on_conflict: OnConflict;
|
|
479
|
-
parameter_default_values?: /** @record-batch */ Uint8Array | null;
|
|
480
|
-
arguments_schema?: /** @arrow-schema */ Uint8Array | null;
|
|
481
581
|
transaction_opaque_data?: Uint8Array | null;
|
|
482
582
|
}
|
|
483
583
|
|
|
@@ -485,6 +585,43 @@ export interface MacrosResponse {
|
|
|
485
585
|
items: MacroInfo[];
|
|
486
586
|
}
|
|
487
587
|
|
|
588
|
+
export interface QueryObjectReference {
|
|
589
|
+
object: CatalogObjectRef;
|
|
590
|
+
expected_schema: Uint8Array;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export interface CatalogQueryPrepareRequest {
|
|
594
|
+
attach_opaque_data: Uint8Array;
|
|
595
|
+
encoding: string;
|
|
596
|
+
semantic_profile: string;
|
|
597
|
+
mode: string;
|
|
598
|
+
capability_revision: string;
|
|
599
|
+
query: string;
|
|
600
|
+
parameter_schema: Uint8Array;
|
|
601
|
+
evaluation_context: QueryEvaluationContext;
|
|
602
|
+
transaction_opaque_data?: Uint8Array | null;
|
|
603
|
+
catalog_version?: number | null;
|
|
604
|
+
catalog_etag?: string | null;
|
|
605
|
+
referenced_objects: QueryObjectReference[];
|
|
606
|
+
expected_output_schema?: Uint8Array | null;
|
|
607
|
+
required_ordering: string;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export interface CatalogQueryPrepareResult {
|
|
611
|
+
status: string;
|
|
612
|
+
reason_code?: string | null;
|
|
613
|
+
reason_detail?: string | null;
|
|
614
|
+
prepared_query_token?: Uint8Array | null;
|
|
615
|
+
output_schema?: Uint8Array | null;
|
|
616
|
+
result_ordering?: string | null;
|
|
617
|
+
validated_catalog_version?: number | null;
|
|
618
|
+
validated_catalog_etag?: string | null;
|
|
619
|
+
context_digest?: Uint8Array | null;
|
|
620
|
+
expires_at_epoch_ms?: number | null;
|
|
621
|
+
estimated_rows?: number | null;
|
|
622
|
+
estimated_bytes?: number | null;
|
|
623
|
+
}
|
|
624
|
+
|
|
488
625
|
export interface FunctionsResponse {
|
|
489
626
|
items: FunctionInfo[];
|
|
490
627
|
}
|
|
@@ -501,18 +638,32 @@ export interface SchemasResponse {
|
|
|
501
638
|
items: SchemaInfo[];
|
|
502
639
|
}
|
|
503
640
|
|
|
641
|
+
export interface ConstraintsApplyRequest {
|
|
642
|
+
attach_opaque_data: Uint8Array;
|
|
643
|
+
table: /** @ipc-record CatalogObjectRef */ Uint8Array;
|
|
644
|
+
expected_revision: Uint8Array;
|
|
645
|
+
changes: Uint8Array[];
|
|
646
|
+
transaction_opaque_data?: Uint8Array | null;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export interface ConstraintSnapshot {
|
|
650
|
+
table: /** @ipc-record CatalogObjectRef */ Uint8Array;
|
|
651
|
+
definition_revision: Uint8Array;
|
|
652
|
+
constraints: Uint8Array[];
|
|
653
|
+
}
|
|
654
|
+
|
|
504
655
|
export interface TableCreateRequest {
|
|
505
656
|
attach_opaque_data: Uint8Array;
|
|
506
657
|
schema_path: string[];
|
|
507
658
|
name: string;
|
|
508
659
|
columns: Uint8Array;
|
|
509
660
|
on_conflict: OnConflict;
|
|
510
|
-
|
|
511
|
-
unique_constraints: number[][];
|
|
512
|
-
check_constraints: string[];
|
|
513
|
-
primary_key_constraints: number[][];
|
|
514
|
-
foreign_key_constraints: Uint8Array[];
|
|
661
|
+
constraint_definitions: Uint8Array[];
|
|
515
662
|
transaction_opaque_data?: Uint8Array | null;
|
|
663
|
+
comment?: string | null;
|
|
664
|
+
tags?: Record<string, string> | null;
|
|
665
|
+
options?: /** @ipc-record TypedValueBatch */ Uint8Array | null;
|
|
666
|
+
layout?: /** @ipc-record TableLayout */ Uint8Array | null;
|
|
516
667
|
}
|
|
517
668
|
|
|
518
669
|
export interface TransactionBeginResponse {
|
|
@@ -524,7 +675,7 @@ export interface CatalogVersionResponse {
|
|
|
524
675
|
}
|
|
525
676
|
|
|
526
677
|
export interface InitRequest {
|
|
527
|
-
bind_call: BindRequest;
|
|
678
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
528
679
|
output_schema: /** @arrow-schema */ Uint8Array;
|
|
529
680
|
bind_opaque_data?: Uint8Array | null;
|
|
530
681
|
projection_ids?: number[] | null;
|
|
@@ -584,7 +735,7 @@ export interface TableBufferingProcessResponse {
|
|
|
584
735
|
}
|
|
585
736
|
|
|
586
737
|
export interface TableFunctionCardinalityRequest {
|
|
587
|
-
bind_call: BindRequest;
|
|
738
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
588
739
|
bind_opaque_data?: Uint8Array | null;
|
|
589
740
|
}
|
|
590
741
|
|
|
@@ -594,7 +745,7 @@ export interface TableCardinality {
|
|
|
594
745
|
}
|
|
595
746
|
|
|
596
747
|
export interface TableFunctionDynamicToStringRequest {
|
|
597
|
-
bind_call: BindRequest;
|
|
748
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
598
749
|
bind_opaque_data?: Uint8Array | null;
|
|
599
750
|
global_execution_id: Uint8Array;
|
|
600
751
|
}
|
|
@@ -605,7 +756,7 @@ export interface TableFunctionDynamicToStringResponse {
|
|
|
605
756
|
}
|
|
606
757
|
|
|
607
758
|
export interface TableFunctionPlanRequest {
|
|
608
|
-
bind_call: BindRequest;
|
|
759
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
609
760
|
bind_opaque_data?: Uint8Array | null;
|
|
610
761
|
projection_ids?: number[] | null;
|
|
611
762
|
pushdown_filters?: /** @record-batch */ Uint8Array | null;
|
|
@@ -659,8 +810,20 @@ export interface PlanResponse {
|
|
|
659
810
|
end_position?: Uint8Array | null;
|
|
660
811
|
}
|
|
661
812
|
|
|
813
|
+
export interface TableFunctionProjectionRequest {
|
|
814
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
815
|
+
bind_result: /** @ipc-record BindResponse */ Uint8Array;
|
|
816
|
+
expressions: Uint8Array[];
|
|
817
|
+
result_schema: /** @arrow-schema */ Uint8Array;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export interface TableFunctionProjectionResponse {
|
|
821
|
+
accepted_indices: number[];
|
|
822
|
+
bind_result?: /** @ipc-record BindResponse */ Uint8Array | null;
|
|
823
|
+
}
|
|
824
|
+
|
|
662
825
|
export interface TableFunctionStatisticsRequest {
|
|
663
|
-
bind_call: BindRequest;
|
|
826
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
664
827
|
bind_opaque_data?: Uint8Array | null;
|
|
665
828
|
}
|
|
666
829
|
|