-
Notifications
You must be signed in to change notification settings - Fork 315
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
[Integration][DBT] Fix compatibility with DBT v1.8 #3228
Conversation
Thanks for opening your first OpenLineage pull request! We appreciate your contribution. If you haven't already, please make sure you've reviewed our guide for new contributors (https://github.com/OpenLineage/OpenLineage/blob/main/CONTRIBUTING.md). |
9ca28e7
to
5be48b2
Compare
Signed-off-by: NJA010 <[email protected]>
5be48b2
to
06a81c3
Compare
Signed-off-by: NJA010 <[email protected]>
@NJA010 could you add a test for that (from, for example jaffle shop in 1.8)? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3228 /- ##
==========================================
Coverage 85.73% 85.75% 0.02%
==========================================
Files 54 54
Lines 3119 3124 5
==========================================
Hits 2674 2679 5
Misses 445 445 ☔ View full report in Codecov by Sentry. |
Signed-off-by: NJA010 <[email protected]>
@mobuchowski I've copied over the jaffle shop test folder and transformed the manifest and run_results to a reflect a |
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.
Thanks for the contribution @NJA010!
Great job! Congrats on your first merged pull request in OpenLineage! |
Signed-off-by: Niels Janssen [email protected]
Problem
DbtArtifactProcessor.parse_assertions() reads the node's name from a test_metadata field. However, the schema of the DBT manifest has changed and the name of a node is no longer in the test_metadata field. Instead, name is a field of each node.
Closes: #3222
Solution
Check manifest version whether to select
test_metadata
or notOne-line summary:
Fix bug due to DBT manifest change in DBT v1.8
Checklist
SPDX-License-Identifier: Apache-2.0
Copyright 2018-2024 contributors to the OpenLineage project