Commit 887e30f 1 parent 0176543 commit 887e30f Copy full SHA for 887e30f
File tree 2 files changed +43
-6
lines changed
metadata-models/src/main/pegasus/com/linkedin/dataprocess
2 files changed +43
-6
lines changed Original file line number Diff line number Diff line change 1
1
namespace com.linkedin.dataprocess
2
2
3
+ import com.linkedin.common.Edge
3
4
import com.linkedin.common.Urn
4
5
5
6
/**
@@ -15,8 +16,7 @@ record DataProcessInstanceInput {
15
16
@Relationship = {
16
17
"/*": {
17
18
"name": "Consumes",
18
- "entityTypes": [ "dataset", "mlModel"],
19
- "isLineage": true
19
+ "entityTypes": [ "dataset", "mlModel" ]
20
20
}
21
21
}
22
22
@Searchable = {
@@ -29,4 +29,23 @@ record DataProcessInstanceInput {
29
29
}
30
30
}
31
31
inputs: array[Urn]
32
+
33
+ /**
34
+ * Input assets consumed by the data process instance, with additional metadata.
35
+ * Counts as lineage.
36
+ * Will eventually deprecate the inputs field.
37
+ */
38
+ @Relationship = {
39
+ "/*/destinationUrn": {
40
+ "name": "DataProcessInstanceConsumes",
41
+ "entityTypes": [ "dataset", "mlModel" ],
42
+ "isLineage": true,
43
+ "createdOn": "inputEdges/*/created/time"
44
+ "createdActor": "inputEdges/*/created/actor"
45
+ "updatedOn": "inputEdges/*/lastModified/time"
46
+ "updatedActor": "inputEdges/*/lastModified/actor"
47
+ "properties": "inputEdges/*/properties"
48
+ }
49
+ }
50
+ inputEdges: optional array[Edge]
32
51
}
Original file line number Diff line number Diff line change 1
1
namespace com.linkedin.dataprocess
2
2
3
+ import com.linkedin.common.Edge
3
4
import com.linkedin.common.Urn
4
5
5
6
/**
@@ -10,14 +11,12 @@ import com.linkedin.common.Urn
10
11
}
11
12
record DataProcessInstanceOutput {
12
13
/**
13
- * Output datasets to be produced
14
+ * Output assets produced
14
15
*/
15
16
@Relationship = {
16
17
"/*": {
17
18
"name": "Produces",
18
- "entityTypes": [ "dataset", "mlModel" ],
19
- "isLineage": true,
20
- "isUpstream": false
19
+ "entityTypes": [ "dataset", "mlModel" ]
21
20
}
22
21
}
23
22
@Searchable = {
@@ -31,4 +30,23 @@ record DataProcessInstanceOutput {
31
30
}
32
31
outputs: array[Urn]
33
32
33
+ /**
34
+ * Output assets produced by the data process instance during processing, with additional metadata.
35
+ * Counts as lineage.
36
+ * Will eventually deprecate the outputs field.
37
+ */
38
+ @Relationship = {
39
+ "/*/destinationUrn": {
40
+ "name": "DataProcessInstanceProduces",
41
+ "entityTypes": [ "dataset", "mlModel" ],
42
+ "isUpstream": false,
43
+ "isLineage": true,
44
+ "createdOn": "outputEdges/*/created/time"
45
+ "createdActor": "outputEdges/*/created/actor"
46
+ "updatedOn": "outputEdges/*/lastModified/time"
47
+ "updatedActor": "outputEdges/*/lastModified/actor"
48
+ "properties": "outputEdges/*/properties"
49
+ }
50
+ }
51
+ outputEdges: optional array[Edge]
34
52
}
You can’t perform that action at this time.
0 commit comments