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