@dataform/core 3.0.35 → 3.0.37

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 {
@@ -267,6 +272,14 @@ message ActionConfig {
267
272
 
268
273
  // Configuration options for an Iceberg table.
269
274
  IcebergTableConfig iceberg = 22;
275
+
276
+ // Metadata for this table.
277
+ Metadata metadata = 23;
278
+ }
279
+
280
+ message Metadata {
281
+ // A detailed description of the data object.
282
+ string overview = 1;
270
283
  }
271
284
 
272
285
  message ViewConfig {
@@ -340,6 +353,9 @@ message ActionConfig {
340
353
  // If configured, relevant assertions will automatically be created and run
341
354
  // as a dependency of this dataset.
342
355
  TableAssertionsConfig assertions = 17;
356
+
357
+ // Metadata for this view.
358
+ Metadata metadata = 20;
343
359
  }
344
360
 
345
361
  enum OnSchemaChange {
@@ -449,6 +465,9 @@ message ActionConfig {
449
465
 
450
466
  // Configuration options for an Iceberg table.
451
467
  IcebergTableConfig iceberg = 25;
468
+
469
+ // Metadata for this incremental table.
470
+ Metadata metadata = 26;
452
471
  }
453
472
 
454
473
  message AssertionConfig {
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
 
@@ -113,6 +119,11 @@ message ActionDescriptor {
113
119
  // For Assertions, 'columns' will always be empty.
114
120
  repeated ColumnDescriptor columns = 2;
115
121
  map<string, string> bigquery_labels = 3;
122
+ Metadata metadata = 4;
123
+ }
124
+
125
+ message Metadata {
126
+ string overview = 1;
116
127
  }
117
128
 
118
129
  message ColumnDescriptor {
@@ -401,3 +412,21 @@ enum SupportedFeatures {
401
412
  UNKNOWN_FEATURE = 0;
402
413
  ARRAY_BUFFER_IPC = 1;
403
414
  }
415
+
416
+ // Execution mode of compilation extension.
417
+ enum ExtensionCompilationMode {
418
+ // Unspecified compiled mode - extension will be skipped.
419
+ COMPILATION_MODE_UNSPECIFIED = 0;
420
+ // Execute before regular Dataform compilation.
421
+ PROLOGUE = 1;
422
+ // Replace regular Dataform compilation.
423
+ APPLICATION_CODE = 2;
424
+ }
425
+
426
+ message Extension {
427
+ // Name of the extension (JS module) to delegate the compilation to.
428
+ string name = 1;
429
+
430
+ // Compilation mode of the extension, required.
431
+ ExtensionCompilationMode compilation_mode = 2;
432
+ }
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "version": "3.0.35",
37
+ "version": "3.0.37",
38
38
  "name": "@dataform/core",
39
39
  "description": "Dataform core API.",
40
40
  "main": "bundle.js"