@dataform/core 3.0.71 → 3.1.1
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/bundle.d.ts +370 -20
- package/bundle.js +1 -1
- package/configs.proto +61 -0
- package/core.proto +21 -0
- package/package.json +28 -27
package/bundle.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import Long from 'long';
|
|
|
4
4
|
declare function compile(code: string, path: string): string;
|
|
5
5
|
|
|
6
6
|
/** Namespace dataform. */
|
|
7
|
-
namespace dataform {
|
|
7
|
+
declare namespace dataform {
|
|
8
8
|
|
|
9
9
|
/** Properties of a WorkflowSettings. */
|
|
10
10
|
interface IWorkflowSettings {
|
|
@@ -62,6 +62,12 @@ namespace dataform {
|
|
|
62
62
|
|
|
63
63
|
/** WorkflowSettings lineage */
|
|
64
64
|
lineage?: (dataform.ILineageSettings|null);
|
|
65
|
+
|
|
66
|
+
/** WorkflowSettings defaultJobLabels */
|
|
67
|
+
defaultJobLabels?: ({ [k: string]: string }|null);
|
|
68
|
+
|
|
69
|
+
/** WorkflowSettings defaultLakehouseConfig */
|
|
70
|
+
defaultLakehouseConfig?: (dataform.IDefaultLakehouseConfig|null);
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
/** Represents a WorkflowSettings. */
|
|
@@ -127,6 +133,12 @@ namespace dataform {
|
|
|
127
133
|
/** WorkflowSettings lineage. */
|
|
128
134
|
public lineage?: (dataform.ILineageSettings|null);
|
|
129
135
|
|
|
136
|
+
/** WorkflowSettings defaultJobLabels. */
|
|
137
|
+
public defaultJobLabels: { [k: string]: string };
|
|
138
|
+
|
|
139
|
+
/** WorkflowSettings defaultLakehouseConfig. */
|
|
140
|
+
public defaultLakehouseConfig?: (dataform.IDefaultLakehouseConfig|null);
|
|
141
|
+
|
|
130
142
|
/**
|
|
131
143
|
* Creates a new WorkflowSettings instance using the specified properties.
|
|
132
144
|
* @param [properties] Properties to set
|
|
@@ -563,6 +575,9 @@ namespace dataform {
|
|
|
563
575
|
|
|
564
576
|
/** Target includeDependentAssertions */
|
|
565
577
|
includeDependentAssertions?: (boolean|null);
|
|
578
|
+
|
|
579
|
+
/** Target lakehouse */
|
|
580
|
+
lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
566
581
|
}
|
|
567
582
|
|
|
568
583
|
/** Represents a Target. */
|
|
@@ -586,6 +601,9 @@ namespace dataform {
|
|
|
586
601
|
/** Target includeDependentAssertions. */
|
|
587
602
|
public includeDependentAssertions: boolean;
|
|
588
603
|
|
|
604
|
+
/** Target lakehouse. */
|
|
605
|
+
public lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
606
|
+
|
|
589
607
|
/**
|
|
590
608
|
* Creates a new Target instance using the specified properties.
|
|
591
609
|
* @param [properties] Properties to set
|
|
@@ -1124,6 +1142,109 @@ namespace dataform {
|
|
|
1124
1142
|
}
|
|
1125
1143
|
}
|
|
1126
1144
|
|
|
1145
|
+
/** Properties of a LakehouseConfig. */
|
|
1146
|
+
interface ILakehouseConfig {
|
|
1147
|
+
|
|
1148
|
+
/** LakehouseConfig catalog */
|
|
1149
|
+
catalog?: (string|null);
|
|
1150
|
+
|
|
1151
|
+
/** LakehouseConfig namespace */
|
|
1152
|
+
namespace?: (string|null);
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/** Represents a LakehouseConfig. */
|
|
1156
|
+
class LakehouseConfig implements ILakehouseConfig {
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Constructs a new LakehouseConfig.
|
|
1160
|
+
* @param [properties] Properties to set
|
|
1161
|
+
*/
|
|
1162
|
+
constructor(properties?: dataform.ActionConfig.ILakehouseConfig);
|
|
1163
|
+
|
|
1164
|
+
/** LakehouseConfig catalog. */
|
|
1165
|
+
public catalog: string;
|
|
1166
|
+
|
|
1167
|
+
/** LakehouseConfig namespace. */
|
|
1168
|
+
public namespace: string;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* Creates a new LakehouseConfig instance using the specified properties.
|
|
1172
|
+
* @param [properties] Properties to set
|
|
1173
|
+
* @returns LakehouseConfig instance
|
|
1174
|
+
*/
|
|
1175
|
+
public static create(properties?: dataform.ActionConfig.ILakehouseConfig): dataform.ActionConfig.LakehouseConfig;
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* Encodes the specified LakehouseConfig message. Does not implicitly {@link dataform.ActionConfig.LakehouseConfig.verify|verify} messages.
|
|
1179
|
+
* @param message LakehouseConfig message or plain object to encode
|
|
1180
|
+
* @param [writer] Writer to encode to
|
|
1181
|
+
* @returns Writer
|
|
1182
|
+
*/
|
|
1183
|
+
public static encode(message: dataform.ActionConfig.ILakehouseConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Encodes the specified LakehouseConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.LakehouseConfig.verify|verify} messages.
|
|
1187
|
+
* @param message LakehouseConfig message or plain object to encode
|
|
1188
|
+
* @param [writer] Writer to encode to
|
|
1189
|
+
* @returns Writer
|
|
1190
|
+
*/
|
|
1191
|
+
public static encodeDelimited(message: dataform.ActionConfig.ILakehouseConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Decodes a LakehouseConfig message from the specified reader or buffer.
|
|
1195
|
+
* @param reader Reader or buffer to decode from
|
|
1196
|
+
* @param [length] Message length if known beforehand
|
|
1197
|
+
* @returns LakehouseConfig
|
|
1198
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1199
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1200
|
+
*/
|
|
1201
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.LakehouseConfig;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Decodes a LakehouseConfig message from the specified reader or buffer, length delimited.
|
|
1205
|
+
* @param reader Reader or buffer to decode from
|
|
1206
|
+
* @returns LakehouseConfig
|
|
1207
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1208
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1209
|
+
*/
|
|
1210
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.LakehouseConfig;
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Verifies a LakehouseConfig message.
|
|
1214
|
+
* @param message Plain object to verify
|
|
1215
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1216
|
+
*/
|
|
1217
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* Creates a LakehouseConfig message from a plain object. Also converts values to their respective internal types.
|
|
1221
|
+
* @param object Plain object
|
|
1222
|
+
* @returns LakehouseConfig
|
|
1223
|
+
*/
|
|
1224
|
+
public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.LakehouseConfig;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Creates a plain object from a LakehouseConfig message. Also converts values to other types if specified.
|
|
1228
|
+
* @param message LakehouseConfig
|
|
1229
|
+
* @param [options] Conversion options
|
|
1230
|
+
* @returns Plain object
|
|
1231
|
+
*/
|
|
1232
|
+
public static toObject(message: dataform.ActionConfig.LakehouseConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* Converts this LakehouseConfig to JSON.
|
|
1236
|
+
* @returns JSON object
|
|
1237
|
+
*/
|
|
1238
|
+
public toJSON(): { [k: string]: any };
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Gets the default type url for LakehouseConfig
|
|
1242
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1243
|
+
* @returns The default type url
|
|
1244
|
+
*/
|
|
1245
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1127
1248
|
/** Properties of a TableConfig. */
|
|
1128
1249
|
interface ITableConfig {
|
|
1129
1250
|
|
|
@@ -1198,6 +1319,12 @@ namespace dataform {
|
|
|
1198
1319
|
|
|
1199
1320
|
/** TableConfig preserveGovernanceControls */
|
|
1200
1321
|
preserveGovernanceControls?: (boolean|null);
|
|
1322
|
+
|
|
1323
|
+
/** TableConfig jobLabels */
|
|
1324
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
1325
|
+
|
|
1326
|
+
/** TableConfig lakehouse */
|
|
1327
|
+
lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
1201
1328
|
}
|
|
1202
1329
|
|
|
1203
1330
|
/** Represents a TableConfig. */
|
|
@@ -1281,6 +1408,12 @@ namespace dataform {
|
|
|
1281
1408
|
/** TableConfig preserveGovernanceControls. */
|
|
1282
1409
|
public preserveGovernanceControls?: (boolean|null);
|
|
1283
1410
|
|
|
1411
|
+
/** TableConfig jobLabels. */
|
|
1412
|
+
public jobLabels: { [k: string]: string };
|
|
1413
|
+
|
|
1414
|
+
/** TableConfig lakehouse. */
|
|
1415
|
+
public lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
1416
|
+
|
|
1284
1417
|
/**
|
|
1285
1418
|
* Creates a new TableConfig instance using the specified properties.
|
|
1286
1419
|
* @param [properties] Properties to set
|
|
@@ -1527,6 +1660,9 @@ namespace dataform {
|
|
|
1527
1660
|
|
|
1528
1661
|
/** ViewConfig reservation */
|
|
1529
1662
|
reservation?: (string|null);
|
|
1663
|
+
|
|
1664
|
+
/** ViewConfig jobLabels */
|
|
1665
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
1530
1666
|
}
|
|
1531
1667
|
|
|
1532
1668
|
/** Represents a ViewConfig. */
|
|
@@ -1601,6 +1737,9 @@ namespace dataform {
|
|
|
1601
1737
|
/** ViewConfig reservation. */
|
|
1602
1738
|
public reservation: string;
|
|
1603
1739
|
|
|
1740
|
+
/** ViewConfig jobLabels. */
|
|
1741
|
+
public jobLabels: { [k: string]: string };
|
|
1742
|
+
|
|
1604
1743
|
/**
|
|
1605
1744
|
* Creates a new ViewConfig instance using the specified properties.
|
|
1606
1745
|
* @param [properties] Properties to set
|
|
@@ -1786,6 +1925,12 @@ namespace dataform {
|
|
|
1786
1925
|
|
|
1787
1926
|
/** IncrementalTableConfig preserveGovernanceControls */
|
|
1788
1927
|
preserveGovernanceControls?: (boolean|null);
|
|
1928
|
+
|
|
1929
|
+
/** IncrementalTableConfig jobLabels */
|
|
1930
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
1931
|
+
|
|
1932
|
+
/** IncrementalTableConfig lakehouse */
|
|
1933
|
+
lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
1789
1934
|
}
|
|
1790
1935
|
|
|
1791
1936
|
/** Represents an IncrementalTableConfig. */
|
|
@@ -1887,6 +2032,12 @@ namespace dataform {
|
|
|
1887
2032
|
/** IncrementalTableConfig preserveGovernanceControls. */
|
|
1888
2033
|
public preserveGovernanceControls?: (boolean|null);
|
|
1889
2034
|
|
|
2035
|
+
/** IncrementalTableConfig jobLabels. */
|
|
2036
|
+
public jobLabels: { [k: string]: string };
|
|
2037
|
+
|
|
2038
|
+
/** IncrementalTableConfig lakehouse. */
|
|
2039
|
+
public lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
2040
|
+
|
|
1890
2041
|
/**
|
|
1891
2042
|
* Creates a new IncrementalTableConfig instance using the specified properties.
|
|
1892
2043
|
* @param [properties] Properties to set
|
|
@@ -2003,6 +2154,9 @@ namespace dataform {
|
|
|
2003
2154
|
|
|
2004
2155
|
/** AssertionConfig metadata */
|
|
2005
2156
|
metadata?: (dataform.ActionConfig.IMetadata|null);
|
|
2157
|
+
|
|
2158
|
+
/** AssertionConfig jobLabels */
|
|
2159
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
2006
2160
|
}
|
|
2007
2161
|
|
|
2008
2162
|
/** Represents an AssertionConfig. */
|
|
@@ -2050,6 +2204,9 @@ namespace dataform {
|
|
|
2050
2204
|
/** AssertionConfig metadata. */
|
|
2051
2205
|
public metadata?: (dataform.ActionConfig.IMetadata|null);
|
|
2052
2206
|
|
|
2207
|
+
/** AssertionConfig jobLabels. */
|
|
2208
|
+
public jobLabels: { [k: string]: string };
|
|
2209
|
+
|
|
2053
2210
|
/**
|
|
2054
2211
|
* Creates a new AssertionConfig instance using the specified properties.
|
|
2055
2212
|
* @param [properties] Properties to set
|
|
@@ -2169,6 +2326,12 @@ namespace dataform {
|
|
|
2169
2326
|
|
|
2170
2327
|
/** OperationConfig reservation */
|
|
2171
2328
|
reservation?: (string|null);
|
|
2329
|
+
|
|
2330
|
+
/** OperationConfig jobLabels */
|
|
2331
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
2332
|
+
|
|
2333
|
+
/** OperationConfig lakehouse */
|
|
2334
|
+
lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
2172
2335
|
}
|
|
2173
2336
|
|
|
2174
2337
|
/** Represents an OperationConfig. */
|
|
@@ -2219,6 +2382,12 @@ namespace dataform {
|
|
|
2219
2382
|
/** OperationConfig reservation. */
|
|
2220
2383
|
public reservation: string;
|
|
2221
2384
|
|
|
2385
|
+
/** OperationConfig jobLabels. */
|
|
2386
|
+
public jobLabels: { [k: string]: string };
|
|
2387
|
+
|
|
2388
|
+
/** OperationConfig lakehouse. */
|
|
2389
|
+
public lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
2390
|
+
|
|
2222
2391
|
/**
|
|
2223
2392
|
* Creates a new OperationConfig instance using the specified properties.
|
|
2224
2393
|
* @param [properties] Properties to set
|
|
@@ -2320,6 +2489,9 @@ namespace dataform {
|
|
|
2320
2489
|
|
|
2321
2490
|
/** DeclarationConfig tags */
|
|
2322
2491
|
tags?: (string[]|null);
|
|
2492
|
+
|
|
2493
|
+
/** DeclarationConfig lakehouse */
|
|
2494
|
+
lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
2323
2495
|
}
|
|
2324
2496
|
|
|
2325
2497
|
/** Represents a DeclarationConfig. */
|
|
@@ -2352,6 +2524,9 @@ namespace dataform {
|
|
|
2352
2524
|
/** DeclarationConfig tags. */
|
|
2353
2525
|
public tags: string[];
|
|
2354
2526
|
|
|
2527
|
+
/** DeclarationConfig lakehouse. */
|
|
2528
|
+
public lakehouse?: (dataform.ActionConfig.ILakehouseConfig|null);
|
|
2529
|
+
|
|
2355
2530
|
/**
|
|
2356
2531
|
* Creates a new DeclarationConfig instance using the specified properties.
|
|
2357
2532
|
* @param [properties] Properties to set
|
|
@@ -2607,6 +2782,9 @@ namespace dataform {
|
|
|
2607
2782
|
|
|
2608
2783
|
/** DataPreparationConfig loadMode */
|
|
2609
2784
|
loadMode?: (dataform.ActionConfig.ILoadModeConfig|null);
|
|
2785
|
+
|
|
2786
|
+
/** DataPreparationConfig jobLabels */
|
|
2787
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
2610
2788
|
}
|
|
2611
2789
|
|
|
2612
2790
|
/** Represents a DataPreparationConfig. */
|
|
@@ -2648,6 +2826,9 @@ namespace dataform {
|
|
|
2648
2826
|
/** DataPreparationConfig loadMode. */
|
|
2649
2827
|
public loadMode?: (dataform.ActionConfig.ILoadModeConfig|null);
|
|
2650
2828
|
|
|
2829
|
+
/** DataPreparationConfig jobLabels. */
|
|
2830
|
+
public jobLabels: { [k: string]: string };
|
|
2831
|
+
|
|
2651
2832
|
/**
|
|
2652
2833
|
* Creates a new DataPreparationConfig instance using the specified properties.
|
|
2653
2834
|
* @param [properties] Properties to set
|
|
@@ -3317,6 +3498,9 @@ namespace dataform {
|
|
|
3317
3498
|
|
|
3318
3499
|
/** PropertyGraphConfig tags */
|
|
3319
3500
|
tags?: (string[]|null);
|
|
3501
|
+
|
|
3502
|
+
/** PropertyGraphConfig jobLabels */
|
|
3503
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
3320
3504
|
}
|
|
3321
3505
|
|
|
3322
3506
|
/** Represents a PropertyGraphConfig. */
|
|
@@ -3352,6 +3536,9 @@ namespace dataform {
|
|
|
3352
3536
|
/** PropertyGraphConfig tags. */
|
|
3353
3537
|
public tags: string[];
|
|
3354
3538
|
|
|
3539
|
+
/** PropertyGraphConfig jobLabels. */
|
|
3540
|
+
public jobLabels: { [k: string]: string };
|
|
3541
|
+
|
|
3355
3542
|
/**
|
|
3356
3543
|
* Creates a new PropertyGraphConfig instance using the specified properties.
|
|
3357
3544
|
* @param [properties] Properties to set
|
|
@@ -4805,6 +4992,12 @@ namespace dataform {
|
|
|
4805
4992
|
|
|
4806
4993
|
/** ProjectConfig lineageEnabled */
|
|
4807
4994
|
lineageEnabled?: (boolean|null);
|
|
4995
|
+
|
|
4996
|
+
/** ProjectConfig defaultJobLabels */
|
|
4997
|
+
defaultJobLabels?: ({ [k: string]: string }|null);
|
|
4998
|
+
|
|
4999
|
+
/** ProjectConfig defaultLakehouseConfig */
|
|
5000
|
+
defaultLakehouseConfig?: (dataform.IDefaultLakehouseConfig|null);
|
|
4808
5001
|
}
|
|
4809
5002
|
|
|
4810
5003
|
/** Represents a ProjectConfig. */
|
|
@@ -4867,6 +5060,12 @@ namespace dataform {
|
|
|
4867
5060
|
/** ProjectConfig lineageEnabled. */
|
|
4868
5061
|
public lineageEnabled?: (boolean|null);
|
|
4869
5062
|
|
|
5063
|
+
/** ProjectConfig defaultJobLabels. */
|
|
5064
|
+
public defaultJobLabels: { [k: string]: string };
|
|
5065
|
+
|
|
5066
|
+
/** ProjectConfig defaultLakehouseConfig. */
|
|
5067
|
+
public defaultLakehouseConfig?: (dataform.IDefaultLakehouseConfig|null);
|
|
5068
|
+
|
|
4870
5069
|
/**
|
|
4871
5070
|
* Creates a new ProjectConfig instance using the specified properties.
|
|
4872
5071
|
* @param [properties] Properties to set
|
|
@@ -5060,6 +5259,109 @@ namespace dataform {
|
|
|
5060
5259
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5061
5260
|
}
|
|
5062
5261
|
|
|
5262
|
+
/** Properties of a DefaultLakehouseConfig. */
|
|
5263
|
+
interface IDefaultLakehouseConfig {
|
|
5264
|
+
|
|
5265
|
+
/** DefaultLakehouseConfig catalog */
|
|
5266
|
+
catalog?: (string|null);
|
|
5267
|
+
|
|
5268
|
+
/** DefaultLakehouseConfig namespace */
|
|
5269
|
+
namespace?: (string|null);
|
|
5270
|
+
}
|
|
5271
|
+
|
|
5272
|
+
/** Represents a DefaultLakehouseConfig. */
|
|
5273
|
+
class DefaultLakehouseConfig implements IDefaultLakehouseConfig {
|
|
5274
|
+
|
|
5275
|
+
/**
|
|
5276
|
+
* Constructs a new DefaultLakehouseConfig.
|
|
5277
|
+
* @param [properties] Properties to set
|
|
5278
|
+
*/
|
|
5279
|
+
constructor(properties?: dataform.IDefaultLakehouseConfig);
|
|
5280
|
+
|
|
5281
|
+
/** DefaultLakehouseConfig catalog. */
|
|
5282
|
+
public catalog: string;
|
|
5283
|
+
|
|
5284
|
+
/** DefaultLakehouseConfig namespace. */
|
|
5285
|
+
public namespace: string;
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* Creates a new DefaultLakehouseConfig instance using the specified properties.
|
|
5289
|
+
* @param [properties] Properties to set
|
|
5290
|
+
* @returns DefaultLakehouseConfig instance
|
|
5291
|
+
*/
|
|
5292
|
+
public static create(properties?: dataform.IDefaultLakehouseConfig): dataform.DefaultLakehouseConfig;
|
|
5293
|
+
|
|
5294
|
+
/**
|
|
5295
|
+
* Encodes the specified DefaultLakehouseConfig message. Does not implicitly {@link dataform.DefaultLakehouseConfig.verify|verify} messages.
|
|
5296
|
+
* @param message DefaultLakehouseConfig message or plain object to encode
|
|
5297
|
+
* @param [writer] Writer to encode to
|
|
5298
|
+
* @returns Writer
|
|
5299
|
+
*/
|
|
5300
|
+
public static encode(message: dataform.IDefaultLakehouseConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5301
|
+
|
|
5302
|
+
/**
|
|
5303
|
+
* Encodes the specified DefaultLakehouseConfig message, length delimited. Does not implicitly {@link dataform.DefaultLakehouseConfig.verify|verify} messages.
|
|
5304
|
+
* @param message DefaultLakehouseConfig message or plain object to encode
|
|
5305
|
+
* @param [writer] Writer to encode to
|
|
5306
|
+
* @returns Writer
|
|
5307
|
+
*/
|
|
5308
|
+
public static encodeDelimited(message: dataform.IDefaultLakehouseConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5309
|
+
|
|
5310
|
+
/**
|
|
5311
|
+
* Decodes a DefaultLakehouseConfig message from the specified reader or buffer.
|
|
5312
|
+
* @param reader Reader or buffer to decode from
|
|
5313
|
+
* @param [length] Message length if known beforehand
|
|
5314
|
+
* @returns DefaultLakehouseConfig
|
|
5315
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5316
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5317
|
+
*/
|
|
5318
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.DefaultLakehouseConfig;
|
|
5319
|
+
|
|
5320
|
+
/**
|
|
5321
|
+
* Decodes a DefaultLakehouseConfig message from the specified reader or buffer, length delimited.
|
|
5322
|
+
* @param reader Reader or buffer to decode from
|
|
5323
|
+
* @returns DefaultLakehouseConfig
|
|
5324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5326
|
+
*/
|
|
5327
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.DefaultLakehouseConfig;
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
* Verifies a DefaultLakehouseConfig message.
|
|
5331
|
+
* @param message Plain object to verify
|
|
5332
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5333
|
+
*/
|
|
5334
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5335
|
+
|
|
5336
|
+
/**
|
|
5337
|
+
* Creates a DefaultLakehouseConfig message from a plain object. Also converts values to their respective internal types.
|
|
5338
|
+
* @param object Plain object
|
|
5339
|
+
* @returns DefaultLakehouseConfig
|
|
5340
|
+
*/
|
|
5341
|
+
public static fromObject(object: { [k: string]: any }): dataform.DefaultLakehouseConfig;
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* Creates a plain object from a DefaultLakehouseConfig message. Also converts values to other types if specified.
|
|
5345
|
+
* @param message DefaultLakehouseConfig
|
|
5346
|
+
* @param [options] Conversion options
|
|
5347
|
+
* @returns Plain object
|
|
5348
|
+
*/
|
|
5349
|
+
public static toObject(message: dataform.DefaultLakehouseConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5350
|
+
|
|
5351
|
+
/**
|
|
5352
|
+
* Converts this DefaultLakehouseConfig to JSON.
|
|
5353
|
+
* @returns JSON object
|
|
5354
|
+
*/
|
|
5355
|
+
public toJSON(): { [k: string]: any };
|
|
5356
|
+
|
|
5357
|
+
/**
|
|
5358
|
+
* Gets the default type url for DefaultLakehouseConfig
|
|
5359
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5360
|
+
* @returns The default type url
|
|
5361
|
+
*/
|
|
5362
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5063
5365
|
/** Properties of a CompileConfig. */
|
|
5064
5366
|
interface ICompileConfig {
|
|
5065
5367
|
|
|
@@ -5728,6 +6030,9 @@ namespace dataform {
|
|
|
5728
6030
|
|
|
5729
6031
|
/** ActionDescriptor reservation */
|
|
5730
6032
|
reservation?: (string|null);
|
|
6033
|
+
|
|
6034
|
+
/** ActionDescriptor jobLabels */
|
|
6035
|
+
jobLabels?: ({ [k: string]: string }|null);
|
|
5731
6036
|
}
|
|
5732
6037
|
|
|
5733
6038
|
/** Represents an ActionDescriptor. */
|
|
@@ -5757,6 +6062,9 @@ namespace dataform {
|
|
|
5757
6062
|
/** ActionDescriptor reservation. */
|
|
5758
6063
|
public reservation: string;
|
|
5759
6064
|
|
|
6065
|
+
/** ActionDescriptor jobLabels. */
|
|
6066
|
+
public jobLabels: { [k: string]: string };
|
|
6067
|
+
|
|
5760
6068
|
/**
|
|
5761
6069
|
* Creates a new ActionDescriptor instance using the specified properties.
|
|
5762
6070
|
* @param [properties] Properties to set
|
|
@@ -6791,6 +7099,9 @@ namespace dataform {
|
|
|
6791
7099
|
|
|
6792
7100
|
/** Test dependencyTargets */
|
|
6793
7101
|
dependencyTargets?: (dataform.ITarget[]|null);
|
|
7102
|
+
|
|
7103
|
+
/** Test actionDescriptor */
|
|
7104
|
+
actionDescriptor?: (dataform.IActionDescriptor|null);
|
|
6794
7105
|
}
|
|
6795
7106
|
|
|
6796
7107
|
/** Represents a Test. */
|
|
@@ -6832,6 +7143,9 @@ namespace dataform {
|
|
|
6832
7143
|
/** Test dependencyTargets. */
|
|
6833
7144
|
public dependencyTargets: dataform.ITarget[];
|
|
6834
7145
|
|
|
7146
|
+
/** Test actionDescriptor. */
|
|
7147
|
+
public actionDescriptor?: (dataform.IActionDescriptor|null);
|
|
7148
|
+
|
|
6835
7149
|
/**
|
|
6836
7150
|
* Creates a new Test instance using the specified properties.
|
|
6837
7151
|
* @param [properties] Properties to set
|
|
@@ -7296,6 +7610,9 @@ namespace dataform {
|
|
|
7296
7610
|
|
|
7297
7611
|
/** DataPreparation load */
|
|
7298
7612
|
load?: (dataform.ILoadConfiguration|null);
|
|
7613
|
+
|
|
7614
|
+
/** DataPreparation actionDescriptor */
|
|
7615
|
+
actionDescriptor?: (dataform.IActionDescriptor|null);
|
|
7299
7616
|
}
|
|
7300
7617
|
|
|
7301
7618
|
/** Represents a DataPreparation. */
|
|
@@ -7346,6 +7663,9 @@ namespace dataform {
|
|
|
7346
7663
|
/** DataPreparation load. */
|
|
7347
7664
|
public load?: (dataform.ILoadConfiguration|null);
|
|
7348
7665
|
|
|
7666
|
+
/** DataPreparation actionDescriptor. */
|
|
7667
|
+
public actionDescriptor?: (dataform.IActionDescriptor|null);
|
|
7668
|
+
|
|
7349
7669
|
/** DataPreparation definition. */
|
|
7350
7670
|
public definition?: ("dataPreparationYaml"|"query");
|
|
7351
7671
|
|
|
@@ -7874,6 +8194,9 @@ namespace dataform {
|
|
|
7874
8194
|
|
|
7875
8195
|
/** PropertyGraph tags */
|
|
7876
8196
|
tags?: (string[]|null);
|
|
8197
|
+
|
|
8198
|
+
/** PropertyGraph actionDescriptor */
|
|
8199
|
+
actionDescriptor?: (dataform.IActionDescriptor|null);
|
|
7877
8200
|
}
|
|
7878
8201
|
|
|
7879
8202
|
/** Represents a PropertyGraph. */
|
|
@@ -7915,6 +8238,9 @@ namespace dataform {
|
|
|
7915
8238
|
/** PropertyGraph tags. */
|
|
7916
8239
|
public tags: string[];
|
|
7917
8240
|
|
|
8241
|
+
/** PropertyGraph actionDescriptor. */
|
|
8242
|
+
public actionDescriptor?: (dataform.IActionDescriptor|null);
|
|
8243
|
+
|
|
7918
8244
|
/**
|
|
7919
8245
|
* Creates a new PropertyGraph instance using the specified properties.
|
|
7920
8246
|
* @param [properties] Properties to set
|
|
@@ -13070,6 +13396,9 @@ namespace dataform {
|
|
|
13070
13396
|
|
|
13071
13397
|
/** BigQuery location */
|
|
13072
13398
|
location?: (string|null);
|
|
13399
|
+
|
|
13400
|
+
/** BigQuery impersonateServiceAccount */
|
|
13401
|
+
impersonateServiceAccount?: (string|null);
|
|
13073
13402
|
}
|
|
13074
13403
|
|
|
13075
13404
|
/** Represents a BigQuery. */
|
|
@@ -13090,6 +13419,9 @@ namespace dataform {
|
|
|
13090
13419
|
/** BigQuery location. */
|
|
13091
13420
|
public location: string;
|
|
13092
13421
|
|
|
13422
|
+
/** BigQuery impersonateServiceAccount. */
|
|
13423
|
+
public impersonateServiceAccount: string;
|
|
13424
|
+
|
|
13093
13425
|
/**
|
|
13094
13426
|
* Creates a new BigQuery instance using the specified properties.
|
|
13095
13427
|
* @param [properties] Properties to set
|
|
@@ -13170,7 +13502,7 @@ namespace dataform {
|
|
|
13170
13502
|
}
|
|
13171
13503
|
|
|
13172
13504
|
/** Namespace google. */
|
|
13173
|
-
namespace google {
|
|
13505
|
+
declare namespace google {
|
|
13174
13506
|
|
|
13175
13507
|
/** Namespace protobuf. */
|
|
13176
13508
|
namespace protobuf {
|
|
@@ -13700,8 +14032,19 @@ namespace google {
|
|
|
13700
14032
|
}
|
|
13701
14033
|
}
|
|
13702
14034
|
|
|
13703
|
-
|
|
13704
|
-
|
|
14035
|
+
interface IResolvable {
|
|
14036
|
+
database?: string;
|
|
14037
|
+
project?: string;
|
|
14038
|
+
schema?: string;
|
|
14039
|
+
dataset?: string;
|
|
14040
|
+
catalog?: string;
|
|
14041
|
+
namespace?: string;
|
|
14042
|
+
lakehouse?: dataform.ActionConfig.ILakehouseConfig;
|
|
14043
|
+
name?: string;
|
|
14044
|
+
includeDependentAssertions?: boolean;
|
|
14045
|
+
}
|
|
14046
|
+
type Resolvable = string | dataform.ITarget | IResolvable;
|
|
14047
|
+
type Contextable<Context, T> = T | ((ctx: Context) => T);
|
|
13705
14048
|
interface IActionContext {
|
|
13706
14049
|
self: () => string;
|
|
13707
14050
|
name: () => string;
|
|
@@ -13714,7 +14057,7 @@ interface ITableContext extends IActionContext {
|
|
|
13714
14057
|
when: (cond: boolean, trueCase: string, falseCase?: string) => string;
|
|
13715
14058
|
incremental: () => boolean;
|
|
13716
14059
|
}
|
|
13717
|
-
|
|
14060
|
+
type JitContext<T> = T & {
|
|
13718
14061
|
adapter: dataform.DbAdapter;
|
|
13719
14062
|
data?: {
|
|
13720
14063
|
[k: string]: any;
|
|
@@ -13722,10 +14065,10 @@ declare type JitContext<T> = T & {
|
|
|
13722
14065
|
request: dataform.IJitCompilationRequest;
|
|
13723
14066
|
executionData: dataform.IRunningExecutionData;
|
|
13724
14067
|
};
|
|
13725
|
-
|
|
14068
|
+
type JitContextable<Context, T> = string | ((jctx: JitContext<Context>) => Promise<T>);
|
|
13726
14069
|
|
|
13727
|
-
|
|
13728
|
-
|
|
14070
|
+
type AContextable<T> = T | ((ctx: AssertionContext) => T);
|
|
14071
|
+
type JitAssertionResult = string | {
|
|
13729
14072
|
query: string;
|
|
13730
14073
|
};
|
|
13731
14074
|
declare class Assertion extends ActionBuilder<dataform.Assertion> {
|
|
@@ -13733,6 +14076,7 @@ declare class Assertion extends ActionBuilder<dataform.Assertion> {
|
|
|
13733
14076
|
private proto;
|
|
13734
14077
|
private contextableQuery;
|
|
13735
14078
|
private contextableJitCode;
|
|
14079
|
+
private hasLakehouseConfig;
|
|
13736
14080
|
constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
|
|
13737
14081
|
query(query: AContextable<string>): this;
|
|
13738
14082
|
jitCode(jitCode: JitContextable<AssertionContext, JitAssertionResult>): this;
|
|
@@ -13819,7 +14163,7 @@ declare class Declaration extends ActionBuilder<dataform.Declaration> {
|
|
|
13819
14163
|
private verifyConfig;
|
|
13820
14164
|
}
|
|
13821
14165
|
|
|
13822
|
-
|
|
14166
|
+
type JitTableResult = string | dataform.IJitTableResult;
|
|
13823
14167
|
declare class Table extends ActionBuilder<dataform.Table> {
|
|
13824
14168
|
session: Session;
|
|
13825
14169
|
dependOnDependencyAssertions: boolean;
|
|
@@ -13941,7 +14285,7 @@ declare class Notebook extends ActionBuilder<dataform.Notebook> {
|
|
|
13941
14285
|
private verifyConfig;
|
|
13942
14286
|
}
|
|
13943
14287
|
|
|
13944
|
-
|
|
14288
|
+
type JitOperationResult = string | string[] | dataform.IJitOperationResult;
|
|
13945
14289
|
declare class Operation extends ActionBuilder<dataform.Operation> {
|
|
13946
14290
|
session: Session;
|
|
13947
14291
|
dependOnDependencyAssertions: boolean;
|
|
@@ -14031,7 +14375,7 @@ declare class Test extends ActionBuilder<dataform.Test> {
|
|
|
14031
14375
|
compile(): dataform.Test;
|
|
14032
14376
|
}
|
|
14033
14377
|
|
|
14034
|
-
|
|
14378
|
+
type JitViewResult = string | dataform.IJitTableResult;
|
|
14035
14379
|
declare class View extends ActionBuilder<dataform.Table> {
|
|
14036
14380
|
session: Session;
|
|
14037
14381
|
dependOnDependencyAssertions: boolean;
|
|
@@ -14045,6 +14389,7 @@ declare class View extends ActionBuilder<dataform.Table> {
|
|
|
14045
14389
|
private rowConditionsAssertion;
|
|
14046
14390
|
private unverifiedConfig;
|
|
14047
14391
|
private configPath;
|
|
14392
|
+
private hasLakehouseConfig;
|
|
14048
14393
|
constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
|
|
14049
14394
|
type(type: TableType): this;
|
|
14050
14395
|
query(query: Contextable<ITableContext, string>): this;
|
|
@@ -14084,10 +14429,11 @@ interface IRecordDescriptor {
|
|
|
14084
14429
|
bigqueryPolicyTags?: string | string[];
|
|
14085
14430
|
}
|
|
14086
14431
|
|
|
14087
|
-
|
|
14432
|
+
type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | PropertyGraph | Test;
|
|
14088
14433
|
declare abstract class ActionBuilder<T> {
|
|
14089
14434
|
session: Session;
|
|
14090
14435
|
includeAssertionsForDependency: Map<string, boolean>;
|
|
14436
|
+
protected isLakehouseTarget: boolean;
|
|
14091
14437
|
constructor(session?: Session);
|
|
14092
14438
|
applySessionToTarget(targetFromConfig: dataform.Target, projectConfig: dataform.ProjectConfig, fileName?: string, options?: {
|
|
14093
14439
|
validateTarget?: boolean;
|
|
@@ -14125,7 +14471,7 @@ interface IDocumentableConfig {
|
|
|
14125
14471
|
columns?: IColumnsDescriptor;
|
|
14126
14472
|
description?: string;
|
|
14127
14473
|
}
|
|
14128
|
-
|
|
14474
|
+
type TableType = (typeof TableType)[number];
|
|
14129
14475
|
declare const TableType: readonly ["table", "view", "incremental"];
|
|
14130
14476
|
interface ILegacyTableConfig extends IActionConfig, IDependenciesConfig, IDocumentableConfig, INamedConfig, ITargetableConfig {
|
|
14131
14477
|
type?: TableType;
|
|
@@ -14134,6 +14480,7 @@ interface ILegacyTableConfig extends IActionConfig, IDependenciesConfig, IDocume
|
|
|
14134
14480
|
assertions?: ILegacyTableAssertions;
|
|
14135
14481
|
uniqueKey?: string[];
|
|
14136
14482
|
materialized?: boolean;
|
|
14483
|
+
lakehouse?: dataform.ActionConfig.ILakehouseConfig;
|
|
14137
14484
|
}
|
|
14138
14485
|
interface ILegacyBigQueryOptions {
|
|
14139
14486
|
partitionBy?: string;
|
|
@@ -14211,10 +14558,12 @@ declare class Session {
|
|
|
14211
14558
|
incrementalWhereContextable: (ctx: ITableContext) => string;
|
|
14212
14559
|
preOperationsContextable: (ctx: ITableContext) => string[];
|
|
14213
14560
|
postOperationsContextable: (ctx: ITableContext) => string[];
|
|
14214
|
-
inputContextables: [
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14561
|
+
inputContextables: [
|
|
14562
|
+
{
|
|
14563
|
+
refName: string[];
|
|
14564
|
+
contextable: (ctx: IActionContext) => string;
|
|
14565
|
+
}
|
|
14566
|
+
];
|
|
14218
14567
|
}): void;
|
|
14219
14568
|
resolve(ref: Resolvable | string[], ...rest: string[]): string;
|
|
14220
14569
|
resolveTarget(ref: Resolvable | string[], ...rest: string[]): dataform.ITarget | undefined;
|
|
@@ -14251,15 +14600,16 @@ interface IDataformExtension {
|
|
|
14251
14600
|
interface IJitCompiler {
|
|
14252
14601
|
compile: (request: Uint8Array) => Promise<Uint8Array>;
|
|
14253
14602
|
}
|
|
14254
|
-
|
|
14603
|
+
type RpcCallback = (method: string, request: Uint8Array, callback: (error: Error | null, response: Uint8Array) => void) => void;
|
|
14255
14604
|
declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
14256
14605
|
|
|
14257
14606
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
14258
14607
|
|
|
14259
|
-
declare const version = "3.
|
|
14608
|
+
declare const version = "3.1.1";
|
|
14260
14609
|
|
|
14261
14610
|
declare const session: Session;
|
|
14262
14611
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|
|
14263
14612
|
declare function indexFileGenerator(): void;
|
|
14264
14613
|
|
|
14265
|
-
export {
|
|
14614
|
+
export { compile as compiler, indexFileGenerator, jitCompiler, main, session, supportedFeatures, version };
|
|
14615
|
+
export type { IDataformExtension, IJitCompiler };
|