@query-farm/vgi 0.46.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 +11 -5
- package/dist/arrow/impl-arrowjs/index.d.ts +1 -1
- package/dist/arrow/impl-arrowjs/iterate.d.ts +2 -0
- package/dist/arrow/impl-flechette/index.d.ts +1 -1
- package/dist/arrow/impl-flechette/iterate.d.ts +2 -0
- package/dist/arrow/index.d.ts +1 -1
- package/dist/catalog/column-expressions.d.ts +8 -0
- package/dist/catalog/column-metadata.d.ts +11 -0
- package/dist/catalog/composite.d.ts +2 -1
- package/dist/catalog/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 +18 -13
- package/dist/client-entry.js +753 -103
- package/dist/client-entry.js.map +16 -14
- package/dist/functions/projection.d.ts +18 -0
- package/dist/functions/table.d.ts +6 -1
- package/dist/functions/types.d.ts +1 -0
- package/dist/generated/vgi-client.d.ts +177 -36
- package/dist/generated/vgi-protocol-schemas.d.ts +51 -1
- package/dist/generated/vgi-protocol-types.d.ts +317 -3
- package/dist/generated/vgi-service.d.ts +266 -29
- package/dist/index.core.d.ts +2 -1
- package/dist/index.js +1480 -238
- package/dist/index.js.map +40 -34
- package/dist/protocol/dispatch.d.ts +9 -9
- package/dist/protocol/handlers/aggregate.d.ts +1 -1
- package/dist/protocol/handlers/catalog/index.d.ts +1 -1
- package/dist/protocol/handlers/catalog/metadata.d.ts +1 -0
- package/dist/protocol/handlers/function.d.ts +1 -1
- package/dist/protocol/handlers/table-buffering.d.ts +1 -1
- package/dist/protocol/handlers/unimplemented.d.ts +1 -1
- package/dist/protocol/serializers/bind.d.ts +5 -1
- package/dist/protocol/types.d.ts +5 -0
- package/dist/rpc-server.d.ts +6 -6
- package/dist/serve-entry.js +1593 -452
- package/dist/serve-entry.js.map +31 -26
- package/dist/util/arrow/index.d.ts +1 -1
- package/dist/worker-cf-entry.js +1814 -589
- package/dist/worker-cf-entry.js.map +39 -33
- package/dist/worker.d.ts +1 -1
- package/package.json +5 -4
- package/src/arrow/impl-arrowjs/index.ts +1 -1
- package/src/arrow/impl-arrowjs/iterate.ts +9 -1
- package/src/arrow/impl-arrowjs/project.ts +1 -1
- package/src/arrow/impl-flechette/index.ts +1 -1
- package/src/arrow/impl-flechette/ipc.ts +12 -0
- package/src/arrow/impl-flechette/iterate.ts +5 -0
- package/src/arrow/impl-flechette/project.ts +6 -8
- package/src/arrow/index.ts +1 -1
- package/src/catalog/column-expressions.ts +224 -0
- package/src/catalog/column-metadata.ts +151 -0
- package/src/catalog/composite.ts +5 -1
- package/src/catalog/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 +63 -71
- package/src/catalog/unconstrained-columns.ts +23 -0
- package/src/client/client.ts +100 -58
- package/src/codec/asd.ts +3 -1
- package/src/functions/projection.ts +207 -0
- package/src/functions/table.ts +10 -0
- package/src/functions/types.ts +1 -0
- package/src/generated/vgi-client.ts +199 -37
- package/src/generated/vgi-protocol-schemas.ts +455 -41
- package/src/generated/vgi-protocol-types.ts +879 -5
- package/src/generated/vgi-service.ts +514 -42
- package/src/http/client-bundle.ts +1 -1
- package/src/http/fetch.ts +1 -1
- package/src/index.core.ts +4 -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 +67 -1
- package/src/protocol/handlers/table-buffering.ts +1 -1
- package/src/protocol/handlers/unimplemented.ts +6 -6
- package/src/protocol/serializers/bind.ts +17 -1
- package/src/protocol/types.ts +6 -0
- package/src/rpc-server.ts +9 -9
- package/src/util/arrow/index.ts +1 -1
- package/src/worker.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 {
|
|
@@ -167,16 +186,61 @@ export interface FunctionInfo {
|
|
|
167
186
|
required_secrets: SecretLookupEntry[];
|
|
168
187
|
}
|
|
169
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
|
+
|
|
170
221
|
export interface MacroInfo {
|
|
171
222
|
comment?: string | null;
|
|
172
223
|
tags: Record<string, string>;
|
|
173
224
|
name: string;
|
|
174
225
|
schema_path: string[];
|
|
175
226
|
macro_type: MacroType;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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;
|
|
180
244
|
}
|
|
181
245
|
|
|
182
246
|
export interface IndexInfo {
|
|
@@ -184,11 +248,8 @@ export interface IndexInfo {
|
|
|
184
248
|
tags: Record<string, string>;
|
|
185
249
|
name: string;
|
|
186
250
|
schema_path: string[];
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
constraint_type: IndexConstraintType;
|
|
190
|
-
expressions: string[];
|
|
191
|
-
options: Record<string, string>;
|
|
251
|
+
definition: /** @ipc-record IndexDefinition */ Uint8Array;
|
|
252
|
+
options: /** @ipc-record OptionState */ Uint8Array;
|
|
192
253
|
}
|
|
193
254
|
|
|
194
255
|
export interface AggregateBindRequest {
|
|
@@ -387,6 +448,22 @@ export interface BindResponse {
|
|
|
387
448
|
lookup_secret_types: string[];
|
|
388
449
|
lookup_scopes: string[];
|
|
389
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;
|
|
390
467
|
}
|
|
391
468
|
|
|
392
469
|
export interface ClientCapabilities {
|
|
@@ -395,6 +472,8 @@ export interface ClientCapabilities {
|
|
|
395
472
|
catalogs: string[];
|
|
396
473
|
can_stream: boolean;
|
|
397
474
|
filter_encodings: string[];
|
|
475
|
+
catalog?: /** @ipc-record CatalogCapabilities */ Uint8Array | null;
|
|
476
|
+
query_pushdown?: ClientQueryCapabilities | null;
|
|
398
477
|
}
|
|
399
478
|
|
|
400
479
|
export interface CatalogAttachRequest {
|
|
@@ -402,7 +481,18 @@ export interface CatalogAttachRequest {
|
|
|
402
481
|
options?: /** @record-batch */ Uint8Array | null;
|
|
403
482
|
data_version_spec?: string | null;
|
|
404
483
|
implementation_version?: string | null;
|
|
405
|
-
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;
|
|
406
496
|
}
|
|
407
497
|
|
|
408
498
|
export interface CatalogAttachResult {
|
|
@@ -412,7 +502,7 @@ export interface CatalogAttachResult {
|
|
|
412
502
|
catalog_version_frozen: boolean;
|
|
413
503
|
catalog_version: number;
|
|
414
504
|
attach_opaque_data_required: boolean;
|
|
415
|
-
default_schema
|
|
505
|
+
default_schema?: string | null;
|
|
416
506
|
settings: Uint8Array[];
|
|
417
507
|
secret_types: Uint8Array[];
|
|
418
508
|
attach_catalogs: Uint8Array[];
|
|
@@ -424,6 +514,9 @@ export interface CatalogAttachResult {
|
|
|
424
514
|
resolved_data_version?: string | null;
|
|
425
515
|
resolved_implementation_version?: string | null;
|
|
426
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;
|
|
427
520
|
}
|
|
428
521
|
|
|
429
522
|
export interface CatalogsResponse {
|
|
@@ -452,16 +545,18 @@ export interface CatalogCreateRequest {
|
|
|
452
545
|
options?: /** @record-batch */ Uint8Array | null;
|
|
453
546
|
}
|
|
454
547
|
|
|
548
|
+
export interface DependencySnapshot {
|
|
549
|
+
catalog_version: number;
|
|
550
|
+
objects: Uint8Array[];
|
|
551
|
+
dependencies: Uint8Array[];
|
|
552
|
+
}
|
|
553
|
+
|
|
455
554
|
export interface IndexCreateRequest {
|
|
456
555
|
attach_opaque_data: Uint8Array;
|
|
457
556
|
schema_path: string[];
|
|
458
557
|
name: string;
|
|
459
|
-
|
|
460
|
-
index_type: string;
|
|
461
|
-
constraint_type: IndexConstraintType;
|
|
462
|
-
expressions: string[];
|
|
558
|
+
definition: /** @ipc-record IndexDefinition */ Uint8Array;
|
|
463
559
|
on_conflict: OnConflict;
|
|
464
|
-
options: Record<string, string>;
|
|
465
560
|
transaction_opaque_data?: Uint8Array | null;
|
|
466
561
|
}
|
|
467
562
|
|
|
@@ -469,16 +564,20 @@ export interface IndexesResponse {
|
|
|
469
564
|
items: IndexInfo[];
|
|
470
565
|
}
|
|
471
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
|
+
|
|
472
574
|
export interface MacroCreateRequest {
|
|
473
575
|
attach_opaque_data: Uint8Array;
|
|
474
576
|
schema_path: string[];
|
|
475
577
|
name: string;
|
|
476
578
|
macro_type: MacroType;
|
|
477
|
-
|
|
478
|
-
definition: string;
|
|
579
|
+
overloads: MacroOverload[];
|
|
479
580
|
on_conflict: OnConflict;
|
|
480
|
-
parameter_default_values?: /** @record-batch */ Uint8Array | null;
|
|
481
|
-
arguments_schema?: /** @arrow-schema */ Uint8Array | null;
|
|
482
581
|
transaction_opaque_data?: Uint8Array | null;
|
|
483
582
|
}
|
|
484
583
|
|
|
@@ -486,6 +585,43 @@ export interface MacrosResponse {
|
|
|
486
585
|
items: MacroInfo[];
|
|
487
586
|
}
|
|
488
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
|
+
|
|
489
625
|
export interface FunctionsResponse {
|
|
490
626
|
items: FunctionInfo[];
|
|
491
627
|
}
|
|
@@ -502,18 +638,32 @@ export interface SchemasResponse {
|
|
|
502
638
|
items: SchemaInfo[];
|
|
503
639
|
}
|
|
504
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
|
+
|
|
505
655
|
export interface TableCreateRequest {
|
|
506
656
|
attach_opaque_data: Uint8Array;
|
|
507
657
|
schema_path: string[];
|
|
508
658
|
name: string;
|
|
509
659
|
columns: Uint8Array;
|
|
510
660
|
on_conflict: OnConflict;
|
|
511
|
-
|
|
512
|
-
unique_constraints: number[][];
|
|
513
|
-
check_constraints: string[];
|
|
514
|
-
primary_key_constraints: number[][];
|
|
515
|
-
foreign_key_constraints: Uint8Array[];
|
|
661
|
+
constraint_definitions: Uint8Array[];
|
|
516
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;
|
|
517
667
|
}
|
|
518
668
|
|
|
519
669
|
export interface TransactionBeginResponse {
|
|
@@ -525,7 +675,7 @@ export interface CatalogVersionResponse {
|
|
|
525
675
|
}
|
|
526
676
|
|
|
527
677
|
export interface InitRequest {
|
|
528
|
-
bind_call: BindRequest;
|
|
678
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
529
679
|
output_schema: /** @arrow-schema */ Uint8Array;
|
|
530
680
|
bind_opaque_data?: Uint8Array | null;
|
|
531
681
|
projection_ids?: number[] | null;
|
|
@@ -585,7 +735,7 @@ export interface TableBufferingProcessResponse {
|
|
|
585
735
|
}
|
|
586
736
|
|
|
587
737
|
export interface TableFunctionCardinalityRequest {
|
|
588
|
-
bind_call: BindRequest;
|
|
738
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
589
739
|
bind_opaque_data?: Uint8Array | null;
|
|
590
740
|
}
|
|
591
741
|
|
|
@@ -595,7 +745,7 @@ export interface TableCardinality {
|
|
|
595
745
|
}
|
|
596
746
|
|
|
597
747
|
export interface TableFunctionDynamicToStringRequest {
|
|
598
|
-
bind_call: BindRequest;
|
|
748
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
599
749
|
bind_opaque_data?: Uint8Array | null;
|
|
600
750
|
global_execution_id: Uint8Array;
|
|
601
751
|
}
|
|
@@ -606,7 +756,7 @@ export interface TableFunctionDynamicToStringResponse {
|
|
|
606
756
|
}
|
|
607
757
|
|
|
608
758
|
export interface TableFunctionPlanRequest {
|
|
609
|
-
bind_call: BindRequest;
|
|
759
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
610
760
|
bind_opaque_data?: Uint8Array | null;
|
|
611
761
|
projection_ids?: number[] | null;
|
|
612
762
|
pushdown_filters?: /** @record-batch */ Uint8Array | null;
|
|
@@ -660,8 +810,20 @@ export interface PlanResponse {
|
|
|
660
810
|
end_position?: Uint8Array | null;
|
|
661
811
|
}
|
|
662
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
|
+
|
|
663
825
|
export interface TableFunctionStatisticsRequest {
|
|
664
|
-
bind_call: BindRequest;
|
|
826
|
+
bind_call: /** @ipc-record BindRequest */ Uint8Array;
|
|
665
827
|
bind_opaque_data?: Uint8Array | null;
|
|
666
828
|
}
|
|
667
829
|
|