@dataform/core 3.0.11 → 3.0.13
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 +258 -72
- package/bundle.js +2 -2
- package/configs.proto +15 -0
- package/core.proto +11 -2
- package/package.json +1 -1
package/configs.proto
CHANGED
|
@@ -534,6 +534,21 @@ message ActionConfig {
|
|
|
534
534
|
|
|
535
535
|
// Description of the data preparation.
|
|
536
536
|
string description = 8;
|
|
537
|
+
|
|
538
|
+
ErrorTableConfig error_table = 11;
|
|
539
|
+
|
|
540
|
+
message ErrorTableConfig {
|
|
541
|
+
// The name of the error table.
|
|
542
|
+
string name = 1;
|
|
543
|
+
|
|
544
|
+
// The dataset (schema) of the error table.
|
|
545
|
+
string dataset = 2;
|
|
546
|
+
|
|
547
|
+
// The Google Cloud project (database) of the error table.
|
|
548
|
+
string project = 3;
|
|
549
|
+
|
|
550
|
+
int32 retention_days = 4;
|
|
551
|
+
}
|
|
537
552
|
}
|
|
538
553
|
|
|
539
554
|
oneof action {
|
package/core.proto
CHANGED
|
@@ -296,8 +296,17 @@ message DataPreparation {
|
|
|
296
296
|
|
|
297
297
|
bool disabled = 6;
|
|
298
298
|
|
|
299
|
-
|
|
300
|
-
|
|
299
|
+
oneof definition {
|
|
300
|
+
// YAML file containing the data preparation YAML with resolved dependencies.
|
|
301
|
+
string data_preparation_yaml = 11;
|
|
302
|
+
|
|
303
|
+
// SQL representing a compiled SQL string
|
|
304
|
+
string query = 15;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// Error table configuration
|
|
308
|
+
Target error_table = 12;
|
|
309
|
+
int32 error_table_retention_days = 13;
|
|
301
310
|
|
|
302
311
|
reserved 7, 10;
|
|
303
312
|
}
|