Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
openlineage specification update
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenLineage deploy bot committed Jun 11, 2024
1 parent 2c3dc5a commit 24358f5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .last_spec_commit_id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f95036d34d9acf9ef02b29d1ae29a119ea3ba076
e2390d5551963fb8a9906226e8ccb85d0fead64b
43 changes: 43 additions & 0 deletions static/spec/facets/1-0-0/GcpCommonJobFacet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://openlineage.io/spec/facets/1-0-0/GcpCommonJobFacet.json",
"$defs": {
"GcpCommonJobFacet": {
"allOf": [
{
"$ref": "https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/JobFacet"
},
{
"type": "object",
"properties": {
"displayName": {
"description": "The name of the job to be used on UI",
"type": "string"
},
"origin": {
"type": "object",
"properties": {
"sourceType": {
"description": "Type of the source. Possible values can be found in GCP documentation (https://cloud.google.com/data-catalog/docs/reference/data-lineage/rest/v1/projects.locations.processes#SourceType) ",
"type": "string"
},
"name": {
"description": "If the sourceType isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. More details in GCP documentation https://cloud.google.com/data-catalog/docs/reference/data-lineage/rest/v1/projects.locations.processes#origin",
"type": "string"
}
}
}
},
"additionalProperties": true
}
],
"type": "object"
}
},
"type": "object",
"properties": {
"gcp_common": {
"$ref": "#/$defs/GcpCommonJobFacet"
}
}
}

0 comments on commit 24358f5

Please sign in to comment.