@databricks/sdk-features 0.49.0 → 0.53.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/dist/package.js +1 -1
- package/dist/v1/client.d.ts +52 -2
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +185 -3
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -3
- package/dist/v1/index.js +3 -3
- package/dist/v1/model.d.ts +866 -4
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +478 -42
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.js +11 -3
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +13 -1
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +19 -2
- package/dist/v1/utils.js.map +1 -1
- package/package.json +4 -4
package/dist/v1/model.js
CHANGED
|
@@ -1,8 +1,108 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
3
|
import { FieldMask } from "@databricks/sdk-core/wkt";
|
|
3
|
-
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/v1/model.ts
|
|
6
|
+
/** Error codes returned by Databricks APIs to indicate specific failure conditions. */
|
|
7
|
+
const ErrorCode = {
|
|
8
|
+
UNKNOWN: "UNKNOWN",
|
|
9
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
10
|
+
TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE",
|
|
11
|
+
IO_ERROR: "IO_ERROR",
|
|
12
|
+
BAD_REQUEST: "BAD_REQUEST",
|
|
13
|
+
SERVICE_UNDER_MAINTENANCE: "SERVICE_UNDER_MAINTENANCE",
|
|
14
|
+
WORKSPACE_TEMPORARILY_UNAVAILABLE: "WORKSPACE_TEMPORARILY_UNAVAILABLE",
|
|
15
|
+
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED",
|
|
16
|
+
CANCELLED: "CANCELLED",
|
|
17
|
+
RESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED",
|
|
18
|
+
ABORTED: "ABORTED",
|
|
19
|
+
NOT_FOUND: "NOT_FOUND",
|
|
20
|
+
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
21
|
+
UNAUTHENTICATED: "UNAUTHENTICATED",
|
|
22
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
23
|
+
INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
|
|
24
|
+
ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND",
|
|
25
|
+
MALFORMED_REQUEST: "MALFORMED_REQUEST",
|
|
26
|
+
INVALID_STATE: "INVALID_STATE",
|
|
27
|
+
PERMISSION_DENIED: "PERMISSION_DENIED",
|
|
28
|
+
FEATURE_DISABLED: "FEATURE_DISABLED",
|
|
29
|
+
CUSTOMER_UNAUTHORIZED: "CUSTOMER_UNAUTHORIZED",
|
|
30
|
+
REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED",
|
|
31
|
+
RESOURCE_CONFLICT: "RESOURCE_CONFLICT",
|
|
32
|
+
UNPARSEABLE_HTTP_ERROR: "UNPARSEABLE_HTTP_ERROR",
|
|
33
|
+
NOT_IMPLEMENTED: "NOT_IMPLEMENTED",
|
|
34
|
+
DATA_LOSS: "DATA_LOSS",
|
|
35
|
+
INVALID_STATE_TRANSITION: "INVALID_STATE_TRANSITION",
|
|
36
|
+
COULD_NOT_ACQUIRE_LOCK: "COULD_NOT_ACQUIRE_LOCK",
|
|
37
|
+
RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS",
|
|
38
|
+
RESOURCE_DOES_NOT_EXIST: "RESOURCE_DOES_NOT_EXIST",
|
|
39
|
+
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
40
|
+
MAX_BLOCK_SIZE_EXCEEDED: "MAX_BLOCK_SIZE_EXCEEDED",
|
|
41
|
+
MAX_READ_SIZE_EXCEEDED: "MAX_READ_SIZE_EXCEEDED",
|
|
42
|
+
PARTIAL_DELETE: "PARTIAL_DELETE",
|
|
43
|
+
MAX_LIST_SIZE_EXCEEDED: "MAX_LIST_SIZE_EXCEEDED",
|
|
44
|
+
DRY_RUN_FAILED: "DRY_RUN_FAILED",
|
|
45
|
+
RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED",
|
|
46
|
+
DIRECTORY_NOT_EMPTY: "DIRECTORY_NOT_EMPTY",
|
|
47
|
+
DIRECTORY_PROTECTED: "DIRECTORY_PROTECTED",
|
|
48
|
+
MAX_NOTEBOOK_SIZE_EXCEEDED: "MAX_NOTEBOOK_SIZE_EXCEEDED",
|
|
49
|
+
MAX_CHILD_NODE_SIZE_EXCEEDED: "MAX_CHILD_NODE_SIZE_EXCEEDED",
|
|
50
|
+
SEARCH_QUERY_TOO_LONG: "SEARCH_QUERY_TOO_LONG",
|
|
51
|
+
SEARCH_QUERY_TOO_SHORT: "SEARCH_QUERY_TOO_SHORT",
|
|
52
|
+
MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST",
|
|
53
|
+
PERMISSION_NOT_PROPAGATED: "PERMISSION_NOT_PROPAGATED",
|
|
54
|
+
DEPLOYMENT_TIMEOUT: "DEPLOYMENT_TIMEOUT",
|
|
55
|
+
GIT_CONFLICT: "GIT_CONFLICT",
|
|
56
|
+
GIT_UNKNOWN_REF: "GIT_UNKNOWN_REF",
|
|
57
|
+
GIT_SENSITIVE_TOKEN_DETECTED: "GIT_SENSITIVE_TOKEN_DETECTED",
|
|
58
|
+
GIT_URL_NOT_ON_ALLOW_LIST: "GIT_URL_NOT_ON_ALLOW_LIST",
|
|
59
|
+
GIT_REMOTE_ERROR: "GIT_REMOTE_ERROR",
|
|
60
|
+
PROJECTS_OPERATION_TIMEOUT: "PROJECTS_OPERATION_TIMEOUT",
|
|
61
|
+
IPYNB_FILE_IN_REPO: "IPYNB_FILE_IN_REPO",
|
|
62
|
+
INSECURE_PARTNER_RESPONSE: "INSECURE_PARTNER_RESPONSE",
|
|
63
|
+
MALFORMED_PARTNER_RESPONSE: "MALFORMED_PARTNER_RESPONSE",
|
|
64
|
+
METASTORE_DOES_NOT_EXIST: "METASTORE_DOES_NOT_EXIST",
|
|
65
|
+
DAC_DOES_NOT_EXIST: "DAC_DOES_NOT_EXIST",
|
|
66
|
+
CATALOG_DOES_NOT_EXIST: "CATALOG_DOES_NOT_EXIST",
|
|
67
|
+
SCHEMA_DOES_NOT_EXIST: "SCHEMA_DOES_NOT_EXIST",
|
|
68
|
+
TABLE_DOES_NOT_EXIST: "TABLE_DOES_NOT_EXIST",
|
|
69
|
+
SHARE_DOES_NOT_EXIST: "SHARE_DOES_NOT_EXIST",
|
|
70
|
+
RECIPIENT_DOES_NOT_EXIST: "RECIPIENT_DOES_NOT_EXIST",
|
|
71
|
+
STORAGE_CREDENTIAL_DOES_NOT_EXIST: "STORAGE_CREDENTIAL_DOES_NOT_EXIST",
|
|
72
|
+
EXTERNAL_LOCATION_DOES_NOT_EXIST: "EXTERNAL_LOCATION_DOES_NOT_EXIST",
|
|
73
|
+
PRINCIPAL_DOES_NOT_EXIST: "PRINCIPAL_DOES_NOT_EXIST",
|
|
74
|
+
PROVIDER_DOES_NOT_EXIST: "PROVIDER_DOES_NOT_EXIST",
|
|
75
|
+
METASTORE_ALREADY_EXISTS: "METASTORE_ALREADY_EXISTS",
|
|
76
|
+
DAC_ALREADY_EXISTS: "DAC_ALREADY_EXISTS",
|
|
77
|
+
CATALOG_ALREADY_EXISTS: "CATALOG_ALREADY_EXISTS",
|
|
78
|
+
SCHEMA_ALREADY_EXISTS: "SCHEMA_ALREADY_EXISTS",
|
|
79
|
+
TABLE_ALREADY_EXISTS: "TABLE_ALREADY_EXISTS",
|
|
80
|
+
SHARE_ALREADY_EXISTS: "SHARE_ALREADY_EXISTS",
|
|
81
|
+
RECIPIENT_ALREADY_EXISTS: "RECIPIENT_ALREADY_EXISTS",
|
|
82
|
+
STORAGE_CREDENTIAL_ALREADY_EXISTS: "STORAGE_CREDENTIAL_ALREADY_EXISTS",
|
|
83
|
+
EXTERNAL_LOCATION_ALREADY_EXISTS: "EXTERNAL_LOCATION_ALREADY_EXISTS",
|
|
84
|
+
PROVIDER_ALREADY_EXISTS: "PROVIDER_ALREADY_EXISTS",
|
|
85
|
+
CATALOG_NOT_EMPTY: "CATALOG_NOT_EMPTY",
|
|
86
|
+
SCHEMA_NOT_EMPTY: "SCHEMA_NOT_EMPTY",
|
|
87
|
+
METASTORE_NOT_EMPTY: "METASTORE_NOT_EMPTY",
|
|
88
|
+
PROVIDER_SHARE_NOT_ACCESSIBLE: "PROVIDER_SHARE_NOT_ACCESSIBLE"
|
|
89
|
+
};
|
|
90
|
+
const FunctionFunctionType = {
|
|
91
|
+
FUNCTION_TYPE_UNSPECIFIED: "FUNCTION_TYPE_UNSPECIFIED",
|
|
92
|
+
AVG: "AVG",
|
|
93
|
+
COUNT: "COUNT",
|
|
94
|
+
SUM: "SUM",
|
|
95
|
+
MIN: "MIN",
|
|
96
|
+
MAX: "MAX",
|
|
97
|
+
FIRST: "FIRST",
|
|
98
|
+
LAST: "LAST",
|
|
99
|
+
APPROX_COUNT_DISTINCT: "APPROX_COUNT_DISTINCT",
|
|
100
|
+
APPROX_PERCENTILE: "APPROX_PERCENTILE",
|
|
101
|
+
STDDEV_POP: "STDDEV_POP",
|
|
102
|
+
STDDEV_SAMP: "STDDEV_SAMP",
|
|
103
|
+
VAR_POP: "VAR_POP",
|
|
104
|
+
VAR_SAMP: "VAR_SAMP"
|
|
105
|
+
};
|
|
6
106
|
/**
|
|
7
107
|
* Scalar data types for request-time field definitions.
|
|
8
108
|
* Only flat (non-nested) types are supported.
|
|
@@ -21,12 +121,43 @@ const ScalarDataType = {
|
|
|
21
121
|
BINARY: "BINARY",
|
|
22
122
|
DECIMAL: "DECIMAL"
|
|
23
123
|
};
|
|
124
|
+
/** Lifecycle state of a backfill. */
|
|
125
|
+
const BackfillOperationMetadata_State = {
|
|
126
|
+
STATE_UNSPECIFIED: "STATE_UNSPECIFIED",
|
|
127
|
+
PENDING: "PENDING",
|
|
128
|
+
RUNNING: "RUNNING",
|
|
129
|
+
SUCCEEDED: "SUCCEEDED",
|
|
130
|
+
FAILED: "FAILED",
|
|
131
|
+
CANCELLED: "CANCELLED"
|
|
132
|
+
};
|
|
133
|
+
/** The way a materialization schedule is arrived at. */
|
|
134
|
+
const CronSchedule_Mode = {
|
|
135
|
+
MODE_UNSPECIFIED: "MODE_UNSPECIFIED",
|
|
136
|
+
MANUAL: "MANUAL",
|
|
137
|
+
DERIVED: "DERIVED"
|
|
138
|
+
};
|
|
24
139
|
const MaterializedFeature_PipelineScheduleState = {
|
|
25
140
|
PIPELINE_SCHEDULE_STATE_UNSPECIFIED: "PIPELINE_SCHEDULE_STATE_UNSPECIFIED",
|
|
26
141
|
SNAPSHOT: "SNAPSHOT",
|
|
27
142
|
ACTIVE: "ACTIVE",
|
|
28
143
|
PAUSED: "PAUSED"
|
|
29
144
|
};
|
|
145
|
+
/** Lifecycle state of a feature entity purge. */
|
|
146
|
+
const PurgeFeatureEntitiesMetadata_State = {
|
|
147
|
+
STATE_UNSPECIFIED: "STATE_UNSPECIFIED",
|
|
148
|
+
PENDING: "PENDING",
|
|
149
|
+
RUNNING: "RUNNING",
|
|
150
|
+
SUCCEEDED: "SUCCEEDED",
|
|
151
|
+
FAILED: "FAILED",
|
|
152
|
+
CANCELLED: "CANCELLED"
|
|
153
|
+
};
|
|
154
|
+
/** Terminal state of a purge for one store type. */
|
|
155
|
+
const PurgeFeatureEntitiesResult_State = {
|
|
156
|
+
STATE_UNSPECIFIED: "STATE_UNSPECIFIED",
|
|
157
|
+
SUCCEEDED: "SUCCEEDED",
|
|
158
|
+
FAILED: "FAILED",
|
|
159
|
+
NOT_APPLICABLE: "NOT_APPLICABLE"
|
|
160
|
+
};
|
|
30
161
|
/** Supported serialization formats for a schema registry schema. */
|
|
31
162
|
const SchemaLocator_Format = {
|
|
32
163
|
FORMAT_UNSPECIFIED: "FORMAT_UNSPECIFIED",
|
|
@@ -113,6 +244,17 @@ const unmarshalAggregationFunctionSchema = z.object({
|
|
|
113
244
|
} : void 0,
|
|
114
245
|
timeWindow: d.time_window
|
|
115
246
|
}));
|
|
247
|
+
const unmarshalApiErrorSchema = z.object({
|
|
248
|
+
error_code: z.string().optional(),
|
|
249
|
+
message: z.string().optional(),
|
|
250
|
+
stack_trace: z.string().optional(),
|
|
251
|
+
details: z.array(z.record(z.string(), z.unknown())).optional()
|
|
252
|
+
}).transform((d) => ({
|
|
253
|
+
errorCode: d.error_code,
|
|
254
|
+
message: d.message,
|
|
255
|
+
stackTrace: d.stack_trace,
|
|
256
|
+
details: d.details
|
|
257
|
+
}));
|
|
116
258
|
const unmarshalApproxCountDistinctFunctionSchema = z.object({
|
|
117
259
|
input: z.string().optional(),
|
|
118
260
|
relative_sd: z.number().optional()
|
|
@@ -144,6 +286,23 @@ const unmarshalAuthConfigSchema = z.object({
|
|
|
144
286
|
mtlsConfig: d.mtls_config
|
|
145
287
|
} : void 0 }));
|
|
146
288
|
const unmarshalAvgFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
289
|
+
const unmarshalBackfillFeaturesResponseSchema = z.object({});
|
|
290
|
+
const unmarshalBackfillOperationMetadataSchema = z.object({
|
|
291
|
+
feature_full_names: z.array(z.string()).optional(),
|
|
292
|
+
backfill_ranges: z.array(z.lazy(() => unmarshalBackfillRangeSchema)).optional(),
|
|
293
|
+
state: z.string().optional()
|
|
294
|
+
}).transform((d) => ({
|
|
295
|
+
featureFullNames: d.feature_full_names,
|
|
296
|
+
backfillRanges: d.backfill_ranges,
|
|
297
|
+
state: d.state
|
|
298
|
+
}));
|
|
299
|
+
const unmarshalBackfillRangeSchema = z.object({
|
|
300
|
+
start_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
301
|
+
end_time: z.string().transform((s) => Temporal.Instant.from(s)).optional()
|
|
302
|
+
}).transform((d) => ({
|
|
303
|
+
startTime: d.start_time,
|
|
304
|
+
endTime: d.end_time
|
|
305
|
+
}));
|
|
147
306
|
const unmarshalBackfillSourceSchema = z.object({
|
|
148
307
|
delta_table_source: z.lazy(() => unmarshalDeltaTableSourceSchema).optional(),
|
|
149
308
|
delta_table_name: z.string().optional()
|
|
@@ -155,9 +314,25 @@ const unmarshalBackfillSourceSchema = z.object({
|
|
|
155
314
|
deltaTableName: d.delta_table_name
|
|
156
315
|
} : void 0 }));
|
|
157
316
|
const unmarshalBatchCreateMaterializedFeaturesResponseSchema = z.object({ materialized_features: z.array(z.lazy(() => unmarshalMaterializedFeatureSchema)).optional() }).transform((d) => ({ materializedFeatures: d.materialized_features }));
|
|
317
|
+
const unmarshalColumnIdentifierSchema = z.object({ variant_expr_path: z.string().optional() }).transform((d) => ({ variantExprPath: d.variant_expr_path }));
|
|
158
318
|
const unmarshalColumnSelectionSchema = z.object({ column: z.string().optional() }).transform((d) => ({ column: d.column }));
|
|
319
|
+
const unmarshalContinuousWindowSchema = z.object({
|
|
320
|
+
window_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
321
|
+
offset: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional()
|
|
322
|
+
}).transform((d) => ({
|
|
323
|
+
windowDuration: d.window_duration,
|
|
324
|
+
offset: d.offset
|
|
325
|
+
}));
|
|
159
326
|
const unmarshalCountFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
160
|
-
const unmarshalCronScheduleSchema = z.object({
|
|
327
|
+
const unmarshalCronScheduleSchema = z.object({
|
|
328
|
+
cron_expression: z.string().optional(),
|
|
329
|
+
mode: z.string().optional(),
|
|
330
|
+
timezone_id: z.string().optional()
|
|
331
|
+
}).transform((d) => ({
|
|
332
|
+
cronExpression: d.cron_expression,
|
|
333
|
+
mode: d.mode,
|
|
334
|
+
timezoneId: d.timezone_id
|
|
335
|
+
}));
|
|
161
336
|
const unmarshalCustomUdfSchema = z.object({
|
|
162
337
|
function_path: z.string().optional(),
|
|
163
338
|
input_bindings: z.array(z.lazy(() => unmarshalInputBindingSchema)).optional()
|
|
@@ -170,6 +345,7 @@ const unmarshalDataSourceSchema = z.object({
|
|
|
170
345
|
kafka_source: z.lazy(() => unmarshalKafkaSourceSchema).optional(),
|
|
171
346
|
request_source: z.lazy(() => unmarshalRequestSourceSchema).optional(),
|
|
172
347
|
stream_source: z.lazy(() => unmarshalStreamSourceSchema).optional(),
|
|
348
|
+
feature_view_source: z.lazy(() => unmarshalFeatureViewSourceSchema).optional(),
|
|
173
349
|
lateness: z.lazy(() => unmarshalSourceLatenessSchema).optional()
|
|
174
350
|
}).transform((d) => ({
|
|
175
351
|
dataSource: d.delta_table_source !== void 0 ? {
|
|
@@ -184,16 +360,23 @@ const unmarshalDataSourceSchema = z.object({
|
|
|
184
360
|
} : d.stream_source !== void 0 ? {
|
|
185
361
|
$case: "streamSource",
|
|
186
362
|
streamSource: d.stream_source
|
|
363
|
+
} : d.feature_view_source !== void 0 ? {
|
|
364
|
+
$case: "featureViewSource",
|
|
365
|
+
featureViewSource: d.feature_view_source
|
|
187
366
|
} : void 0,
|
|
188
367
|
lateness: d.lateness
|
|
189
368
|
}));
|
|
190
369
|
const unmarshalDeltaTableSourceSchema = z.object({
|
|
191
370
|
full_name: z.string().optional(),
|
|
371
|
+
entity_columns: z.array(z.string()).optional(),
|
|
372
|
+
timeseries_column: z.string().optional(),
|
|
192
373
|
filter_condition: z.string().optional(),
|
|
193
374
|
transformation_sql: z.string().optional(),
|
|
194
375
|
dataframe_schema: z.string().optional()
|
|
195
376
|
}).transform((d) => ({
|
|
196
377
|
fullName: d.full_name,
|
|
378
|
+
entityColumns: d.entity_columns,
|
|
379
|
+
timeseriesColumn: d.timeseries_column,
|
|
197
380
|
filterCondition: d.filter_condition,
|
|
198
381
|
transformationSql: d.transformation_sql,
|
|
199
382
|
dataframeSchema: d.dataframe_schema
|
|
@@ -216,8 +399,11 @@ const unmarshalEntityColumnSchema = z.object({ name: z.string().optional() }).tr
|
|
|
216
399
|
const unmarshalFeatureSchema = z.object({
|
|
217
400
|
full_name: z.string().optional(),
|
|
218
401
|
source: z.lazy(() => unmarshalDataSourceSchema).optional(),
|
|
402
|
+
inputs: z.array(z.string()).optional(),
|
|
219
403
|
function: z.lazy(() => unmarshalFunctionSchema).optional(),
|
|
404
|
+
time_window: z.lazy(() => unmarshalTimeWindowSchema).optional(),
|
|
220
405
|
description: z.string().optional(),
|
|
406
|
+
filter_condition: z.string().optional(),
|
|
221
407
|
lineage_context: z.lazy(() => unmarshalLineageContextSchema).optional(),
|
|
222
408
|
entities: z.array(z.lazy(() => unmarshalEntityColumnSchema)).optional(),
|
|
223
409
|
timeseries_column: z.lazy(() => unmarshalTimeseriesColumnSchema).optional(),
|
|
@@ -229,8 +415,11 @@ const unmarshalFeatureSchema = z.object({
|
|
|
229
415
|
}).transform((d) => ({
|
|
230
416
|
fullName: d.full_name,
|
|
231
417
|
source: d.source,
|
|
418
|
+
inputs: d.inputs,
|
|
232
419
|
function: d.function,
|
|
420
|
+
timeWindow: d.time_window,
|
|
233
421
|
description: d.description,
|
|
422
|
+
filterCondition: d.filter_condition,
|
|
234
423
|
lineageContext: d.lineage_context,
|
|
235
424
|
entities: d.entities,
|
|
236
425
|
timeseriesColumn: d.timeseries_column,
|
|
@@ -240,6 +429,8 @@ const unmarshalFeatureSchema = z.object({
|
|
|
240
429
|
createdAt: d.created_at,
|
|
241
430
|
createdBy: d.created_by
|
|
242
431
|
}));
|
|
432
|
+
const unmarshalFeatureReferenceSchema = z.object({ feature: z.string().optional() }).transform((d) => ({ feature: d.feature }));
|
|
433
|
+
const unmarshalFeatureViewSourceSchema = z.object({ feature_references: z.array(z.lazy(() => unmarshalFeatureReferenceSchema)).optional() }).transform((d) => ({ featureReferences: d.feature_references }));
|
|
243
434
|
const unmarshalFieldDefinitionSchema = z.object({
|
|
244
435
|
name: z.string().optional(),
|
|
245
436
|
data_type: z.string().optional()
|
|
@@ -272,19 +463,32 @@ const unmarshalFirstNFunctionSchema = z.object({
|
|
|
272
463
|
}));
|
|
273
464
|
const unmarshalFlatSchemaSchema = z.object({ fields: z.array(z.lazy(() => unmarshalFieldDefinitionSchema)).optional() }).transform((d) => ({ fields: d.fields }));
|
|
274
465
|
const unmarshalFunctionSchema = z.object({
|
|
466
|
+
function_type: z.string().optional(),
|
|
467
|
+
extra_parameters: z.array(z.lazy(() => unmarshalFunctionExtraParameterSchema)).optional(),
|
|
275
468
|
aggregation_function: z.lazy(() => unmarshalAggregationFunctionSchema).optional(),
|
|
276
469
|
column_selection: z.lazy(() => unmarshalColumnSelectionSchema).optional(),
|
|
277
470
|
custom_udf: z.lazy(() => unmarshalCustomUdfSchema).optional()
|
|
278
|
-
}).transform((d) => ({
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
} : d.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
} : void 0
|
|
471
|
+
}).transform((d) => ({
|
|
472
|
+
functionType: d.function_type,
|
|
473
|
+
extraParameters: d.extra_parameters,
|
|
474
|
+
function: d.aggregation_function !== void 0 ? {
|
|
475
|
+
$case: "aggregationFunction",
|
|
476
|
+
aggregationFunction: d.aggregation_function
|
|
477
|
+
} : d.column_selection !== void 0 ? {
|
|
478
|
+
$case: "columnSelection",
|
|
479
|
+
columnSelection: d.column_selection
|
|
480
|
+
} : d.custom_udf !== void 0 ? {
|
|
481
|
+
$case: "customUdf",
|
|
482
|
+
customUdf: d.custom_udf
|
|
483
|
+
} : void 0
|
|
484
|
+
}));
|
|
485
|
+
const unmarshalFunctionExtraParameterSchema = z.object({
|
|
486
|
+
key: z.string().optional(),
|
|
487
|
+
value: z.string().optional()
|
|
488
|
+
}).transform((d) => ({
|
|
489
|
+
key: d.key,
|
|
490
|
+
value: d.value
|
|
491
|
+
}));
|
|
288
492
|
const unmarshalIngestionConfigSchema = z.object({
|
|
289
493
|
ingestion_destination: z.lazy(() => unmarshalIngestionDestinationSchema).optional(),
|
|
290
494
|
backfill_source: z.lazy(() => unmarshalBackfillSourceSchema).optional(),
|
|
@@ -299,14 +503,18 @@ const unmarshalIngestionConfigSchema = z.object({
|
|
|
299
503
|
z.number(),
|
|
300
504
|
z.bigint(),
|
|
301
505
|
z.string()
|
|
302
|
-
]).transform((v) => BigInt(v)).optional()
|
|
506
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
507
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
508
|
+
budget_policy_id: z.string().optional()
|
|
303
509
|
}).transform((d) => ({
|
|
304
510
|
ingestionDestination: d.ingestion_destination,
|
|
305
511
|
backfillSource: d.backfill_source,
|
|
306
512
|
deduplicationColumns: d.deduplication_columns,
|
|
307
513
|
ingestionPipelineId: d.ingestion_pipeline_id,
|
|
308
514
|
ingestionJobId: d.ingestion_job_id,
|
|
309
|
-
backfillJobId: d.backfill_job_id
|
|
515
|
+
backfillJobId: d.backfill_job_id,
|
|
516
|
+
tags: d.tags,
|
|
517
|
+
budgetPolicyId: d.budget_policy_id
|
|
310
518
|
}));
|
|
311
519
|
const unmarshalIngestionDestinationSchema = z.object({ delta_table_name: z.string().optional() }).transform((d) => ({ ingestionDestination: d.delta_table_name !== void 0 ? {
|
|
312
520
|
$case: "deltaTableName",
|
|
@@ -357,9 +565,13 @@ const unmarshalKafkaConfigSchema = z.object({
|
|
|
357
565
|
}));
|
|
358
566
|
const unmarshalKafkaSourceSchema = z.object({
|
|
359
567
|
name: z.string().optional(),
|
|
568
|
+
entity_column_identifiers: z.array(z.lazy(() => unmarshalColumnIdentifierSchema)).optional(),
|
|
569
|
+
timeseries_column_identifier: z.lazy(() => unmarshalColumnIdentifierSchema).optional(),
|
|
360
570
|
filter_condition: z.string().optional()
|
|
361
571
|
}).transform((d) => ({
|
|
362
572
|
name: d.name,
|
|
573
|
+
entityColumnIdentifiers: d.entity_column_identifiers,
|
|
574
|
+
timeseriesColumnIdentifier: d.timeseries_column_identifier,
|
|
363
575
|
filterCondition: d.filter_condition
|
|
364
576
|
}));
|
|
365
577
|
const unmarshalKafkaStreamConfigSchema = z.object({
|
|
@@ -467,10 +679,14 @@ const unmarshalMaterializedFeatureSchema = z.object({
|
|
|
467
679
|
table_name: z.string().optional(),
|
|
468
680
|
pipeline_schedule_state: z.string().optional(),
|
|
469
681
|
last_materialization_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
682
|
+
cron_schedule: z.string().optional(),
|
|
470
683
|
is_online: z.boolean().optional(),
|
|
471
684
|
cron_schedule_trigger: z.lazy(() => unmarshalCronScheduleSchema).optional(),
|
|
472
685
|
table_trigger: z.lazy(() => unmarshalTableTriggerSchema).optional(),
|
|
473
|
-
streaming_mode: z.lazy(() => unmarshalStreamingModeSchema).optional()
|
|
686
|
+
streaming_mode: z.lazy(() => unmarshalStreamingModeSchema).optional(),
|
|
687
|
+
latest_backfill_operation: z.string().optional(),
|
|
688
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
689
|
+
budget_policy_id: z.string().optional()
|
|
474
690
|
}).transform((d) => ({
|
|
475
691
|
materializedFeatureId: d.materialized_feature_id,
|
|
476
692
|
featureName: d.feature_name,
|
|
@@ -484,6 +700,7 @@ const unmarshalMaterializedFeatureSchema = z.object({
|
|
|
484
700
|
tableName: d.table_name,
|
|
485
701
|
pipelineScheduleState: d.pipeline_schedule_state,
|
|
486
702
|
lastMaterializationTime: d.last_materialization_time,
|
|
703
|
+
cronSchedule: d.cron_schedule,
|
|
487
704
|
isOnline: d.is_online,
|
|
488
705
|
trigger: d.cron_schedule_trigger !== void 0 ? {
|
|
489
706
|
$case: "cronScheduleTrigger",
|
|
@@ -494,7 +711,10 @@ const unmarshalMaterializedFeatureSchema = z.object({
|
|
|
494
711
|
} : d.streaming_mode !== void 0 ? {
|
|
495
712
|
$case: "streamingMode",
|
|
496
713
|
streamingMode: d.streaming_mode
|
|
497
|
-
} : void 0
|
|
714
|
+
} : void 0,
|
|
715
|
+
latestBackfillOperation: d.latest_backfill_operation,
|
|
716
|
+
tags: d.tags,
|
|
717
|
+
budgetPolicyId: d.budget_policy_id
|
|
498
718
|
}));
|
|
499
719
|
const unmarshalMaxFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
500
720
|
const unmarshalMinFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
@@ -533,6 +753,24 @@ const unmarshalOnlineStoreConfigSchema = z.object({
|
|
|
533
753
|
tableNamePrefix: d.table_name_prefix,
|
|
534
754
|
onlineStoreName: d.online_store_name
|
|
535
755
|
}));
|
|
756
|
+
const unmarshalOperationSchema = z.object({
|
|
757
|
+
name: z.string().optional(),
|
|
758
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
759
|
+
done: z.boolean().optional(),
|
|
760
|
+
error: z.lazy(() => unmarshalApiErrorSchema).optional(),
|
|
761
|
+
response: z.record(z.string(), z.unknown()).optional()
|
|
762
|
+
}).transform((d) => ({
|
|
763
|
+
name: d.name,
|
|
764
|
+
metadata: d.metadata,
|
|
765
|
+
done: d.done,
|
|
766
|
+
result: d.error !== void 0 ? {
|
|
767
|
+
$case: "error",
|
|
768
|
+
error: d.error
|
|
769
|
+
} : d.response !== void 0 ? {
|
|
770
|
+
$case: "response",
|
|
771
|
+
response: d.response
|
|
772
|
+
} : void 0
|
|
773
|
+
}));
|
|
536
774
|
const unmarshalProtoSchemaSpecSchema = z.object({
|
|
537
775
|
schema_text: z.string().optional(),
|
|
538
776
|
message_name: z.string().optional()
|
|
@@ -540,6 +778,47 @@ const unmarshalProtoSchemaSpecSchema = z.object({
|
|
|
540
778
|
schemaText: d.schema_text,
|
|
541
779
|
messageName: d.message_name
|
|
542
780
|
}));
|
|
781
|
+
const unmarshalPurgeFeatureEntitiesMetadataSchema = z.object({
|
|
782
|
+
features: z.array(z.string()).optional(),
|
|
783
|
+
entities_table: z.string().optional(),
|
|
784
|
+
entities_table_version: z.string().optional(),
|
|
785
|
+
create_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
786
|
+
state: z.string().optional(),
|
|
787
|
+
job_id: z.union([
|
|
788
|
+
z.number(),
|
|
789
|
+
z.bigint(),
|
|
790
|
+
z.string()
|
|
791
|
+
]).transform((v) => BigInt(v)).optional()
|
|
792
|
+
}).transform((d) => ({
|
|
793
|
+
features: d.features,
|
|
794
|
+
entitiesTable: d.entities_table,
|
|
795
|
+
entitiesTableVersion: d.entities_table_version,
|
|
796
|
+
createTime: d.create_time,
|
|
797
|
+
state: d.state,
|
|
798
|
+
jobId: d.job_id
|
|
799
|
+
}));
|
|
800
|
+
const unmarshalPurgeFeatureEntitiesResponseSchema = z.object({
|
|
801
|
+
metadata: z.lazy(() => unmarshalPurgeFeatureEntitiesMetadataSchema).optional(),
|
|
802
|
+
results: z.array(z.lazy(() => unmarshalPurgeFeatureEntitiesResultSchema)).optional(),
|
|
803
|
+
state: z.string().optional(),
|
|
804
|
+
error: z.lazy(() => unmarshalApiErrorSchema).optional()
|
|
805
|
+
}).transform((d) => ({
|
|
806
|
+
metadata: d.metadata,
|
|
807
|
+
results: d.results,
|
|
808
|
+
state: d.state,
|
|
809
|
+
error: d.error
|
|
810
|
+
}));
|
|
811
|
+
const unmarshalPurgeFeatureEntitiesResultSchema = z.object({
|
|
812
|
+
feature: z.string().optional(),
|
|
813
|
+
offline_state: z.string().optional(),
|
|
814
|
+
online_state: z.string().optional(),
|
|
815
|
+
error: z.lazy(() => unmarshalApiErrorSchema).optional()
|
|
816
|
+
}).transform((d) => ({
|
|
817
|
+
feature: d.feature,
|
|
818
|
+
offlineState: d.offline_state,
|
|
819
|
+
onlineState: d.online_state,
|
|
820
|
+
error: d.error
|
|
821
|
+
}));
|
|
543
822
|
const unmarshalRequestSourceSchema = z.object({ flat_schema: z.lazy(() => unmarshalFlatSchemaSchema).optional() }).transform((d) => ({ schema: d.flat_schema !== void 0 ? {
|
|
544
823
|
$case: "flatSchema",
|
|
545
824
|
flatSchema: d.flat_schema
|
|
@@ -622,6 +901,8 @@ const unmarshalStreamSchema = z.object({
|
|
|
622
901
|
connection_config: z.lazy(() => unmarshalStreamConnectionConfigSchema).optional(),
|
|
623
902
|
schema_config: z.lazy(() => unmarshalStreamSchemaConfigSchema).optional(),
|
|
624
903
|
ingestion_config: z.lazy(() => unmarshalIngestionConfigSchema).optional(),
|
|
904
|
+
record_type_filter: z.string().optional(),
|
|
905
|
+
excluded_columns: z.array(z.string()).optional(),
|
|
625
906
|
create_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
626
907
|
created_by: z.string().optional(),
|
|
627
908
|
update_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
@@ -634,6 +915,8 @@ const unmarshalStreamSchema = z.object({
|
|
|
634
915
|
connectionConfig: d.connection_config,
|
|
635
916
|
schemaConfig: d.schema_config,
|
|
636
917
|
ingestionConfig: d.ingestion_config,
|
|
918
|
+
recordTypeFilter: d.record_type_filter,
|
|
919
|
+
excludedColumns: d.excluded_columns,
|
|
637
920
|
createTime: d.create_time,
|
|
638
921
|
createdBy: d.created_by,
|
|
639
922
|
updateTime: d.update_time,
|
|
@@ -707,13 +990,17 @@ const unmarshalSubscriptionModeSchema = z.object({
|
|
|
707
990
|
const unmarshalSumFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
708
991
|
const unmarshalTableTriggerSchema = z.object({});
|
|
709
992
|
const unmarshalTimeWindowSchema = z.object({
|
|
993
|
+
continuous: z.lazy(() => unmarshalContinuousWindowSchema).optional(),
|
|
710
994
|
tumbling: z.lazy(() => unmarshalTumblingWindowSchema).optional(),
|
|
711
995
|
sliding: z.lazy(() => unmarshalSlidingWindowSchema).optional(),
|
|
712
996
|
rolling: z.lazy(() => unmarshalRollingWindowSchema).optional(),
|
|
713
997
|
sawtooth: z.lazy(() => unmarshalSawtoothWindowSchema).optional(),
|
|
714
998
|
start_time: z.string().transform((s) => Temporal.Instant.from(s)).optional()
|
|
715
999
|
}).transform((d) => ({
|
|
716
|
-
windowType: d.
|
|
1000
|
+
windowType: d.continuous !== void 0 ? {
|
|
1001
|
+
$case: "continuous",
|
|
1002
|
+
continuous: d.continuous
|
|
1003
|
+
} : d.tumbling !== void 0 ? {
|
|
717
1004
|
$case: "tumbling",
|
|
718
1005
|
tumbling: d.tumbling
|
|
719
1006
|
} : d.sliding !== void 0 ? {
|
|
@@ -859,6 +1146,26 @@ const marshalAuthConfigSchema = z.object({ authConfig: z.discriminatedUnion("$ca
|
|
|
859
1146
|
...d.authConfig?.$case === "mtlsConfig" && { mtls_config: d.authConfig.mtlsConfig }
|
|
860
1147
|
}));
|
|
861
1148
|
const marshalAvgFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1149
|
+
const marshalBackfillFeaturesRequestSchema = z.object({
|
|
1150
|
+
featureFullNames: z.array(z.string()).optional(),
|
|
1151
|
+
backfillRanges: z.array(z.lazy(() => marshalBackfillRangeSchema)).optional(),
|
|
1152
|
+
requestId: z.string().optional(),
|
|
1153
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
1154
|
+
budgetPolicyId: z.string().optional()
|
|
1155
|
+
}).transform((d) => ({
|
|
1156
|
+
feature_full_names: d.featureFullNames,
|
|
1157
|
+
backfill_ranges: d.backfillRanges,
|
|
1158
|
+
request_id: d.requestId,
|
|
1159
|
+
tags: d.tags,
|
|
1160
|
+
budget_policy_id: d.budgetPolicyId
|
|
1161
|
+
}));
|
|
1162
|
+
const marshalBackfillRangeSchema = z.object({
|
|
1163
|
+
startTime: z.any().transform((d) => d.toString()).optional(),
|
|
1164
|
+
endTime: z.any().transform((d) => d.toString()).optional()
|
|
1165
|
+
}).transform((d) => ({
|
|
1166
|
+
start_time: d.startTime,
|
|
1167
|
+
end_time: d.endTime
|
|
1168
|
+
}));
|
|
862
1169
|
const marshalBackfillSourceSchema = z.object({ backfillSource: z.discriminatedUnion("$case", [z.object({
|
|
863
1170
|
$case: z.literal("deltaTableSource"),
|
|
864
1171
|
deltaTableSource: z.lazy(() => marshalDeltaTableSourceSchema)
|
|
@@ -870,10 +1177,27 @@ const marshalBackfillSourceSchema = z.object({ backfillSource: z.discriminatedUn
|
|
|
870
1177
|
...d.backfillSource?.$case === "deltaTableName" && { delta_table_name: d.backfillSource.deltaTableName }
|
|
871
1178
|
}));
|
|
872
1179
|
const marshalBatchCreateMaterializedFeaturesRequestSchema = z.object({ requests: z.array(z.lazy(() => marshalCreateMaterializedFeatureRequestSchema)).optional() }).transform((d) => ({ requests: d.requests }));
|
|
1180
|
+
const marshalCancelOperationRequestSchema = z.object({ name: z.string().optional() }).transform((d) => ({ name: d.name }));
|
|
1181
|
+
const marshalColumnIdentifierSchema = z.object({ variantExprPath: z.string().optional() }).transform((d) => ({ variant_expr_path: d.variantExprPath }));
|
|
873
1182
|
const marshalColumnSelectionSchema = z.object({ column: z.string().optional() }).transform((d) => ({ column: d.column }));
|
|
1183
|
+
const marshalContinuousWindowSchema = z.object({
|
|
1184
|
+
windowDuration: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
1185
|
+
offset: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional()
|
|
1186
|
+
}).transform((d) => ({
|
|
1187
|
+
window_duration: d.windowDuration,
|
|
1188
|
+
offset: d.offset
|
|
1189
|
+
}));
|
|
874
1190
|
const marshalCountFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
875
1191
|
const marshalCreateMaterializedFeatureRequestSchema = z.object({ materializedFeature: z.lazy(() => marshalMaterializedFeatureSchema).optional() }).transform((d) => ({ materialized_feature: d.materializedFeature }));
|
|
876
|
-
const marshalCronScheduleSchema = z.object({
|
|
1192
|
+
const marshalCronScheduleSchema = z.object({
|
|
1193
|
+
cronExpression: z.string().optional(),
|
|
1194
|
+
mode: z.string().optional(),
|
|
1195
|
+
timezoneId: z.string().optional()
|
|
1196
|
+
}).transform((d) => ({
|
|
1197
|
+
cron_expression: d.cronExpression,
|
|
1198
|
+
mode: d.mode,
|
|
1199
|
+
timezone_id: d.timezoneId
|
|
1200
|
+
}));
|
|
877
1201
|
const marshalCustomUdfSchema = z.object({
|
|
878
1202
|
functionPath: z.string().optional(),
|
|
879
1203
|
inputBindings: z.array(z.lazy(() => marshalInputBindingSchema)).optional()
|
|
@@ -898,6 +1222,10 @@ const marshalDataSourceSchema = z.object({
|
|
|
898
1222
|
z.object({
|
|
899
1223
|
$case: z.literal("streamSource"),
|
|
900
1224
|
streamSource: z.lazy(() => marshalStreamSourceSchema)
|
|
1225
|
+
}),
|
|
1226
|
+
z.object({
|
|
1227
|
+
$case: z.literal("featureViewSource"),
|
|
1228
|
+
featureViewSource: z.lazy(() => marshalFeatureViewSourceSchema)
|
|
901
1229
|
})
|
|
902
1230
|
]).optional(),
|
|
903
1231
|
lateness: z.lazy(() => marshalSourceLatenessSchema).optional()
|
|
@@ -906,15 +1234,20 @@ const marshalDataSourceSchema = z.object({
|
|
|
906
1234
|
...d.dataSource?.$case === "kafkaSource" && { kafka_source: d.dataSource.kafkaSource },
|
|
907
1235
|
...d.dataSource?.$case === "requestSource" && { request_source: d.dataSource.requestSource },
|
|
908
1236
|
...d.dataSource?.$case === "streamSource" && { stream_source: d.dataSource.streamSource },
|
|
1237
|
+
...d.dataSource?.$case === "featureViewSource" && { feature_view_source: d.dataSource.featureViewSource },
|
|
909
1238
|
lateness: d.lateness
|
|
910
1239
|
}));
|
|
911
1240
|
const marshalDeltaTableSourceSchema = z.object({
|
|
912
1241
|
fullName: z.string().optional(),
|
|
1242
|
+
entityColumns: z.array(z.string()).optional(),
|
|
1243
|
+
timeseriesColumn: z.string().optional(),
|
|
913
1244
|
filterCondition: z.string().optional(),
|
|
914
1245
|
transformationSql: z.string().optional(),
|
|
915
1246
|
dataframeSchema: z.string().optional()
|
|
916
1247
|
}).transform((d) => ({
|
|
917
1248
|
full_name: d.fullName,
|
|
1249
|
+
entity_columns: d.entityColumns,
|
|
1250
|
+
timeseries_column: d.timeseriesColumn,
|
|
918
1251
|
filter_condition: d.filterCondition,
|
|
919
1252
|
transformation_sql: d.transformationSql,
|
|
920
1253
|
dataframe_schema: d.dataframeSchema
|
|
@@ -937,8 +1270,11 @@ const marshalEntityColumnSchema = z.object({ name: z.string().optional() }).tran
|
|
|
937
1270
|
const marshalFeatureSchema = z.object({
|
|
938
1271
|
fullName: z.string().optional(),
|
|
939
1272
|
source: z.lazy(() => marshalDataSourceSchema).optional(),
|
|
1273
|
+
inputs: z.array(z.string()).optional(),
|
|
940
1274
|
function: z.lazy(() => marshalFunctionSchema).optional(),
|
|
1275
|
+
timeWindow: z.lazy(() => marshalTimeWindowSchema).optional(),
|
|
941
1276
|
description: z.string().optional(),
|
|
1277
|
+
filterCondition: z.string().optional(),
|
|
942
1278
|
lineageContext: z.lazy(() => marshalLineageContextSchema).optional(),
|
|
943
1279
|
entities: z.array(z.lazy(() => marshalEntityColumnSchema)).optional(),
|
|
944
1280
|
timeseriesColumn: z.lazy(() => marshalTimeseriesColumnSchema).optional(),
|
|
@@ -950,8 +1286,11 @@ const marshalFeatureSchema = z.object({
|
|
|
950
1286
|
}).transform((d) => ({
|
|
951
1287
|
full_name: d.fullName,
|
|
952
1288
|
source: d.source,
|
|
1289
|
+
inputs: d.inputs,
|
|
953
1290
|
function: d.function,
|
|
1291
|
+
time_window: d.timeWindow,
|
|
954
1292
|
description: d.description,
|
|
1293
|
+
filter_condition: d.filterCondition,
|
|
955
1294
|
lineage_context: d.lineageContext,
|
|
956
1295
|
entities: d.entities,
|
|
957
1296
|
timeseries_column: d.timeseriesColumn,
|
|
@@ -961,6 +1300,8 @@ const marshalFeatureSchema = z.object({
|
|
|
961
1300
|
created_at: d.createdAt,
|
|
962
1301
|
created_by: d.createdBy
|
|
963
1302
|
}));
|
|
1303
|
+
const marshalFeatureReferenceSchema = z.object({ feature: z.string().optional() }).transform((d) => ({ feature: d.feature }));
|
|
1304
|
+
const marshalFeatureViewSourceSchema = z.object({ featureReferences: z.array(z.lazy(() => marshalFeatureReferenceSchema)).optional() }).transform((d) => ({ feature_references: d.featureReferences }));
|
|
964
1305
|
const marshalFieldDefinitionSchema = z.object({
|
|
965
1306
|
name: z.string().optional(),
|
|
966
1307
|
dataType: z.string().optional()
|
|
@@ -984,38 +1325,55 @@ const marshalFirstNFunctionSchema = z.object({
|
|
|
984
1325
|
n: d.n
|
|
985
1326
|
}));
|
|
986
1327
|
const marshalFlatSchemaSchema = z.object({ fields: z.array(z.lazy(() => marshalFieldDefinitionSchema)).optional() }).transform((d) => ({ fields: d.fields }));
|
|
987
|
-
const marshalFunctionSchema = z.object({
|
|
988
|
-
z.
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1328
|
+
const marshalFunctionSchema = z.object({
|
|
1329
|
+
functionType: z.string().optional(),
|
|
1330
|
+
extraParameters: z.array(z.lazy(() => marshalFunctionExtraParameterSchema)).optional(),
|
|
1331
|
+
function: z.discriminatedUnion("$case", [
|
|
1332
|
+
z.object({
|
|
1333
|
+
$case: z.literal("aggregationFunction"),
|
|
1334
|
+
aggregationFunction: z.lazy(() => marshalAggregationFunctionSchema)
|
|
1335
|
+
}),
|
|
1336
|
+
z.object({
|
|
1337
|
+
$case: z.literal("columnSelection"),
|
|
1338
|
+
columnSelection: z.lazy(() => marshalColumnSelectionSchema)
|
|
1339
|
+
}),
|
|
1340
|
+
z.object({
|
|
1341
|
+
$case: z.literal("customUdf"),
|
|
1342
|
+
customUdf: z.lazy(() => marshalCustomUdfSchema)
|
|
1343
|
+
})
|
|
1344
|
+
]).optional()
|
|
1345
|
+
}).transform((d) => ({
|
|
1346
|
+
function_type: d.functionType,
|
|
1347
|
+
extra_parameters: d.extraParameters,
|
|
1001
1348
|
...d.function?.$case === "aggregationFunction" && { aggregation_function: d.function.aggregationFunction },
|
|
1002
1349
|
...d.function?.$case === "columnSelection" && { column_selection: d.function.columnSelection },
|
|
1003
1350
|
...d.function?.$case === "customUdf" && { custom_udf: d.function.customUdf }
|
|
1004
1351
|
}));
|
|
1352
|
+
const marshalFunctionExtraParameterSchema = z.object({
|
|
1353
|
+
key: z.string().optional(),
|
|
1354
|
+
value: z.string().optional()
|
|
1355
|
+
}).transform((d) => ({
|
|
1356
|
+
key: d.key,
|
|
1357
|
+
value: d.value
|
|
1358
|
+
}));
|
|
1005
1359
|
const marshalIngestionConfigSchema = z.object({
|
|
1006
1360
|
ingestionDestination: z.lazy(() => marshalIngestionDestinationSchema).optional(),
|
|
1007
1361
|
backfillSource: z.lazy(() => marshalBackfillSourceSchema).optional(),
|
|
1008
1362
|
deduplicationColumns: z.array(z.string()).optional(),
|
|
1009
1363
|
ingestionPipelineId: z.string().optional(),
|
|
1010
1364
|
ingestionJobId: z.bigint().optional(),
|
|
1011
|
-
backfillJobId: z.bigint().optional()
|
|
1365
|
+
backfillJobId: z.bigint().optional(),
|
|
1366
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
1367
|
+
budgetPolicyId: z.string().optional()
|
|
1012
1368
|
}).transform((d) => ({
|
|
1013
1369
|
ingestion_destination: d.ingestionDestination,
|
|
1014
1370
|
backfill_source: d.backfillSource,
|
|
1015
1371
|
deduplication_columns: d.deduplicationColumns,
|
|
1016
1372
|
ingestion_pipeline_id: d.ingestionPipelineId,
|
|
1017
1373
|
ingestion_job_id: d.ingestionJobId,
|
|
1018
|
-
backfill_job_id: d.backfillJobId
|
|
1374
|
+
backfill_job_id: d.backfillJobId,
|
|
1375
|
+
tags: d.tags,
|
|
1376
|
+
budget_policy_id: d.budgetPolicyId
|
|
1019
1377
|
}));
|
|
1020
1378
|
const marshalIngestionDestinationSchema = z.object({ ingestionDestination: z.discriminatedUnion("$case", [z.object({
|
|
1021
1379
|
$case: z.literal("deltaTableName"),
|
|
@@ -1058,9 +1416,13 @@ const marshalKafkaConfigSchema = z.object({
|
|
|
1058
1416
|
}));
|
|
1059
1417
|
const marshalKafkaSourceSchema = z.object({
|
|
1060
1418
|
name: z.string().optional(),
|
|
1419
|
+
entityColumnIdentifiers: z.array(z.lazy(() => marshalColumnIdentifierSchema)).optional(),
|
|
1420
|
+
timeseriesColumnIdentifier: z.lazy(() => marshalColumnIdentifierSchema).optional(),
|
|
1061
1421
|
filterCondition: z.string().optional()
|
|
1062
1422
|
}).transform((d) => ({
|
|
1063
1423
|
name: d.name,
|
|
1424
|
+
entity_column_identifiers: d.entityColumnIdentifiers,
|
|
1425
|
+
timeseries_column_identifier: d.timeseriesColumnIdentifier,
|
|
1064
1426
|
filter_condition: d.filterCondition
|
|
1065
1427
|
}));
|
|
1066
1428
|
const marshalKafkaStreamConfigSchema = z.object({
|
|
@@ -1137,6 +1499,7 @@ const marshalMaterializedFeatureSchema = z.object({
|
|
|
1137
1499
|
tableName: z.string().optional(),
|
|
1138
1500
|
pipelineScheduleState: z.string().optional(),
|
|
1139
1501
|
lastMaterializationTime: z.any().transform((d) => d.toString()).optional(),
|
|
1502
|
+
cronSchedule: z.string().optional(),
|
|
1140
1503
|
isOnline: z.boolean().optional(),
|
|
1141
1504
|
trigger: z.discriminatedUnion("$case", [
|
|
1142
1505
|
z.object({
|
|
@@ -1151,7 +1514,10 @@ const marshalMaterializedFeatureSchema = z.object({
|
|
|
1151
1514
|
$case: z.literal("streamingMode"),
|
|
1152
1515
|
streamingMode: z.lazy(() => marshalStreamingModeSchema)
|
|
1153
1516
|
})
|
|
1154
|
-
]).optional()
|
|
1517
|
+
]).optional(),
|
|
1518
|
+
latestBackfillOperation: z.string().optional(),
|
|
1519
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
1520
|
+
budgetPolicyId: z.string().optional()
|
|
1155
1521
|
}).transform((d) => ({
|
|
1156
1522
|
materialized_feature_id: d.materializedFeatureId,
|
|
1157
1523
|
feature_name: d.featureName,
|
|
@@ -1160,10 +1526,14 @@ const marshalMaterializedFeatureSchema = z.object({
|
|
|
1160
1526
|
table_name: d.tableName,
|
|
1161
1527
|
pipeline_schedule_state: d.pipelineScheduleState,
|
|
1162
1528
|
last_materialization_time: d.lastMaterializationTime,
|
|
1529
|
+
cron_schedule: d.cronSchedule,
|
|
1163
1530
|
is_online: d.isOnline,
|
|
1164
1531
|
...d.trigger?.$case === "cronScheduleTrigger" && { cron_schedule_trigger: d.trigger.cronScheduleTrigger },
|
|
1165
1532
|
...d.trigger?.$case === "tableTrigger" && { table_trigger: d.trigger.tableTrigger },
|
|
1166
|
-
...d.trigger?.$case === "streamingMode" && { streaming_mode: d.trigger.streamingMode }
|
|
1533
|
+
...d.trigger?.$case === "streamingMode" && { streaming_mode: d.trigger.streamingMode },
|
|
1534
|
+
latest_backfill_operation: d.latestBackfillOperation,
|
|
1535
|
+
tags: d.tags,
|
|
1536
|
+
budget_policy_id: d.budgetPolicyId
|
|
1167
1537
|
}));
|
|
1168
1538
|
const marshalMaxFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1169
1539
|
const marshalMinFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
@@ -1209,6 +1579,22 @@ const marshalProtoSchemaSpecSchema = z.object({
|
|
|
1209
1579
|
schema_text: d.schemaText,
|
|
1210
1580
|
message_name: d.messageName
|
|
1211
1581
|
}));
|
|
1582
|
+
const marshalPurgeFeatureEntitiesRequestSchema = z.object({
|
|
1583
|
+
features: z.array(z.string()).optional(),
|
|
1584
|
+
entities: z.discriminatedUnion("$case", [z.object({
|
|
1585
|
+
$case: z.literal("entitiesTable"),
|
|
1586
|
+
entitiesTable: z.string()
|
|
1587
|
+
})]).optional(),
|
|
1588
|
+
requestId: z.string().optional(),
|
|
1589
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
1590
|
+
budgetPolicyId: z.string().optional()
|
|
1591
|
+
}).transform((d) => ({
|
|
1592
|
+
features: d.features,
|
|
1593
|
+
...d.entities?.$case === "entitiesTable" && { entities_table: d.entities.entitiesTable },
|
|
1594
|
+
request_id: d.requestId,
|
|
1595
|
+
tags: d.tags,
|
|
1596
|
+
budget_policy_id: d.budgetPolicyId
|
|
1597
|
+
}));
|
|
1212
1598
|
const marshalRequestSourceSchema = z.object({ schema: z.discriminatedUnion("$case", [z.object({
|
|
1213
1599
|
$case: z.literal("flatSchema"),
|
|
1214
1600
|
flatSchema: z.lazy(() => marshalFlatSchemaSchema)
|
|
@@ -1295,6 +1681,8 @@ const marshalStreamSchema = z.object({
|
|
|
1295
1681
|
connectionConfig: z.lazy(() => marshalStreamConnectionConfigSchema).optional(),
|
|
1296
1682
|
schemaConfig: z.lazy(() => marshalStreamSchemaConfigSchema).optional(),
|
|
1297
1683
|
ingestionConfig: z.lazy(() => marshalIngestionConfigSchema).optional(),
|
|
1684
|
+
recordTypeFilter: z.string().optional(),
|
|
1685
|
+
excludedColumns: z.array(z.string()).optional(),
|
|
1298
1686
|
createTime: z.any().transform((d) => d.toString()).optional(),
|
|
1299
1687
|
createdBy: z.string().optional(),
|
|
1300
1688
|
updateTime: z.any().transform((d) => d.toString()).optional(),
|
|
@@ -1307,6 +1695,8 @@ const marshalStreamSchema = z.object({
|
|
|
1307
1695
|
connection_config: d.connectionConfig,
|
|
1308
1696
|
schema_config: d.schemaConfig,
|
|
1309
1697
|
ingestion_config: d.ingestionConfig,
|
|
1698
|
+
record_type_filter: d.recordTypeFilter,
|
|
1699
|
+
excluded_columns: d.excludedColumns,
|
|
1310
1700
|
create_time: d.createTime,
|
|
1311
1701
|
created_by: d.createdBy,
|
|
1312
1702
|
update_time: d.updateTime,
|
|
@@ -1385,6 +1775,10 @@ const marshalSumFunctionSchema = z.object({ input: z.string().optional() }).tran
|
|
|
1385
1775
|
const marshalTableTriggerSchema = z.object({});
|
|
1386
1776
|
const marshalTimeWindowSchema = z.object({
|
|
1387
1777
|
windowType: z.discriminatedUnion("$case", [
|
|
1778
|
+
z.object({
|
|
1779
|
+
$case: z.literal("continuous"),
|
|
1780
|
+
continuous: z.lazy(() => marshalContinuousWindowSchema)
|
|
1781
|
+
}),
|
|
1388
1782
|
z.object({
|
|
1389
1783
|
$case: z.literal("tumbling"),
|
|
1390
1784
|
tumbling: z.lazy(() => marshalTumblingWindowSchema)
|
|
@@ -1404,6 +1798,7 @@ const marshalTimeWindowSchema = z.object({
|
|
|
1404
1798
|
]).optional(),
|
|
1405
1799
|
startTime: z.any().transform((d) => d.toString()).optional()
|
|
1406
1800
|
}).transform((d) => ({
|
|
1801
|
+
...d.windowType?.$case === "continuous" && { continuous: d.windowType.continuous },
|
|
1407
1802
|
...d.windowType?.$case === "tumbling" && { tumbling: d.windowType.tumbling },
|
|
1408
1803
|
...d.windowType?.$case === "sliding" && { sliding: d.windowType.sliding },
|
|
1409
1804
|
...d.windowType?.$case === "rolling" && { rolling: d.windowType.rolling },
|
|
@@ -1520,9 +1915,18 @@ const backfillSourceFieldMaskSchema = {
|
|
|
1520
1915
|
children: () => deltaTableSourceFieldMaskSchema
|
|
1521
1916
|
}
|
|
1522
1917
|
};
|
|
1918
|
+
const columnIdentifierFieldMaskSchema = { variantExprPath: { wire: "variant_expr_path" } };
|
|
1523
1919
|
const columnSelectionFieldMaskSchema = { column: { wire: "column" } };
|
|
1920
|
+
const continuousWindowFieldMaskSchema = {
|
|
1921
|
+
offset: { wire: "offset" },
|
|
1922
|
+
windowDuration: { wire: "window_duration" }
|
|
1923
|
+
};
|
|
1524
1924
|
const countFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1525
|
-
const cronScheduleFieldMaskSchema = {
|
|
1925
|
+
const cronScheduleFieldMaskSchema = {
|
|
1926
|
+
cronExpression: { wire: "cron_expression" },
|
|
1927
|
+
mode: { wire: "mode" },
|
|
1928
|
+
timezoneId: { wire: "timezone_id" }
|
|
1929
|
+
};
|
|
1526
1930
|
const customUdfFieldMaskSchema = {
|
|
1527
1931
|
functionPath: { wire: "function_path" },
|
|
1528
1932
|
inputBindings: { wire: "input_bindings" }
|
|
@@ -1532,6 +1936,10 @@ const dataSourceFieldMaskSchema = {
|
|
|
1532
1936
|
wire: "delta_table_source",
|
|
1533
1937
|
children: () => deltaTableSourceFieldMaskSchema
|
|
1534
1938
|
},
|
|
1939
|
+
featureViewSource: {
|
|
1940
|
+
wire: "feature_view_source",
|
|
1941
|
+
children: () => featureViewSourceFieldMaskSchema
|
|
1942
|
+
},
|
|
1535
1943
|
kafkaSource: {
|
|
1536
1944
|
wire: "kafka_source",
|
|
1537
1945
|
children: () => kafkaSourceFieldMaskSchema
|
|
@@ -1551,8 +1959,10 @@ const dataSourceFieldMaskSchema = {
|
|
|
1551
1959
|
};
|
|
1552
1960
|
const deltaTableSourceFieldMaskSchema = {
|
|
1553
1961
|
dataframeSchema: { wire: "dataframe_schema" },
|
|
1962
|
+
entityColumns: { wire: "entity_columns" },
|
|
1554
1963
|
filterCondition: { wire: "filter_condition" },
|
|
1555
1964
|
fullName: { wire: "full_name" },
|
|
1965
|
+
timeseriesColumn: { wire: "timeseries_column" },
|
|
1556
1966
|
transformationSql: { wire: "transformation_sql" }
|
|
1557
1967
|
};
|
|
1558
1968
|
const directMtlsConfigFieldMaskSchema = {
|
|
@@ -1578,11 +1988,13 @@ const featureFieldMaskSchema = {
|
|
|
1578
1988
|
createdBy: { wire: "created_by" },
|
|
1579
1989
|
description: { wire: "description" },
|
|
1580
1990
|
entities: { wire: "entities" },
|
|
1991
|
+
filterCondition: { wire: "filter_condition" },
|
|
1581
1992
|
fullName: { wire: "full_name" },
|
|
1582
1993
|
function: {
|
|
1583
1994
|
wire: "function",
|
|
1584
1995
|
children: () => functionFieldMaskSchema
|
|
1585
1996
|
},
|
|
1997
|
+
inputs: { wire: "inputs" },
|
|
1586
1998
|
lineageContext: {
|
|
1587
1999
|
wire: "lineage_context",
|
|
1588
2000
|
children: () => lineageContextFieldMaskSchema
|
|
@@ -1593,6 +2005,10 @@ const featureFieldMaskSchema = {
|
|
|
1593
2005
|
wire: "source",
|
|
1594
2006
|
children: () => dataSourceFieldMaskSchema
|
|
1595
2007
|
},
|
|
2008
|
+
timeWindow: {
|
|
2009
|
+
wire: "time_window",
|
|
2010
|
+
children: () => timeWindowFieldMaskSchema
|
|
2011
|
+
},
|
|
1596
2012
|
timeseriesColumn: {
|
|
1597
2013
|
wire: "timeseries_column",
|
|
1598
2014
|
children: () => timeseriesColumnFieldMaskSchema
|
|
@@ -1601,6 +2017,7 @@ const featureFieldMaskSchema = {
|
|
|
1601
2017
|
function featureFieldMask(...paths) {
|
|
1602
2018
|
return FieldMask.build(paths, featureFieldMaskSchema);
|
|
1603
2019
|
}
|
|
2020
|
+
const featureViewSourceFieldMaskSchema = { featureReferences: { wire: "feature_references" } };
|
|
1604
2021
|
const firstDistinctFunctionFieldMaskSchema = {
|
|
1605
2022
|
input: { wire: "input" },
|
|
1606
2023
|
n: { wire: "n" }
|
|
@@ -1623,7 +2040,9 @@ const functionFieldMaskSchema = {
|
|
|
1623
2040
|
customUdf: {
|
|
1624
2041
|
wire: "custom_udf",
|
|
1625
2042
|
children: () => customUdfFieldMaskSchema
|
|
1626
|
-
}
|
|
2043
|
+
},
|
|
2044
|
+
extraParameters: { wire: "extra_parameters" },
|
|
2045
|
+
functionType: { wire: "function_type" }
|
|
1627
2046
|
};
|
|
1628
2047
|
const ingestionConfigFieldMaskSchema = {
|
|
1629
2048
|
backfillJobId: { wire: "backfill_job_id" },
|
|
@@ -1631,13 +2050,15 @@ const ingestionConfigFieldMaskSchema = {
|
|
|
1631
2050
|
wire: "backfill_source",
|
|
1632
2051
|
children: () => backfillSourceFieldMaskSchema
|
|
1633
2052
|
},
|
|
2053
|
+
budgetPolicyId: { wire: "budget_policy_id" },
|
|
1634
2054
|
deduplicationColumns: { wire: "deduplication_columns" },
|
|
1635
2055
|
ingestionDestination: {
|
|
1636
2056
|
wire: "ingestion_destination",
|
|
1637
2057
|
children: () => ingestionDestinationFieldMaskSchema
|
|
1638
2058
|
},
|
|
1639
2059
|
ingestionJobId: { wire: "ingestion_job_id" },
|
|
1640
|
-
ingestionPipelineId: { wire: "ingestion_pipeline_id" }
|
|
2060
|
+
ingestionPipelineId: { wire: "ingestion_pipeline_id" },
|
|
2061
|
+
tags: { wire: "tags" }
|
|
1641
2062
|
};
|
|
1642
2063
|
const ingestionDestinationFieldMaskSchema = { deltaTableName: { wire: "delta_table_name" } };
|
|
1643
2064
|
const jobContextFieldMaskSchema = {
|
|
@@ -1677,8 +2098,13 @@ function kafkaConfigFieldMask(...paths) {
|
|
|
1677
2098
|
return FieldMask.build(paths, kafkaConfigFieldMaskSchema);
|
|
1678
2099
|
}
|
|
1679
2100
|
const kafkaSourceFieldMaskSchema = {
|
|
2101
|
+
entityColumnIdentifiers: { wire: "entity_column_identifiers" },
|
|
1680
2102
|
filterCondition: { wire: "filter_condition" },
|
|
1681
|
-
name: { wire: "name" }
|
|
2103
|
+
name: { wire: "name" },
|
|
2104
|
+
timeseriesColumnIdentifier: {
|
|
2105
|
+
wire: "timeseries_column_identifier",
|
|
2106
|
+
children: () => columnIdentifierFieldMaskSchema
|
|
2107
|
+
}
|
|
1682
2108
|
};
|
|
1683
2109
|
const kafkaStreamConfigFieldMaskSchema = {
|
|
1684
2110
|
extraOptions: { wire: "extra_options" },
|
|
@@ -1720,6 +2146,8 @@ const lineageContextFieldMaskSchema = {
|
|
|
1720
2146
|
notebookId: { wire: "notebook_id" }
|
|
1721
2147
|
};
|
|
1722
2148
|
const materializedFeatureFieldMaskSchema = {
|
|
2149
|
+
budgetPolicyId: { wire: "budget_policy_id" },
|
|
2150
|
+
cronSchedule: { wire: "cron_schedule" },
|
|
1723
2151
|
cronScheduleTrigger: {
|
|
1724
2152
|
wire: "cron_schedule_trigger",
|
|
1725
2153
|
children: () => cronScheduleFieldMaskSchema
|
|
@@ -1727,6 +2155,7 @@ const materializedFeatureFieldMaskSchema = {
|
|
|
1727
2155
|
featureName: { wire: "feature_name" },
|
|
1728
2156
|
isOnline: { wire: "is_online" },
|
|
1729
2157
|
lastMaterializationTime: { wire: "last_materialization_time" },
|
|
2158
|
+
latestBackfillOperation: { wire: "latest_backfill_operation" },
|
|
1730
2159
|
materializedFeatureId: { wire: "materialized_feature_id" },
|
|
1731
2160
|
offlineStoreConfig: {
|
|
1732
2161
|
wire: "offline_store_config",
|
|
@@ -1745,7 +2174,8 @@ const materializedFeatureFieldMaskSchema = {
|
|
|
1745
2174
|
tableTrigger: {
|
|
1746
2175
|
wire: "table_trigger",
|
|
1747
2176
|
children: () => tableTriggerFieldMaskSchema
|
|
1748
|
-
}
|
|
2177
|
+
},
|
|
2178
|
+
tags: { wire: "tags" }
|
|
1749
2179
|
};
|
|
1750
2180
|
function materializedFeatureFieldMask(...paths) {
|
|
1751
2181
|
return FieldMask.build(paths, materializedFeatureFieldMaskSchema);
|
|
@@ -1849,11 +2279,13 @@ const streamFieldMaskSchema = {
|
|
|
1849
2279
|
createTime: { wire: "create_time" },
|
|
1850
2280
|
createdBy: { wire: "created_by" },
|
|
1851
2281
|
description: { wire: "description" },
|
|
2282
|
+
excludedColumns: { wire: "excluded_columns" },
|
|
1852
2283
|
ingestionConfig: {
|
|
1853
2284
|
wire: "ingestion_config",
|
|
1854
2285
|
children: () => ingestionConfigFieldMaskSchema
|
|
1855
2286
|
},
|
|
1856
2287
|
name: { wire: "name" },
|
|
2288
|
+
recordTypeFilter: { wire: "record_type_filter" },
|
|
1857
2289
|
schemaConfig: {
|
|
1858
2290
|
wire: "schema_config",
|
|
1859
2291
|
children: () => streamSchemaConfigFieldMaskSchema
|
|
@@ -1915,6 +2347,10 @@ const subscriptionModeFieldMaskSchema = {
|
|
|
1915
2347
|
const sumFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1916
2348
|
const tableTriggerFieldMaskSchema = {};
|
|
1917
2349
|
const timeWindowFieldMaskSchema = {
|
|
2350
|
+
continuous: {
|
|
2351
|
+
wire: "continuous",
|
|
2352
|
+
children: () => continuousWindowFieldMaskSchema
|
|
2353
|
+
},
|
|
1918
2354
|
rolling: {
|
|
1919
2355
|
wire: "rolling",
|
|
1920
2356
|
children: () => rollingWindowFieldMaskSchema
|
|
@@ -1943,5 +2379,5 @@ const varPopFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
|
1943
2379
|
const varSampFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1944
2380
|
|
|
1945
2381
|
//#endregion
|
|
1946
|
-
export { MaterializedFeature_PipelineScheduleState, ScalarDataType, SchemaLocator_Format, StreamingMode_StreamingModeType, featureFieldMask, kafkaConfigFieldMask, marshalAggregationFunctionSchema, marshalApproxCountDistinctFunctionSchema, marshalApproxPercentileFunctionSchema, marshalAuthConfigSchema, marshalAvgFunctionSchema, marshalBackfillSourceSchema, marshalBatchCreateMaterializedFeaturesRequestSchema, marshalColumnSelectionSchema, marshalCountFunctionSchema, marshalCreateMaterializedFeatureRequestSchema, marshalCronScheduleSchema, marshalCustomUdfSchema, marshalDataSourceSchema, marshalDeltaTableSourceSchema, marshalDirectMtlsConfigSchema, marshalDirectSchemasSchema, marshalEntityColumnSchema, marshalFeatureSchema, marshalFieldDefinitionSchema, marshalFirstDistinctFunctionSchema, marshalFirstFunctionSchema, marshalFirstNFunctionSchema, marshalFlatSchemaSchema, marshalFunctionSchema, marshalIngestionConfigSchema, marshalIngestionDestinationSchema, marshalInputBindingSchema, marshalJobContextSchema, marshalKafkaConfigSchema, marshalKafkaSourceSchema, marshalKafkaStreamConfigSchema, marshalKafkaSubscriptionModeSchema, marshalKinesisStreamConfigSchema, marshalLastDistinctFunctionSchema, marshalLastFunctionSchema, marshalLastNFunctionSchema, marshalLineageContextSchema, marshalMaterializedFeatureSchema, marshalMaxFunctionSchema, marshalMinFunctionSchema, marshalMtlsConfigSchema, marshalOfflineStoreConfigSchema, marshalOnlineStoreConfigSchema, marshalProtoSchemaSpecSchema, marshalRequestSourceSchema, marshalRollingWindowSchema, marshalSawtoothWindowSchema, marshalSchemaConfigSchema, marshalSchemaLocatorSchema, marshalSchemaLocator_ConfluentSchemaSchema, marshalSchemaRegistryConfigSchema, marshalSecretScopeReferenceSchema, marshalSlidingWindowSchema, marshalSourceLatenessSchema, marshalStddevPopFunctionSchema, marshalStddevSampFunctionSchema, marshalStreamArnListSchema, marshalStreamConnectionConfigSchema, marshalStreamNameListSchema, marshalStreamSchema, marshalStreamSchemaConfigSchema, marshalStreamSourceConfigSchema, marshalStreamSourceSchema, marshalStreamingModeSchema, marshalSubscriptionModeSchema, marshalSumFunctionSchema, marshalTableTriggerSchema, marshalTimeWindowSchema, marshalTimeseriesColumnSchema, marshalTumblingWindowSchema, marshalVarPopFunctionSchema, marshalVarSampFunctionSchema, materializedFeatureFieldMask, streamFieldMask, unmarshalAggregationFunctionSchema, unmarshalApproxCountDistinctFunctionSchema, unmarshalApproxPercentileFunctionSchema, unmarshalAuthConfigSchema, unmarshalAvgFunctionSchema, unmarshalBackfillSourceSchema, unmarshalBatchCreateMaterializedFeaturesResponseSchema, unmarshalColumnSelectionSchema, unmarshalCountFunctionSchema, unmarshalCronScheduleSchema, unmarshalCustomUdfSchema, unmarshalDataSourceSchema, unmarshalDeltaTableSourceSchema, unmarshalDirectMtlsConfigSchema, unmarshalDirectSchemasSchema, unmarshalEntityColumnSchema, unmarshalFeatureSchema, unmarshalFieldDefinitionSchema, unmarshalFirstDistinctFunctionSchema, unmarshalFirstFunctionSchema, unmarshalFirstNFunctionSchema, unmarshalFlatSchemaSchema, unmarshalFunctionSchema, unmarshalIngestionConfigSchema, unmarshalIngestionDestinationSchema, unmarshalInputBindingSchema, unmarshalJobContextSchema, unmarshalKafkaConfigSchema, unmarshalKafkaSourceSchema, unmarshalKafkaStreamConfigSchema, unmarshalKafkaSubscriptionModeSchema, unmarshalKinesisStreamConfigSchema, unmarshalLastDistinctFunctionSchema, unmarshalLastFunctionSchema, unmarshalLastNFunctionSchema, unmarshalLineageContextSchema, unmarshalListFeaturesResponseSchema, unmarshalListKafkaConfigsResponseSchema, unmarshalListMaterializedFeaturesResponseSchema, unmarshalListStreamsResponseSchema, unmarshalMaterializedFeatureSchema, unmarshalMaxFunctionSchema, unmarshalMinFunctionSchema, unmarshalMtlsConfigSchema, unmarshalOfflineStoreConfigSchema, unmarshalOnlineStoreConfigSchema, unmarshalProtoSchemaSpecSchema, unmarshalRequestSourceSchema, unmarshalRollingWindowSchema, unmarshalSawtoothWindowSchema, unmarshalSchemaConfigSchema, unmarshalSchemaLocatorSchema, unmarshalSchemaLocator_ConfluentSchemaSchema, unmarshalSchemaRegistryConfigSchema, unmarshalSecretScopeReferenceSchema, unmarshalSlidingWindowSchema, unmarshalSourceLatenessSchema, unmarshalStddevPopFunctionSchema, unmarshalStddevSampFunctionSchema, unmarshalStreamArnListSchema, unmarshalStreamConnectionConfigSchema, unmarshalStreamNameListSchema, unmarshalStreamSchema, unmarshalStreamSchemaConfigSchema, unmarshalStreamSourceConfigSchema, unmarshalStreamSourceSchema, unmarshalStreamingModeSchema, unmarshalSubscriptionModeSchema, unmarshalSumFunctionSchema, unmarshalTableTriggerSchema, unmarshalTimeWindowSchema, unmarshalTimeseriesColumnSchema, unmarshalTumblingWindowSchema, unmarshalVarPopFunctionSchema, unmarshalVarSampFunctionSchema };
|
|
2382
|
+
export { BackfillOperationMetadata_State, CronSchedule_Mode, ErrorCode, FunctionFunctionType, MaterializedFeature_PipelineScheduleState, PurgeFeatureEntitiesMetadata_State, PurgeFeatureEntitiesResult_State, ScalarDataType, SchemaLocator_Format, StreamingMode_StreamingModeType, featureFieldMask, kafkaConfigFieldMask, marshalAggregationFunctionSchema, marshalApproxCountDistinctFunctionSchema, marshalApproxPercentileFunctionSchema, marshalAuthConfigSchema, marshalAvgFunctionSchema, marshalBackfillFeaturesRequestSchema, marshalBackfillRangeSchema, marshalBackfillSourceSchema, marshalBatchCreateMaterializedFeaturesRequestSchema, marshalCancelOperationRequestSchema, marshalColumnIdentifierSchema, marshalColumnSelectionSchema, marshalContinuousWindowSchema, marshalCountFunctionSchema, marshalCreateMaterializedFeatureRequestSchema, marshalCronScheduleSchema, marshalCustomUdfSchema, marshalDataSourceSchema, marshalDeltaTableSourceSchema, marshalDirectMtlsConfigSchema, marshalDirectSchemasSchema, marshalEntityColumnSchema, marshalFeatureReferenceSchema, marshalFeatureSchema, marshalFeatureViewSourceSchema, marshalFieldDefinitionSchema, marshalFirstDistinctFunctionSchema, marshalFirstFunctionSchema, marshalFirstNFunctionSchema, marshalFlatSchemaSchema, marshalFunctionExtraParameterSchema, marshalFunctionSchema, marshalIngestionConfigSchema, marshalIngestionDestinationSchema, marshalInputBindingSchema, marshalJobContextSchema, marshalKafkaConfigSchema, marshalKafkaSourceSchema, marshalKafkaStreamConfigSchema, marshalKafkaSubscriptionModeSchema, marshalKinesisStreamConfigSchema, marshalLastDistinctFunctionSchema, marshalLastFunctionSchema, marshalLastNFunctionSchema, marshalLineageContextSchema, marshalMaterializedFeatureSchema, marshalMaxFunctionSchema, marshalMinFunctionSchema, marshalMtlsConfigSchema, marshalOfflineStoreConfigSchema, marshalOnlineStoreConfigSchema, marshalProtoSchemaSpecSchema, marshalPurgeFeatureEntitiesRequestSchema, marshalRequestSourceSchema, marshalRollingWindowSchema, marshalSawtoothWindowSchema, marshalSchemaConfigSchema, marshalSchemaLocatorSchema, marshalSchemaLocator_ConfluentSchemaSchema, marshalSchemaRegistryConfigSchema, marshalSecretScopeReferenceSchema, marshalSlidingWindowSchema, marshalSourceLatenessSchema, marshalStddevPopFunctionSchema, marshalStddevSampFunctionSchema, marshalStreamArnListSchema, marshalStreamConnectionConfigSchema, marshalStreamNameListSchema, marshalStreamSchema, marshalStreamSchemaConfigSchema, marshalStreamSourceConfigSchema, marshalStreamSourceSchema, marshalStreamingModeSchema, marshalSubscriptionModeSchema, marshalSumFunctionSchema, marshalTableTriggerSchema, marshalTimeWindowSchema, marshalTimeseriesColumnSchema, marshalTumblingWindowSchema, marshalVarPopFunctionSchema, marshalVarSampFunctionSchema, materializedFeatureFieldMask, streamFieldMask, unmarshalAggregationFunctionSchema, unmarshalApiErrorSchema, unmarshalApproxCountDistinctFunctionSchema, unmarshalApproxPercentileFunctionSchema, unmarshalAuthConfigSchema, unmarshalAvgFunctionSchema, unmarshalBackfillFeaturesResponseSchema, unmarshalBackfillOperationMetadataSchema, unmarshalBackfillRangeSchema, unmarshalBackfillSourceSchema, unmarshalBatchCreateMaterializedFeaturesResponseSchema, unmarshalColumnIdentifierSchema, unmarshalColumnSelectionSchema, unmarshalContinuousWindowSchema, unmarshalCountFunctionSchema, unmarshalCronScheduleSchema, unmarshalCustomUdfSchema, unmarshalDataSourceSchema, unmarshalDeltaTableSourceSchema, unmarshalDirectMtlsConfigSchema, unmarshalDirectSchemasSchema, unmarshalEntityColumnSchema, unmarshalFeatureReferenceSchema, unmarshalFeatureSchema, unmarshalFeatureViewSourceSchema, unmarshalFieldDefinitionSchema, unmarshalFirstDistinctFunctionSchema, unmarshalFirstFunctionSchema, unmarshalFirstNFunctionSchema, unmarshalFlatSchemaSchema, unmarshalFunctionExtraParameterSchema, unmarshalFunctionSchema, unmarshalIngestionConfigSchema, unmarshalIngestionDestinationSchema, unmarshalInputBindingSchema, unmarshalJobContextSchema, unmarshalKafkaConfigSchema, unmarshalKafkaSourceSchema, unmarshalKafkaStreamConfigSchema, unmarshalKafkaSubscriptionModeSchema, unmarshalKinesisStreamConfigSchema, unmarshalLastDistinctFunctionSchema, unmarshalLastFunctionSchema, unmarshalLastNFunctionSchema, unmarshalLineageContextSchema, unmarshalListFeaturesResponseSchema, unmarshalListKafkaConfigsResponseSchema, unmarshalListMaterializedFeaturesResponseSchema, unmarshalListStreamsResponseSchema, unmarshalMaterializedFeatureSchema, unmarshalMaxFunctionSchema, unmarshalMinFunctionSchema, unmarshalMtlsConfigSchema, unmarshalOfflineStoreConfigSchema, unmarshalOnlineStoreConfigSchema, unmarshalOperationSchema, unmarshalProtoSchemaSpecSchema, unmarshalPurgeFeatureEntitiesMetadataSchema, unmarshalPurgeFeatureEntitiesResponseSchema, unmarshalPurgeFeatureEntitiesResultSchema, unmarshalRequestSourceSchema, unmarshalRollingWindowSchema, unmarshalSawtoothWindowSchema, unmarshalSchemaConfigSchema, unmarshalSchemaLocatorSchema, unmarshalSchemaLocator_ConfluentSchemaSchema, unmarshalSchemaRegistryConfigSchema, unmarshalSecretScopeReferenceSchema, unmarshalSlidingWindowSchema, unmarshalSourceLatenessSchema, unmarshalStddevPopFunctionSchema, unmarshalStddevSampFunctionSchema, unmarshalStreamArnListSchema, unmarshalStreamConnectionConfigSchema, unmarshalStreamNameListSchema, unmarshalStreamSchema, unmarshalStreamSchemaConfigSchema, unmarshalStreamSourceConfigSchema, unmarshalStreamSourceSchema, unmarshalStreamingModeSchema, unmarshalSubscriptionModeSchema, unmarshalSumFunctionSchema, unmarshalTableTriggerSchema, unmarshalTimeWindowSchema, unmarshalTimeseriesColumnSchema, unmarshalTumblingWindowSchema, unmarshalVarPopFunctionSchema, unmarshalVarSampFunctionSchema };
|
|
1947
2383
|
//# sourceMappingURL=model.js.map
|