@databricks/sdk-features 0.39.0 → 0.41.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/index.d.ts +2 -2
- package/dist/v1/index.js +2 -2
- package/dist/v1/model.d.ts +59 -114
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +204 -235
- package/dist/v1/model.js.map +1 -1
- package/package.json +4 -4
package/dist/v1/model.js
CHANGED
|
@@ -21,23 +21,6 @@ const ScalarDataType = {
|
|
|
21
21
|
BINARY: "BINARY",
|
|
22
22
|
DECIMAL: "DECIMAL"
|
|
23
23
|
};
|
|
24
|
-
/** Deprecated: Use the function-specific messages in AggregationFunction.function_type oneof instead. Kept for backwards compatibility. */
|
|
25
|
-
const Function_FunctionType = {
|
|
26
|
-
FUNCTION_TYPE_UNSPECIFIED: "FUNCTION_TYPE_UNSPECIFIED",
|
|
27
|
-
AVG: "AVG",
|
|
28
|
-
COUNT: "COUNT",
|
|
29
|
-
SUM: "SUM",
|
|
30
|
-
MIN: "MIN",
|
|
31
|
-
MAX: "MAX",
|
|
32
|
-
FIRST: "FIRST",
|
|
33
|
-
LAST: "LAST",
|
|
34
|
-
APPROX_COUNT_DISTINCT: "APPROX_COUNT_DISTINCT",
|
|
35
|
-
APPROX_PERCENTILE: "APPROX_PERCENTILE",
|
|
36
|
-
STDDEV_POP: "STDDEV_POP",
|
|
37
|
-
STDDEV_SAMP: "STDDEV_SAMP",
|
|
38
|
-
VAR_POP: "VAR_POP",
|
|
39
|
-
VAR_SAMP: "VAR_SAMP"
|
|
40
|
-
};
|
|
41
24
|
const MaterializedFeature_PipelineScheduleState = {
|
|
42
25
|
PIPELINE_SCHEDULE_STATE_UNSPECIFIED: "PIPELINE_SCHEDULE_STATE_UNSPECIFIED",
|
|
43
26
|
SNAPSHOT: "SNAPSHOT",
|
|
@@ -140,7 +123,11 @@ const unmarshalApproxCountDistinctFunctionSchema = z.object({
|
|
|
140
123
|
const unmarshalApproxPercentileFunctionSchema = z.object({
|
|
141
124
|
input: z.string().optional(),
|
|
142
125
|
percentile: z.number().optional(),
|
|
143
|
-
accuracy: z.union([
|
|
126
|
+
accuracy: z.union([
|
|
127
|
+
z.number(),
|
|
128
|
+
z.bigint(),
|
|
129
|
+
z.string()
|
|
130
|
+
]).transform((v) => BigInt(v)).optional()
|
|
144
131
|
}).transform((d) => ({
|
|
145
132
|
input: d.input,
|
|
146
133
|
percentile: d.percentile,
|
|
@@ -168,15 +155,7 @@ const unmarshalBackfillSourceSchema = z.object({
|
|
|
168
155
|
deltaTableName: d.delta_table_name
|
|
169
156
|
} : void 0 }));
|
|
170
157
|
const unmarshalBatchCreateMaterializedFeaturesResponseSchema = z.object({ materialized_features: z.array(z.lazy(() => unmarshalMaterializedFeatureSchema)).optional() }).transform((d) => ({ materializedFeatures: d.materialized_features }));
|
|
171
|
-
const unmarshalColumnIdentifierSchema = z.object({ variant_expr_path: z.string().optional() }).transform((d) => ({ variantExprPath: d.variant_expr_path }));
|
|
172
158
|
const unmarshalColumnSelectionSchema = z.object({ column: z.string().optional() }).transform((d) => ({ column: d.column }));
|
|
173
|
-
const unmarshalContinuousWindowSchema = z.object({
|
|
174
|
-
window_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
175
|
-
offset: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional()
|
|
176
|
-
}).transform((d) => ({
|
|
177
|
-
windowDuration: d.window_duration,
|
|
178
|
-
offset: d.offset
|
|
179
|
-
}));
|
|
180
159
|
const unmarshalCountFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
181
160
|
const unmarshalCronScheduleSchema = z.object({ cron_expression: z.string().optional() }).transform((d) => ({ cronExpression: d.cron_expression }));
|
|
182
161
|
const unmarshalCustomUdfSchema = z.object({
|
|
@@ -190,31 +169,31 @@ const unmarshalDataSourceSchema = z.object({
|
|
|
190
169
|
delta_table_source: z.lazy(() => unmarshalDeltaTableSourceSchema).optional(),
|
|
191
170
|
kafka_source: z.lazy(() => unmarshalKafkaSourceSchema).optional(),
|
|
192
171
|
request_source: z.lazy(() => unmarshalRequestSourceSchema).optional(),
|
|
193
|
-
stream_source: z.lazy(() => unmarshalStreamSourceSchema).optional()
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
172
|
+
stream_source: z.lazy(() => unmarshalStreamSourceSchema).optional(),
|
|
173
|
+
lateness: z.lazy(() => unmarshalSourceLatenessSchema).optional()
|
|
174
|
+
}).transform((d) => ({
|
|
175
|
+
dataSource: d.delta_table_source !== void 0 ? {
|
|
176
|
+
$case: "deltaTableSource",
|
|
177
|
+
deltaTableSource: d.delta_table_source
|
|
178
|
+
} : d.kafka_source !== void 0 ? {
|
|
179
|
+
$case: "kafkaSource",
|
|
180
|
+
kafkaSource: d.kafka_source
|
|
181
|
+
} : d.request_source !== void 0 ? {
|
|
182
|
+
$case: "requestSource",
|
|
183
|
+
requestSource: d.request_source
|
|
184
|
+
} : d.stream_source !== void 0 ? {
|
|
185
|
+
$case: "streamSource",
|
|
186
|
+
streamSource: d.stream_source
|
|
187
|
+
} : void 0,
|
|
188
|
+
lateness: d.lateness
|
|
189
|
+
}));
|
|
207
190
|
const unmarshalDeltaTableSourceSchema = z.object({
|
|
208
191
|
full_name: z.string().optional(),
|
|
209
|
-
entity_columns: z.array(z.string()).optional(),
|
|
210
|
-
timeseries_column: z.string().optional(),
|
|
211
192
|
filter_condition: z.string().optional(),
|
|
212
193
|
transformation_sql: z.string().optional(),
|
|
213
194
|
dataframe_schema: z.string().optional()
|
|
214
195
|
}).transform((d) => ({
|
|
215
196
|
fullName: d.full_name,
|
|
216
|
-
entityColumns: d.entity_columns,
|
|
217
|
-
timeseriesColumn: d.timeseries_column,
|
|
218
197
|
filterCondition: d.filter_condition,
|
|
219
198
|
transformationSql: d.transformation_sql,
|
|
220
199
|
dataframeSchema: d.dataframe_schema
|
|
@@ -237,11 +216,8 @@ const unmarshalEntityColumnSchema = z.object({ name: z.string().optional() }).tr
|
|
|
237
216
|
const unmarshalFeatureSchema = z.object({
|
|
238
217
|
full_name: z.string().optional(),
|
|
239
218
|
source: z.lazy(() => unmarshalDataSourceSchema).optional(),
|
|
240
|
-
inputs: z.array(z.string()).optional(),
|
|
241
219
|
function: z.lazy(() => unmarshalFunctionSchema).optional(),
|
|
242
|
-
time_window: z.lazy(() => unmarshalTimeWindowSchema).optional(),
|
|
243
220
|
description: z.string().optional(),
|
|
244
|
-
filter_condition: z.string().optional(),
|
|
245
221
|
lineage_context: z.lazy(() => unmarshalLineageContextSchema).optional(),
|
|
246
222
|
entities: z.array(z.lazy(() => unmarshalEntityColumnSchema)).optional(),
|
|
247
223
|
timeseries_column: z.lazy(() => unmarshalTimeseriesColumnSchema).optional(),
|
|
@@ -253,11 +229,8 @@ const unmarshalFeatureSchema = z.object({
|
|
|
253
229
|
}).transform((d) => ({
|
|
254
230
|
fullName: d.full_name,
|
|
255
231
|
source: d.source,
|
|
256
|
-
inputs: d.inputs,
|
|
257
232
|
function: d.function,
|
|
258
|
-
timeWindow: d.time_window,
|
|
259
233
|
description: d.description,
|
|
260
|
-
filterCondition: d.filter_condition,
|
|
261
234
|
lineageContext: d.lineage_context,
|
|
262
235
|
entities: d.entities,
|
|
263
236
|
timeseriesColumn: d.timeseries_column,
|
|
@@ -276,7 +249,11 @@ const unmarshalFieldDefinitionSchema = z.object({
|
|
|
276
249
|
}));
|
|
277
250
|
const unmarshalFirstDistinctFunctionSchema = z.object({
|
|
278
251
|
input: z.string().optional(),
|
|
279
|
-
n: z.union([
|
|
252
|
+
n: z.union([
|
|
253
|
+
z.number(),
|
|
254
|
+
z.bigint(),
|
|
255
|
+
z.string()
|
|
256
|
+
]).transform((v) => BigInt(v)).optional()
|
|
280
257
|
}).transform((d) => ({
|
|
281
258
|
input: d.input,
|
|
282
259
|
n: d.n
|
|
@@ -284,46 +261,45 @@ const unmarshalFirstDistinctFunctionSchema = z.object({
|
|
|
284
261
|
const unmarshalFirstFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
285
262
|
const unmarshalFirstNFunctionSchema = z.object({
|
|
286
263
|
input: z.string().optional(),
|
|
287
|
-
n: z.union([
|
|
264
|
+
n: z.union([
|
|
265
|
+
z.number(),
|
|
266
|
+
z.bigint(),
|
|
267
|
+
z.string()
|
|
268
|
+
]).transform((v) => BigInt(v)).optional()
|
|
288
269
|
}).transform((d) => ({
|
|
289
270
|
input: d.input,
|
|
290
271
|
n: d.n
|
|
291
272
|
}));
|
|
292
273
|
const unmarshalFlatSchemaSchema = z.object({ fields: z.array(z.lazy(() => unmarshalFieldDefinitionSchema)).optional() }).transform((d) => ({ fields: d.fields }));
|
|
293
274
|
const unmarshalFunctionSchema = z.object({
|
|
294
|
-
function_type: z.string().optional(),
|
|
295
|
-
extra_parameters: z.array(z.lazy(() => unmarshalFunction_ExtraParameterSchema)).optional(),
|
|
296
275
|
aggregation_function: z.lazy(() => unmarshalAggregationFunctionSchema).optional(),
|
|
297
276
|
column_selection: z.lazy(() => unmarshalColumnSelectionSchema).optional(),
|
|
298
277
|
custom_udf: z.lazy(() => unmarshalCustomUdfSchema).optional()
|
|
299
|
-
}).transform((d) => ({
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
$case: "customUdf",
|
|
310
|
-
customUdf: d.custom_udf
|
|
311
|
-
} : void 0
|
|
312
|
-
}));
|
|
313
|
-
const unmarshalFunction_ExtraParameterSchema = z.object({
|
|
314
|
-
key: z.string().optional(),
|
|
315
|
-
value: z.string().optional()
|
|
316
|
-
}).transform((d) => ({
|
|
317
|
-
key: d.key,
|
|
318
|
-
value: d.value
|
|
319
|
-
}));
|
|
278
|
+
}).transform((d) => ({ function: d.aggregation_function !== void 0 ? {
|
|
279
|
+
$case: "aggregationFunction",
|
|
280
|
+
aggregationFunction: d.aggregation_function
|
|
281
|
+
} : d.column_selection !== void 0 ? {
|
|
282
|
+
$case: "columnSelection",
|
|
283
|
+
columnSelection: d.column_selection
|
|
284
|
+
} : d.custom_udf !== void 0 ? {
|
|
285
|
+
$case: "customUdf",
|
|
286
|
+
customUdf: d.custom_udf
|
|
287
|
+
} : void 0 }));
|
|
320
288
|
const unmarshalIngestionConfigSchema = z.object({
|
|
321
289
|
ingestion_destination: z.lazy(() => unmarshalIngestionDestinationSchema).optional(),
|
|
322
290
|
backfill_source: z.lazy(() => unmarshalBackfillSourceSchema).optional(),
|
|
323
291
|
deduplication_columns: z.array(z.string()).optional(),
|
|
324
292
|
ingestion_pipeline_id: z.string().optional(),
|
|
325
|
-
ingestion_job_id: z.union([
|
|
326
|
-
|
|
293
|
+
ingestion_job_id: z.union([
|
|
294
|
+
z.number(),
|
|
295
|
+
z.bigint(),
|
|
296
|
+
z.string()
|
|
297
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
298
|
+
backfill_job_id: z.union([
|
|
299
|
+
z.number(),
|
|
300
|
+
z.bigint(),
|
|
301
|
+
z.string()
|
|
302
|
+
]).transform((v) => BigInt(v)).optional()
|
|
327
303
|
}).transform((d) => ({
|
|
328
304
|
ingestionDestination: d.ingestion_destination,
|
|
329
305
|
backfillSource: d.backfill_source,
|
|
@@ -344,8 +320,16 @@ const unmarshalInputBindingSchema = z.object({
|
|
|
344
320
|
column: d.column
|
|
345
321
|
}));
|
|
346
322
|
const unmarshalJobContextSchema = z.object({
|
|
347
|
-
job_id: z.union([
|
|
348
|
-
|
|
323
|
+
job_id: z.union([
|
|
324
|
+
z.number(),
|
|
325
|
+
z.bigint(),
|
|
326
|
+
z.string()
|
|
327
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
328
|
+
job_run_id: z.union([
|
|
329
|
+
z.number(),
|
|
330
|
+
z.bigint(),
|
|
331
|
+
z.string()
|
|
332
|
+
]).transform((v) => BigInt(v)).optional()
|
|
349
333
|
}).transform((d) => ({
|
|
350
334
|
jobId: d.job_id,
|
|
351
335
|
jobRunId: d.job_run_id
|
|
@@ -373,13 +357,9 @@ const unmarshalKafkaConfigSchema = z.object({
|
|
|
373
357
|
}));
|
|
374
358
|
const unmarshalKafkaSourceSchema = z.object({
|
|
375
359
|
name: z.string().optional(),
|
|
376
|
-
entity_column_identifiers: z.array(z.lazy(() => unmarshalColumnIdentifierSchema)).optional(),
|
|
377
|
-
timeseries_column_identifier: z.lazy(() => unmarshalColumnIdentifierSchema).optional(),
|
|
378
360
|
filter_condition: z.string().optional()
|
|
379
361
|
}).transform((d) => ({
|
|
380
362
|
name: d.name,
|
|
381
|
-
entityColumnIdentifiers: d.entity_column_identifiers,
|
|
382
|
-
timeseriesColumnIdentifier: d.timeseries_column_identifier,
|
|
383
363
|
filterCondition: d.filter_condition
|
|
384
364
|
}));
|
|
385
365
|
const unmarshalKafkaStreamConfigSchema = z.object({
|
|
@@ -419,7 +399,11 @@ const unmarshalKinesisStreamConfigSchema = z.object({
|
|
|
419
399
|
}));
|
|
420
400
|
const unmarshalLastDistinctFunctionSchema = z.object({
|
|
421
401
|
input: z.string().optional(),
|
|
422
|
-
n: z.union([
|
|
402
|
+
n: z.union([
|
|
403
|
+
z.number(),
|
|
404
|
+
z.bigint(),
|
|
405
|
+
z.string()
|
|
406
|
+
]).transform((v) => BigInt(v)).optional()
|
|
423
407
|
}).transform((d) => ({
|
|
424
408
|
input: d.input,
|
|
425
409
|
n: d.n
|
|
@@ -427,13 +411,21 @@ const unmarshalLastDistinctFunctionSchema = z.object({
|
|
|
427
411
|
const unmarshalLastFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
428
412
|
const unmarshalLastNFunctionSchema = z.object({
|
|
429
413
|
input: z.string().optional(),
|
|
430
|
-
n: z.union([
|
|
414
|
+
n: z.union([
|
|
415
|
+
z.number(),
|
|
416
|
+
z.bigint(),
|
|
417
|
+
z.string()
|
|
418
|
+
]).transform((v) => BigInt(v)).optional()
|
|
431
419
|
}).transform((d) => ({
|
|
432
420
|
input: d.input,
|
|
433
421
|
n: d.n
|
|
434
422
|
}));
|
|
435
423
|
const unmarshalLineageContextSchema = z.object({
|
|
436
|
-
notebook_id: z.union([
|
|
424
|
+
notebook_id: z.union([
|
|
425
|
+
z.number(),
|
|
426
|
+
z.bigint(),
|
|
427
|
+
z.string()
|
|
428
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
437
429
|
job_context: z.lazy(() => unmarshalJobContextSchema).optional()
|
|
438
430
|
}).transform((d) => ({
|
|
439
431
|
notebookId: d.notebook_id,
|
|
@@ -475,7 +467,6 @@ const unmarshalMaterializedFeatureSchema = z.object({
|
|
|
475
467
|
table_name: z.string().optional(),
|
|
476
468
|
pipeline_schedule_state: z.string().optional(),
|
|
477
469
|
last_materialization_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
478
|
-
cron_schedule: z.string().optional(),
|
|
479
470
|
is_online: z.boolean().optional(),
|
|
480
471
|
cron_schedule_trigger: z.lazy(() => unmarshalCronScheduleSchema).optional(),
|
|
481
472
|
table_trigger: z.lazy(() => unmarshalTableTriggerSchema).optional(),
|
|
@@ -493,7 +484,6 @@ const unmarshalMaterializedFeatureSchema = z.object({
|
|
|
493
484
|
tableName: d.table_name,
|
|
494
485
|
pipelineScheduleState: d.pipeline_schedule_state,
|
|
495
486
|
lastMaterializationTime: d.last_materialization_time,
|
|
496
|
-
cronSchedule: d.cron_schedule,
|
|
497
487
|
isOnline: d.is_online,
|
|
498
488
|
trigger: d.cron_schedule_trigger !== void 0 ? {
|
|
499
489
|
$case: "cronScheduleTrigger",
|
|
@@ -613,11 +603,16 @@ const unmarshalSecretScopeReferenceSchema = z.object({
|
|
|
613
603
|
}));
|
|
614
604
|
const unmarshalSlidingWindowSchema = z.object({
|
|
615
605
|
window_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
616
|
-
slide_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional()
|
|
606
|
+
slide_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
607
|
+
delay: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
608
|
+
offset: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional()
|
|
617
609
|
}).transform((d) => ({
|
|
618
610
|
windowDuration: d.window_duration,
|
|
619
|
-
slideDuration: d.slide_duration
|
|
611
|
+
slideDuration: d.slide_duration,
|
|
612
|
+
delay: d.delay,
|
|
613
|
+
offset: d.offset
|
|
620
614
|
}));
|
|
615
|
+
const unmarshalSourceLatenessSchema = z.object({ settling_delay: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional() }).transform((d) => ({ settlingDelay: d.settling_delay }));
|
|
621
616
|
const unmarshalStddevPopFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
622
617
|
const unmarshalStddevSampFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
623
618
|
const unmarshalStreamSchema = z.object({
|
|
@@ -712,29 +707,37 @@ const unmarshalSubscriptionModeSchema = z.object({
|
|
|
712
707
|
const unmarshalSumFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
713
708
|
const unmarshalTableTriggerSchema = z.object({});
|
|
714
709
|
const unmarshalTimeWindowSchema = z.object({
|
|
715
|
-
continuous: z.lazy(() => unmarshalContinuousWindowSchema).optional(),
|
|
716
710
|
tumbling: z.lazy(() => unmarshalTumblingWindowSchema).optional(),
|
|
717
711
|
sliding: z.lazy(() => unmarshalSlidingWindowSchema).optional(),
|
|
718
712
|
rolling: z.lazy(() => unmarshalRollingWindowSchema).optional(),
|
|
719
|
-
sawtooth: z.lazy(() => unmarshalSawtoothWindowSchema).optional()
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
713
|
+
sawtooth: z.lazy(() => unmarshalSawtoothWindowSchema).optional(),
|
|
714
|
+
start_time: z.string().transform((s) => Temporal.Instant.from(s)).optional()
|
|
715
|
+
}).transform((d) => ({
|
|
716
|
+
windowType: d.tumbling !== void 0 ? {
|
|
717
|
+
$case: "tumbling",
|
|
718
|
+
tumbling: d.tumbling
|
|
719
|
+
} : d.sliding !== void 0 ? {
|
|
720
|
+
$case: "sliding",
|
|
721
|
+
sliding: d.sliding
|
|
722
|
+
} : d.rolling !== void 0 ? {
|
|
723
|
+
$case: "rolling",
|
|
724
|
+
rolling: d.rolling
|
|
725
|
+
} : d.sawtooth !== void 0 ? {
|
|
726
|
+
$case: "sawtooth",
|
|
727
|
+
sawtooth: d.sawtooth
|
|
728
|
+
} : void 0,
|
|
729
|
+
startTime: d.start_time
|
|
730
|
+
}));
|
|
736
731
|
const unmarshalTimeseriesColumnSchema = z.object({ name: z.string().optional() }).transform((d) => ({ name: d.name }));
|
|
737
|
-
const unmarshalTumblingWindowSchema = z.object({
|
|
732
|
+
const unmarshalTumblingWindowSchema = z.object({
|
|
733
|
+
window_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
734
|
+
delay: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
735
|
+
offset: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional()
|
|
736
|
+
}).transform((d) => ({
|
|
737
|
+
windowDuration: d.window_duration,
|
|
738
|
+
delay: d.delay,
|
|
739
|
+
offset: d.offset
|
|
740
|
+
}));
|
|
738
741
|
const unmarshalVarPopFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
739
742
|
const unmarshalVarSampFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
740
743
|
const marshalAggregationFunctionSchema = z.object({
|
|
@@ -867,15 +870,7 @@ const marshalBackfillSourceSchema = z.object({ backfillSource: z.discriminatedUn
|
|
|
867
870
|
...d.backfillSource?.$case === "deltaTableName" && { delta_table_name: d.backfillSource.deltaTableName }
|
|
868
871
|
}));
|
|
869
872
|
const marshalBatchCreateMaterializedFeaturesRequestSchema = z.object({ requests: z.array(z.lazy(() => marshalCreateMaterializedFeatureRequestSchema)).optional() }).transform((d) => ({ requests: d.requests }));
|
|
870
|
-
const marshalColumnIdentifierSchema = z.object({ variantExprPath: z.string().optional() }).transform((d) => ({ variant_expr_path: d.variantExprPath }));
|
|
871
873
|
const marshalColumnSelectionSchema = z.object({ column: z.string().optional() }).transform((d) => ({ column: d.column }));
|
|
872
|
-
const marshalContinuousWindowSchema = z.object({
|
|
873
|
-
windowDuration: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
874
|
-
offset: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional()
|
|
875
|
-
}).transform((d) => ({
|
|
876
|
-
window_duration: d.windowDuration,
|
|
877
|
-
offset: d.offset
|
|
878
|
-
}));
|
|
879
874
|
const marshalCountFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
880
875
|
const marshalCreateMaterializedFeatureRequestSchema = z.object({ materializedFeature: z.lazy(() => marshalMaterializedFeatureSchema).optional() }).transform((d) => ({ materialized_feature: d.materializedFeature }));
|
|
881
876
|
const marshalCronScheduleSchema = z.object({ cronExpression: z.string().optional() }).transform((d) => ({ cron_expression: d.cronExpression }));
|
|
@@ -886,40 +881,40 @@ const marshalCustomUdfSchema = z.object({
|
|
|
886
881
|
function_path: d.functionPath,
|
|
887
882
|
input_bindings: d.inputBindings
|
|
888
883
|
}));
|
|
889
|
-
const marshalDataSourceSchema = z.object({
|
|
890
|
-
z.
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
884
|
+
const marshalDataSourceSchema = z.object({
|
|
885
|
+
dataSource: z.discriminatedUnion("$case", [
|
|
886
|
+
z.object({
|
|
887
|
+
$case: z.literal("deltaTableSource"),
|
|
888
|
+
deltaTableSource: z.lazy(() => marshalDeltaTableSourceSchema)
|
|
889
|
+
}),
|
|
890
|
+
z.object({
|
|
891
|
+
$case: z.literal("kafkaSource"),
|
|
892
|
+
kafkaSource: z.lazy(() => marshalKafkaSourceSchema)
|
|
893
|
+
}),
|
|
894
|
+
z.object({
|
|
895
|
+
$case: z.literal("requestSource"),
|
|
896
|
+
requestSource: z.lazy(() => marshalRequestSourceSchema)
|
|
897
|
+
}),
|
|
898
|
+
z.object({
|
|
899
|
+
$case: z.literal("streamSource"),
|
|
900
|
+
streamSource: z.lazy(() => marshalStreamSourceSchema)
|
|
901
|
+
})
|
|
902
|
+
]).optional(),
|
|
903
|
+
lateness: z.lazy(() => marshalSourceLatenessSchema).optional()
|
|
904
|
+
}).transform((d) => ({
|
|
907
905
|
...d.dataSource?.$case === "deltaTableSource" && { delta_table_source: d.dataSource.deltaTableSource },
|
|
908
906
|
...d.dataSource?.$case === "kafkaSource" && { kafka_source: d.dataSource.kafkaSource },
|
|
909
907
|
...d.dataSource?.$case === "requestSource" && { request_source: d.dataSource.requestSource },
|
|
910
|
-
...d.dataSource?.$case === "streamSource" && { stream_source: d.dataSource.streamSource }
|
|
908
|
+
...d.dataSource?.$case === "streamSource" && { stream_source: d.dataSource.streamSource },
|
|
909
|
+
lateness: d.lateness
|
|
911
910
|
}));
|
|
912
911
|
const marshalDeltaTableSourceSchema = z.object({
|
|
913
912
|
fullName: z.string().optional(),
|
|
914
|
-
entityColumns: z.array(z.string()).optional(),
|
|
915
|
-
timeseriesColumn: z.string().optional(),
|
|
916
913
|
filterCondition: z.string().optional(),
|
|
917
914
|
transformationSql: z.string().optional(),
|
|
918
915
|
dataframeSchema: z.string().optional()
|
|
919
916
|
}).transform((d) => ({
|
|
920
917
|
full_name: d.fullName,
|
|
921
|
-
entity_columns: d.entityColumns,
|
|
922
|
-
timeseries_column: d.timeseriesColumn,
|
|
923
918
|
filter_condition: d.filterCondition,
|
|
924
919
|
transformation_sql: d.transformationSql,
|
|
925
920
|
dataframe_schema: d.dataframeSchema
|
|
@@ -942,11 +937,8 @@ const marshalEntityColumnSchema = z.object({ name: z.string().optional() }).tran
|
|
|
942
937
|
const marshalFeatureSchema = z.object({
|
|
943
938
|
fullName: z.string().optional(),
|
|
944
939
|
source: z.lazy(() => marshalDataSourceSchema).optional(),
|
|
945
|
-
inputs: z.array(z.string()).optional(),
|
|
946
940
|
function: z.lazy(() => marshalFunctionSchema).optional(),
|
|
947
|
-
timeWindow: z.lazy(() => marshalTimeWindowSchema).optional(),
|
|
948
941
|
description: z.string().optional(),
|
|
949
|
-
filterCondition: z.string().optional(),
|
|
950
942
|
lineageContext: z.lazy(() => marshalLineageContextSchema).optional(),
|
|
951
943
|
entities: z.array(z.lazy(() => marshalEntityColumnSchema)).optional(),
|
|
952
944
|
timeseriesColumn: z.lazy(() => marshalTimeseriesColumnSchema).optional(),
|
|
@@ -958,11 +950,8 @@ const marshalFeatureSchema = z.object({
|
|
|
958
950
|
}).transform((d) => ({
|
|
959
951
|
full_name: d.fullName,
|
|
960
952
|
source: d.source,
|
|
961
|
-
inputs: d.inputs,
|
|
962
953
|
function: d.function,
|
|
963
|
-
time_window: d.timeWindow,
|
|
964
954
|
description: d.description,
|
|
965
|
-
filter_condition: d.filterCondition,
|
|
966
955
|
lineage_context: d.lineageContext,
|
|
967
956
|
entities: d.entities,
|
|
968
957
|
timeseries_column: d.timeseriesColumn,
|
|
@@ -995,37 +984,24 @@ const marshalFirstNFunctionSchema = z.object({
|
|
|
995
984
|
n: d.n
|
|
996
985
|
}));
|
|
997
986
|
const marshalFlatSchemaSchema = z.object({ fields: z.array(z.lazy(() => marshalFieldDefinitionSchema)).optional() }).transform((d) => ({ fields: d.fields }));
|
|
998
|
-
const marshalFunctionSchema = z.object({
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
customUdf: z.lazy(() => marshalCustomUdfSchema)
|
|
1013
|
-
})
|
|
1014
|
-
]).optional()
|
|
1015
|
-
}).transform((d) => ({
|
|
1016
|
-
function_type: d.functionType,
|
|
1017
|
-
extra_parameters: d.extraParameters,
|
|
987
|
+
const marshalFunctionSchema = z.object({ function: z.discriminatedUnion("$case", [
|
|
988
|
+
z.object({
|
|
989
|
+
$case: z.literal("aggregationFunction"),
|
|
990
|
+
aggregationFunction: z.lazy(() => marshalAggregationFunctionSchema)
|
|
991
|
+
}),
|
|
992
|
+
z.object({
|
|
993
|
+
$case: z.literal("columnSelection"),
|
|
994
|
+
columnSelection: z.lazy(() => marshalColumnSelectionSchema)
|
|
995
|
+
}),
|
|
996
|
+
z.object({
|
|
997
|
+
$case: z.literal("customUdf"),
|
|
998
|
+
customUdf: z.lazy(() => marshalCustomUdfSchema)
|
|
999
|
+
})
|
|
1000
|
+
]).optional() }).transform((d) => ({
|
|
1018
1001
|
...d.function?.$case === "aggregationFunction" && { aggregation_function: d.function.aggregationFunction },
|
|
1019
1002
|
...d.function?.$case === "columnSelection" && { column_selection: d.function.columnSelection },
|
|
1020
1003
|
...d.function?.$case === "customUdf" && { custom_udf: d.function.customUdf }
|
|
1021
1004
|
}));
|
|
1022
|
-
const marshalFunction_ExtraParameterSchema = z.object({
|
|
1023
|
-
key: z.string().optional(),
|
|
1024
|
-
value: z.string().optional()
|
|
1025
|
-
}).transform((d) => ({
|
|
1026
|
-
key: d.key,
|
|
1027
|
-
value: d.value
|
|
1028
|
-
}));
|
|
1029
1005
|
const marshalIngestionConfigSchema = z.object({
|
|
1030
1006
|
ingestionDestination: z.lazy(() => marshalIngestionDestinationSchema).optional(),
|
|
1031
1007
|
backfillSource: z.lazy(() => marshalBackfillSourceSchema).optional(),
|
|
@@ -1082,13 +1058,9 @@ const marshalKafkaConfigSchema = z.object({
|
|
|
1082
1058
|
}));
|
|
1083
1059
|
const marshalKafkaSourceSchema = z.object({
|
|
1084
1060
|
name: z.string().optional(),
|
|
1085
|
-
entityColumnIdentifiers: z.array(z.lazy(() => marshalColumnIdentifierSchema)).optional(),
|
|
1086
|
-
timeseriesColumnIdentifier: z.lazy(() => marshalColumnIdentifierSchema).optional(),
|
|
1087
1061
|
filterCondition: z.string().optional()
|
|
1088
1062
|
}).transform((d) => ({
|
|
1089
1063
|
name: d.name,
|
|
1090
|
-
entity_column_identifiers: d.entityColumnIdentifiers,
|
|
1091
|
-
timeseries_column_identifier: d.timeseriesColumnIdentifier,
|
|
1092
1064
|
filter_condition: d.filterCondition
|
|
1093
1065
|
}));
|
|
1094
1066
|
const marshalKafkaStreamConfigSchema = z.object({
|
|
@@ -1165,7 +1137,6 @@ const marshalMaterializedFeatureSchema = z.object({
|
|
|
1165
1137
|
tableName: z.string().optional(),
|
|
1166
1138
|
pipelineScheduleState: z.string().optional(),
|
|
1167
1139
|
lastMaterializationTime: z.any().transform((d) => d.toString()).optional(),
|
|
1168
|
-
cronSchedule: z.string().optional(),
|
|
1169
1140
|
isOnline: z.boolean().optional(),
|
|
1170
1141
|
trigger: z.discriminatedUnion("$case", [
|
|
1171
1142
|
z.object({
|
|
@@ -1189,7 +1160,6 @@ const marshalMaterializedFeatureSchema = z.object({
|
|
|
1189
1160
|
table_name: d.tableName,
|
|
1190
1161
|
pipeline_schedule_state: d.pipelineScheduleState,
|
|
1191
1162
|
last_materialization_time: d.lastMaterializationTime,
|
|
1192
|
-
cron_schedule: d.cronSchedule,
|
|
1193
1163
|
is_online: d.isOnline,
|
|
1194
1164
|
...d.trigger?.$case === "cronScheduleTrigger" && { cron_schedule_trigger: d.trigger.cronScheduleTrigger },
|
|
1195
1165
|
...d.trigger?.$case === "tableTrigger" && { table_trigger: d.trigger.tableTrigger },
|
|
@@ -1306,11 +1276,16 @@ const marshalSecretScopeReferenceSchema = z.object({
|
|
|
1306
1276
|
}));
|
|
1307
1277
|
const marshalSlidingWindowSchema = z.object({
|
|
1308
1278
|
windowDuration: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
1309
|
-
slideDuration: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional()
|
|
1279
|
+
slideDuration: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
1280
|
+
delay: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
1281
|
+
offset: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional()
|
|
1310
1282
|
}).transform((d) => ({
|
|
1311
1283
|
window_duration: d.windowDuration,
|
|
1312
|
-
slide_duration: d.slideDuration
|
|
1284
|
+
slide_duration: d.slideDuration,
|
|
1285
|
+
delay: d.delay,
|
|
1286
|
+
offset: d.offset
|
|
1313
1287
|
}));
|
|
1288
|
+
const marshalSourceLatenessSchema = z.object({ settlingDelay: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional() }).transform((d) => ({ settling_delay: d.settlingDelay }));
|
|
1314
1289
|
const marshalStddevPopFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1315
1290
|
const marshalStddevSampFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1316
1291
|
const marshalStreamSchema = z.object({
|
|
@@ -1408,36 +1383,43 @@ const marshalSubscriptionModeSchema = z.object({ subscriptionMode: z.discriminat
|
|
|
1408
1383
|
}));
|
|
1409
1384
|
const marshalSumFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1410
1385
|
const marshalTableTriggerSchema = z.object({});
|
|
1411
|
-
const marshalTimeWindowSchema = z.object({
|
|
1412
|
-
z.
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
]).optional() }).transform((d) => ({
|
|
1433
|
-
...d.windowType?.$case === "continuous" && { continuous: d.windowType.continuous },
|
|
1386
|
+
const marshalTimeWindowSchema = z.object({
|
|
1387
|
+
windowType: z.discriminatedUnion("$case", [
|
|
1388
|
+
z.object({
|
|
1389
|
+
$case: z.literal("tumbling"),
|
|
1390
|
+
tumbling: z.lazy(() => marshalTumblingWindowSchema)
|
|
1391
|
+
}),
|
|
1392
|
+
z.object({
|
|
1393
|
+
$case: z.literal("sliding"),
|
|
1394
|
+
sliding: z.lazy(() => marshalSlidingWindowSchema)
|
|
1395
|
+
}),
|
|
1396
|
+
z.object({
|
|
1397
|
+
$case: z.literal("rolling"),
|
|
1398
|
+
rolling: z.lazy(() => marshalRollingWindowSchema)
|
|
1399
|
+
}),
|
|
1400
|
+
z.object({
|
|
1401
|
+
$case: z.literal("sawtooth"),
|
|
1402
|
+
sawtooth: z.lazy(() => marshalSawtoothWindowSchema)
|
|
1403
|
+
})
|
|
1404
|
+
]).optional(),
|
|
1405
|
+
startTime: z.any().transform((d) => d.toString()).optional()
|
|
1406
|
+
}).transform((d) => ({
|
|
1434
1407
|
...d.windowType?.$case === "tumbling" && { tumbling: d.windowType.tumbling },
|
|
1435
1408
|
...d.windowType?.$case === "sliding" && { sliding: d.windowType.sliding },
|
|
1436
1409
|
...d.windowType?.$case === "rolling" && { rolling: d.windowType.rolling },
|
|
1437
|
-
...d.windowType?.$case === "sawtooth" && { sawtooth: d.windowType.sawtooth }
|
|
1410
|
+
...d.windowType?.$case === "sawtooth" && { sawtooth: d.windowType.sawtooth },
|
|
1411
|
+
start_time: d.startTime
|
|
1438
1412
|
}));
|
|
1439
1413
|
const marshalTimeseriesColumnSchema = z.object({ name: z.string().optional() }).transform((d) => ({ name: d.name }));
|
|
1440
|
-
const marshalTumblingWindowSchema = z.object({
|
|
1414
|
+
const marshalTumblingWindowSchema = z.object({
|
|
1415
|
+
windowDuration: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
1416
|
+
delay: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional(),
|
|
1417
|
+
offset: z.any().transform((d) => d.toString().slice(2).toLowerCase()).optional()
|
|
1418
|
+
}).transform((d) => ({
|
|
1419
|
+
window_duration: d.windowDuration,
|
|
1420
|
+
delay: d.delay,
|
|
1421
|
+
offset: d.offset
|
|
1422
|
+
}));
|
|
1441
1423
|
const marshalVarPopFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1442
1424
|
const marshalVarSampFunctionSchema = z.object({ input: z.string().optional() }).transform((d) => ({ input: d.input }));
|
|
1443
1425
|
const aggregationFunctionFieldMaskSchema = {
|
|
@@ -1538,12 +1520,7 @@ const backfillSourceFieldMaskSchema = {
|
|
|
1538
1520
|
children: () => deltaTableSourceFieldMaskSchema
|
|
1539
1521
|
}
|
|
1540
1522
|
};
|
|
1541
|
-
const columnIdentifierFieldMaskSchema = { variantExprPath: { wire: "variant_expr_path" } };
|
|
1542
1523
|
const columnSelectionFieldMaskSchema = { column: { wire: "column" } };
|
|
1543
|
-
const continuousWindowFieldMaskSchema = {
|
|
1544
|
-
offset: { wire: "offset" },
|
|
1545
|
-
windowDuration: { wire: "window_duration" }
|
|
1546
|
-
};
|
|
1547
1524
|
const countFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1548
1525
|
const cronScheduleFieldMaskSchema = { cronExpression: { wire: "cron_expression" } };
|
|
1549
1526
|
const customUdfFieldMaskSchema = {
|
|
@@ -1559,6 +1536,10 @@ const dataSourceFieldMaskSchema = {
|
|
|
1559
1536
|
wire: "kafka_source",
|
|
1560
1537
|
children: () => kafkaSourceFieldMaskSchema
|
|
1561
1538
|
},
|
|
1539
|
+
lateness: {
|
|
1540
|
+
wire: "lateness",
|
|
1541
|
+
children: () => sourceLatenessFieldMaskSchema
|
|
1542
|
+
},
|
|
1562
1543
|
requestSource: {
|
|
1563
1544
|
wire: "request_source",
|
|
1564
1545
|
children: () => requestSourceFieldMaskSchema
|
|
@@ -1570,10 +1551,8 @@ const dataSourceFieldMaskSchema = {
|
|
|
1570
1551
|
};
|
|
1571
1552
|
const deltaTableSourceFieldMaskSchema = {
|
|
1572
1553
|
dataframeSchema: { wire: "dataframe_schema" },
|
|
1573
|
-
entityColumns: { wire: "entity_columns" },
|
|
1574
1554
|
filterCondition: { wire: "filter_condition" },
|
|
1575
1555
|
fullName: { wire: "full_name" },
|
|
1576
|
-
timeseriesColumn: { wire: "timeseries_column" },
|
|
1577
1556
|
transformationSql: { wire: "transformation_sql" }
|
|
1578
1557
|
};
|
|
1579
1558
|
const directMtlsConfigFieldMaskSchema = {
|
|
@@ -1599,13 +1578,11 @@ const featureFieldMaskSchema = {
|
|
|
1599
1578
|
createdBy: { wire: "created_by" },
|
|
1600
1579
|
description: { wire: "description" },
|
|
1601
1580
|
entities: { wire: "entities" },
|
|
1602
|
-
filterCondition: { wire: "filter_condition" },
|
|
1603
1581
|
fullName: { wire: "full_name" },
|
|
1604
1582
|
function: {
|
|
1605
1583
|
wire: "function",
|
|
1606
1584
|
children: () => functionFieldMaskSchema
|
|
1607
1585
|
},
|
|
1608
|
-
inputs: { wire: "inputs" },
|
|
1609
1586
|
lineageContext: {
|
|
1610
1587
|
wire: "lineage_context",
|
|
1611
1588
|
children: () => lineageContextFieldMaskSchema
|
|
@@ -1616,10 +1593,6 @@ const featureFieldMaskSchema = {
|
|
|
1616
1593
|
wire: "source",
|
|
1617
1594
|
children: () => dataSourceFieldMaskSchema
|
|
1618
1595
|
},
|
|
1619
|
-
timeWindow: {
|
|
1620
|
-
wire: "time_window",
|
|
1621
|
-
children: () => timeWindowFieldMaskSchema
|
|
1622
|
-
},
|
|
1623
1596
|
timeseriesColumn: {
|
|
1624
1597
|
wire: "timeseries_column",
|
|
1625
1598
|
children: () => timeseriesColumnFieldMaskSchema
|
|
@@ -1650,9 +1623,7 @@ const functionFieldMaskSchema = {
|
|
|
1650
1623
|
customUdf: {
|
|
1651
1624
|
wire: "custom_udf",
|
|
1652
1625
|
children: () => customUdfFieldMaskSchema
|
|
1653
|
-
}
|
|
1654
|
-
extraParameters: { wire: "extra_parameters" },
|
|
1655
|
-
functionType: { wire: "function_type" }
|
|
1626
|
+
}
|
|
1656
1627
|
};
|
|
1657
1628
|
const ingestionConfigFieldMaskSchema = {
|
|
1658
1629
|
backfillJobId: { wire: "backfill_job_id" },
|
|
@@ -1706,13 +1677,8 @@ function kafkaConfigFieldMask(...paths) {
|
|
|
1706
1677
|
return FieldMask.build(paths, kafkaConfigFieldMaskSchema);
|
|
1707
1678
|
}
|
|
1708
1679
|
const kafkaSourceFieldMaskSchema = {
|
|
1709
|
-
entityColumnIdentifiers: { wire: "entity_column_identifiers" },
|
|
1710
1680
|
filterCondition: { wire: "filter_condition" },
|
|
1711
|
-
name: { wire: "name" }
|
|
1712
|
-
timeseriesColumnIdentifier: {
|
|
1713
|
-
wire: "timeseries_column_identifier",
|
|
1714
|
-
children: () => columnIdentifierFieldMaskSchema
|
|
1715
|
-
}
|
|
1681
|
+
name: { wire: "name" }
|
|
1716
1682
|
};
|
|
1717
1683
|
const kafkaStreamConfigFieldMaskSchema = {
|
|
1718
1684
|
extraOptions: { wire: "extra_options" },
|
|
@@ -1754,7 +1720,6 @@ const lineageContextFieldMaskSchema = {
|
|
|
1754
1720
|
notebookId: { wire: "notebook_id" }
|
|
1755
1721
|
};
|
|
1756
1722
|
const materializedFeatureFieldMaskSchema = {
|
|
1757
|
-
cronSchedule: { wire: "cron_schedule" },
|
|
1758
1723
|
cronScheduleTrigger: {
|
|
1759
1724
|
wire: "cron_schedule_trigger",
|
|
1760
1725
|
children: () => cronScheduleFieldMaskSchema
|
|
@@ -1867,9 +1832,12 @@ const secretScopeReferenceFieldMaskSchema = {
|
|
|
1867
1832
|
scope: { wire: "scope" }
|
|
1868
1833
|
};
|
|
1869
1834
|
const slidingWindowFieldMaskSchema = {
|
|
1835
|
+
delay: { wire: "delay" },
|
|
1836
|
+
offset: { wire: "offset" },
|
|
1870
1837
|
slideDuration: { wire: "slide_duration" },
|
|
1871
1838
|
windowDuration: { wire: "window_duration" }
|
|
1872
1839
|
};
|
|
1840
|
+
const sourceLatenessFieldMaskSchema = { settlingDelay: { wire: "settling_delay" } };
|
|
1873
1841
|
const stddevPopFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1874
1842
|
const stddevSampFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1875
1843
|
const streamFieldMaskSchema = {
|
|
@@ -1947,10 +1915,6 @@ const subscriptionModeFieldMaskSchema = {
|
|
|
1947
1915
|
const sumFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1948
1916
|
const tableTriggerFieldMaskSchema = {};
|
|
1949
1917
|
const timeWindowFieldMaskSchema = {
|
|
1950
|
-
continuous: {
|
|
1951
|
-
wire: "continuous",
|
|
1952
|
-
children: () => continuousWindowFieldMaskSchema
|
|
1953
|
-
},
|
|
1954
1918
|
rolling: {
|
|
1955
1919
|
wire: "rolling",
|
|
1956
1920
|
children: () => rollingWindowFieldMaskSchema
|
|
@@ -1963,16 +1927,21 @@ const timeWindowFieldMaskSchema = {
|
|
|
1963
1927
|
wire: "sliding",
|
|
1964
1928
|
children: () => slidingWindowFieldMaskSchema
|
|
1965
1929
|
},
|
|
1930
|
+
startTime: { wire: "start_time" },
|
|
1966
1931
|
tumbling: {
|
|
1967
1932
|
wire: "tumbling",
|
|
1968
1933
|
children: () => tumblingWindowFieldMaskSchema
|
|
1969
1934
|
}
|
|
1970
1935
|
};
|
|
1971
1936
|
const timeseriesColumnFieldMaskSchema = { name: { wire: "name" } };
|
|
1972
|
-
const tumblingWindowFieldMaskSchema = {
|
|
1937
|
+
const tumblingWindowFieldMaskSchema = {
|
|
1938
|
+
delay: { wire: "delay" },
|
|
1939
|
+
offset: { wire: "offset" },
|
|
1940
|
+
windowDuration: { wire: "window_duration" }
|
|
1941
|
+
};
|
|
1973
1942
|
const varPopFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1974
1943
|
const varSampFunctionFieldMaskSchema = { input: { wire: "input" } };
|
|
1975
1944
|
|
|
1976
1945
|
//#endregion
|
|
1977
|
-
export {
|
|
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 };
|
|
1978
1947
|
//# sourceMappingURL=model.js.map
|