-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(models): chart schema fields mapping, add dataHubAction entity, t… #11040
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace com.linkedin.metadata.key | ||
|
||
/** | ||
* Key for a DataHub Action Pipeline | ||
*/ | ||
@Aspect = { | ||
"name": "dataHubActionKey" | ||
} | ||
record DataHubActionKey { | ||
/** | ||
* A unique id for the Action, either generated or provided | ||
*/ | ||
id: string | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ entities: | |
- forms | ||
- subTypes | ||
- incidentsSummary | ||
- testResults | ||
- name: dataFlow | ||
category: core | ||
keyAspect: dataFlowKey | ||
|
@@ -95,12 +96,14 @@ entities: | |
- incidentsSummary | ||
- forms | ||
- subTypes | ||
- testResults | ||
- name: dataProcess | ||
keyAspect: dataProcessKey | ||
aspects: | ||
- dataProcessInfo | ||
- ownership | ||
- status | ||
- testResults | ||
- name: dataProcessInstance | ||
doc: DataProcessInstance represents an instance of a datajob/jobflow run | ||
keyAspect: dataProcessInstanceKey | ||
|
@@ -111,6 +114,7 @@ entities: | |
- dataProcessInstanceRelationships | ||
- dataProcessInstanceRunEvent | ||
- status | ||
- testResults | ||
- name: chart | ||
category: core | ||
keyAspect: chartKey | ||
|
@@ -136,6 +140,7 @@ entities: | |
- structuredProperties | ||
- incidentsSummary | ||
- forms | ||
- testResults | ||
- name: dashboard | ||
keyAspect: dashboardKey | ||
aspects: | ||
|
@@ -159,6 +164,7 @@ entities: | |
- structuredProperties | ||
- incidentsSummary | ||
- forms | ||
- testResults | ||
- name: notebook | ||
doc: Notebook represents a combination of query, text, chart and etc. This is in BETA version | ||
keyAspect: notebookKey | ||
|
@@ -176,6 +182,7 @@ entities: | |
- subTypes | ||
- dataPlatformInstance | ||
- browsePathsV2 | ||
- testResults | ||
- name: corpuser | ||
doc: CorpUser represents an identity of a person (or an account) in the enterprise. | ||
keyAspect: corpUserKey | ||
|
@@ -193,6 +200,7 @@ entities: | |
- roleMembership | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: corpGroup | ||
doc: CorpGroup represents an identity of a group of users in the enterprise. | ||
keyAspect: corpGroupKey | ||
|
@@ -206,6 +214,7 @@ entities: | |
- roleMembership | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: domain | ||
doc: A data domain within an organization. | ||
category: core | ||
|
@@ -216,6 +225,7 @@ entities: | |
- ownership | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: container | ||
doc: A container of related data assets. | ||
category: core | ||
|
@@ -236,6 +246,7 @@ entities: | |
- browsePathsV2 | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: tag | ||
category: core | ||
keyAspect: tagKey | ||
|
@@ -244,6 +255,7 @@ entities: | |
- ownership | ||
- deprecation | ||
- status | ||
- testResults | ||
- name: glossaryTerm | ||
category: core | ||
keyAspect: glossaryTermKey | ||
|
@@ -259,6 +271,7 @@ entities: | |
- browsePaths | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: glossaryNode | ||
category: core | ||
keyAspect: glossaryNodeKey | ||
|
@@ -269,6 +282,7 @@ entities: | |
- status | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: dataHubIngestionSource | ||
category: internal | ||
keyAspect: dataHubIngestionSourceKey | ||
|
@@ -340,6 +354,7 @@ entities: | |
- browsePathsV2 | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: mlModelGroup | ||
category: core | ||
keyAspect: mlModelGroupKey | ||
|
@@ -357,6 +372,7 @@ entities: | |
- browsePathsV2 | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: mlModelDeployment | ||
category: core | ||
keyAspect: mlModelDeploymentKey | ||
|
@@ -367,6 +383,7 @@ entities: | |
- deprecation | ||
- globalTags | ||
- dataPlatformInstance | ||
- testResults | ||
- name: mlFeatureTable | ||
category: core | ||
keyAspect: mlFeatureTableKey | ||
|
@@ -385,6 +402,7 @@ entities: | |
- browsePathsV2 | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: mlFeature | ||
category: core | ||
keyAspect: mlFeatureKey | ||
|
@@ -403,6 +421,7 @@ entities: | |
- browsePathsV2 | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: mlPrimaryKey | ||
category: core | ||
keyAspect: mlPrimaryKeyKey | ||
|
@@ -419,6 +438,7 @@ entities: | |
- dataPlatformInstance | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: telemetry | ||
category: internal | ||
keyAspect: telemetryKey | ||
|
@@ -455,6 +475,7 @@ entities: | |
- forms | ||
- businessAttributes | ||
- documentation | ||
- testResults | ||
- name: globalSettings | ||
doc: Global settings for an the platform | ||
category: internal | ||
|
@@ -522,6 +543,7 @@ entities: | |
- status | ||
- structuredProperties | ||
- forms | ||
- testResults | ||
- name: ownershipType | ||
doc: Ownership Type represents a user-created ownership category for a person or group who is responsible for an asset. | ||
category: core | ||
|
@@ -549,6 +571,10 @@ entities: | |
keyAspect: dataHubPersonaKey | ||
aspects: | ||
- dataHubPersonaInfo | ||
- name: dataHubAction | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the other aspects, or I guess that will come in a followup? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't need other aspects - this is required to allow |
||
category: internal | ||
keyAspect: dataHubActionKey | ||
aspects: [] | ||
- name: entityType | ||
doc: A type of entity in the DataHub Metadata Model. | ||
category: core | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
query($urn:String!) { | ||
chart(urn: $urn) { | ||
inputFields { | ||
fields { | ||
schemaFieldUrn | ||
schemaField { | ||
schemaFieldEntity { | ||
urn | ||
fieldPath | ||
documentation { | ||
documentations { | ||
documentation | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the case where this was happening?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess nowhere, just defensive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see - this is where the bad mapping was happening. Got it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mainly a protection from bad data - in case we have mal formatted schema field urns.