Skip to content

Commit

Permalink
marking data process aspects as deprecated (datahub-project#3172)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-lyons authored and jgiannuzzi committed Oct 6, 2021
1 parent 6d4b213 commit 5278adb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ import com.linkedin.common.Status
/**
* A union of all supported metadata aspects for a data process
*/
typeref DataProcessAspect = union[DataProcessKey, Ownership, DataProcessInfo, Status]
@deprecated = "Use DataJob instead."
typeref DataProcessAspect = union[DataProcessKey, Ownership, DataProcessInfo, Status]
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import com.linkedin.metadata.aspect.DataProcessAspect
"name": "dataProcess",
"keyAspect": "dataProcessKey"
}
@deprecated = "Use DataJob instead."
record DataProcessSnapshot {

/**
Expand All @@ -21,4 +22,4 @@ record DataProcessSnapshot {
* The list of metadata aspects associated with the data process. Depending on the use case, this can either be all, or a selection, of supported aspects.
*/
aspects: array[DataProcessAspect]
}
}

0 comments on commit 5278adb

Please sign in to comment.