Skip to content
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(ingestion): Snowflake Table to View lineage #4520

Merged

Conversation

rslanka
Copy link
Contributor

@rslanka rslanka commented Mar 29, 2022

This PR eliminates the old heuristic based logic(which has later been replaced with a more deterministic one) which needed removing false edges from a table to a view, and fixes incorrect lineage when there is an upstream table UT, a view V, and a downstream table DT with edges UT->V, UT->DT and V->DT (UT->DT would be missing without this fix).

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

@github-actions
Copy link

Unit Test Results (build & test)

  93 files  ±0    93 suites  ±0   12m 13s ⏱️ - 4m 55s
676 tests ±0  617 ✔️ ±0  59 💤 ±0  0 ±0 

Results for commit aa3a693. ± Comparison against base commit d30b6e1.

@treff7es
Copy link
Contributor

lgtm

@github-actions
Copy link

Unit Test Results (metadata ingestion)

       5 files  ±0         5 suites  ±0   1h 0m 12s ⏱️ + 3m 31s
   388 tests ±0     388 ✔️ +1    0 💤 ±0  0  - 1 
1 787 runs  ±0  1 749 ✔️  - 6  38 💤 +7  0  - 1 

Results for commit aa3a693. ± Comparison against base commit d30b6e1.

@rslanka rslanka merged commit 4f7d0f3 into datahub-project:master Mar 29, 2022
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants