-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(tableau): emit lineage edge from embedded datasource to upstream… #4470
feat(tableau): emit lineage edge from embedded datasource to upstream… #4470
Conversation
… published datasource
Unit Test Results (metadata ingestion) 5 files ± 0 5 suites ±0 59m 30s ⏱️ + 8m 18s Results for commit b9d1344. ± Comparison against base commit 2013d5d. This pull request removes 1 and adds 24 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
|
||
for datasource in datasource.get("upstreamDatasources", []): | ||
datasource_urn = builder.make_dataset_urn( | ||
self.platform, datasource.get("id", ""), self.config.env |
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.
Hi @mayurinehate, should the name param here be datasource["name"] + datasource.get("id", "")
? Is the id
optional? Also, do we need any updates to the 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.
- Only dataset["id"] should be used in urn. It is consistent with other places where we generate urn in order to set lineage correctly.
- Id is not optional. updated code for this commit
- Added Lineage section in tableau doc to mention lineages emitted
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.
LGTM!
datahub-project#4470) * feat(tableau): emit lineage edge from embedded datasource to upstream published datasource Co-authored-by: Ravindra Lanka <rlanka@acryl.io>
… published datasource
Checklist