@dataform/core 3.0.63 → 3.0.65

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
@@ -24,6 +24,7 @@ option go_package = "github.com/dataform-co/dataform/protos/dataform";
24
24
 
25
25
  import "google/protobuf/struct.proto";
26
26
  import "extension.proto";
27
+ import "property_graph_config.proto";
27
28
 
28
29
  // Workflow Settings defines the contents of the `workflow_settings.yaml`
29
30
  // configuration file.
@@ -85,6 +86,16 @@ message WorkflowSettings {
85
86
  // Optional. If set to true, governance controls (e.g. Data Policies) will be
86
87
  // preserved on BigQuery tables.
87
88
  bool preserve_governance_controls = 18;
89
+
90
+ // Optional. Configuration for Knowledge Catalog lineage emission.
91
+ LineageSettings lineage = 19;
92
+ }
93
+
94
+ // Configuration for Knowledge Catalog lineage emission.
95
+ message LineageSettings {
96
+ // If true, downstream runners will emit OpenLineage events to Knowledge
97
+ // Catalog for actions executed from this project.
98
+ bool enabled = 1;
88
99
  }
89
100
 
90
101
  // Action configs defines the contents of `actions.yaml` configuration files.
@@ -719,6 +730,7 @@ message ActionConfig {
719
730
  DeclarationConfig declaration = 6;
720
731
  NotebookConfig notebook = 7;
721
732
  DataPreparationConfig data_preparation = 8;
733
+ PropertyGraphConfig property_graph = 9;
722
734
  }
723
735
 
724
736
  message LoadModeConfig {
package/core.proto CHANGED
@@ -54,6 +54,8 @@ message ProjectConfig {
54
54
 
55
55
  bool preserve_governance_controls = 24;
56
56
 
57
+ optional bool lineage_enabled = 25;
58
+
57
59
  reserved 3, 4, 6, 8, 10, 12, 13;
58
60
  }
59
61
 
@@ -450,6 +452,55 @@ message MergeLoadMode {
450
452
  repeated string unique_key = 1;
451
453
  }
452
454
 
455
+ message PropertyGraph {
456
+ Target target = 1;
457
+ Target canonical_target = 2;
458
+ repeated Target dependency_targets = 3;
459
+ string file_name = 4;
460
+ string description = 5;
461
+ repeated GraphEntity entities = 6;
462
+ repeated GraphRelationship relationships = 7;
463
+ string graph_body = 8;
464
+ }
465
+
466
+ message GraphEntity {
467
+ string name = 1;
468
+ Target data_source = 2;
469
+ repeated string keys = 3;
470
+ repeated GraphLabel labels = 4;
471
+ }
472
+
473
+ message GraphRelationship {
474
+ string name = 1;
475
+ Target data_source = 2;
476
+ repeated string keys = 3;
477
+ GraphEndpoint source = 4;
478
+ GraphEndpoint destination = 5;
479
+ repeated GraphLabel labels = 6;
480
+ }
481
+
482
+ message GraphLabel {
483
+ string name = 1;
484
+ string description = 2;
485
+ repeated string synonyms = 3;
486
+ repeated GraphField fields = 4;
487
+ bool import_all = 5;
488
+ repeated string import_except = 6;
489
+ }
490
+
491
+ message GraphField {
492
+ string name = 1;
493
+ string expression = 2;
494
+ string description = 3;
495
+ repeated string synonyms = 4;
496
+ }
497
+
498
+ message GraphEndpoint {
499
+ string entity = 1;
500
+ repeated string relationship_columns = 2;
501
+ repeated string entity_columns = 3;
502
+ }
503
+
453
504
  message CompiledGraph {
454
505
  ProjectConfig project_config = 4;
455
506
 
@@ -462,6 +513,7 @@ message CompiledGraph {
462
513
  repeated Test tests = 8;
463
514
  repeated Notebook notebooks = 12;
464
515
  repeated DataPreparation data_preparations = 13;
516
+ repeated PropertyGraph property_graphs = 16;
465
517
 
466
518
  GraphErrors graph_errors = 7;
467
519
 
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "version": "3.0.63",
39
+ "version": "3.0.65",
40
40
  "name": "@dataform/core",
41
41
  "description": "Dataform core API.",
42
42
  "main": "bundle.js"