@dataform/core 3.0.34 → 3.0.36

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/configs.proto CHANGED
@@ -62,6 +62,11 @@ message WorkflowSettings {
62
62
 
63
63
  // Optional. Default config options for Iceberg tables.
64
64
  DefaultIcebergConfig default_iceberg_config = 12;
65
+
66
+ // Optional. Disables all assertions including built-in assertions
67
+ // (uniqueKey, nonNull, rowConditions) and manual assertions (type: assertion).
68
+ // When true, assertions will still be compiled but marked as disabled.
69
+ bool disable_assertions = 13;
65
70
  }
66
71
 
67
72
  message DefaultIcebergConfig {
@@ -76,6 +81,10 @@ message DefaultIcebergConfig {
76
81
  // Optional. Table folder subpath used to construct a storage URI when
77
82
  // creating an Iceberg table.
78
83
  string table_folder_subpath = 3;
84
+
85
+ // Optional. The connection specifying the credentials to be used to read and
86
+ // write to external storage, such as Cloud Storage.
87
+ string connection = 4;
79
88
  }
80
89
 
81
90
  // Action configs defines the contents of `actions.yaml` configuration files.
package/core.proto CHANGED
@@ -16,6 +16,8 @@ syntax = "proto3";
16
16
 
17
17
  package dataform;
18
18
 
19
+ import "protos/configs.proto";
20
+
19
21
  option java_package = "com.dataform.protos";
20
22
  option java_outer_classname = "CoreMeta";
21
23
  option java_multiple_files = true;
@@ -42,6 +44,8 @@ message ProjectConfig {
42
44
 
43
45
  DefaultIcebergConfig default_iceberg_config = 19;
44
46
 
47
+ bool disable_assertions = 20;
48
+
45
49
  reserved 3, 4, 6, 8, 10, 12, 13;
46
50
  }
47
51
 
@@ -58,6 +62,8 @@ message CompileConfig {
58
62
  // Override compilation timeout settings.
59
63
  int32 timeout_millis = 6;
60
64
 
65
+ Extension extension = 10;
66
+
61
67
  reserved 2, 4, 5, 7, 9;
62
68
  }
63
69
 
@@ -401,3 +407,21 @@ enum SupportedFeatures {
401
407
  UNKNOWN_FEATURE = 0;
402
408
  ARRAY_BUFFER_IPC = 1;
403
409
  }
410
+
411
+ // Execution mode of compilation extension.
412
+ enum ExtensionCompilationMode {
413
+ // Unspecified compiled mode - extension will be skipped.
414
+ COMPILATION_MODE_UNSPECIFIED = 0;
415
+ // Execute before regular Dataform compilation.
416
+ PROLOGUE = 1;
417
+ // Replace regular Dataform compilation.
418
+ APPLICATION_CODE = 2;
419
+ }
420
+
421
+ message Extension {
422
+ // Name of the extension (JS module) to delegate the compilation to.
423
+ string name = 1;
424
+
425
+ // Compilation mode of the extension, required.
426
+ ExtensionCompilationMode compilation_mode = 2;
427
+ }
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "version": "3.0.34",
37
+ "version": "3.0.36",
38
38
  "name": "@dataform/core",
39
39
  "description": "Dataform core API.",
40
40
  "main": "bundle.js"