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

dbt 1.0 #27

Merged
merged 1 commit into from Apr 1, 2022
Merged

dbt 1.0 #27

merged 1 commit into from Apr 1, 2022

Conversation

sweco
Copy link
Collaborator

@sweco sweco commented Mar 31, 2022

  • Support dbt 1.0 and drop support for dbt<1
  • Warn when using with unsupported manifest.json version

@mrshu, I acknowledged the changes in the new v4 manifest.json format introduced by dbt 1.0 and by that the support for v3 dropped. Since the difference between the formats is only tiny, do you think it would make sense to support also v3 manifest.json (used in dbt<1) by having 2 methods for parsing the manifest, one for v3 and one for v4?

Closes #26.

@sweco sweco requested a review from mrshu March 31, 2022 20:30
@sarojdongol
Copy link

Hi Andrej,

Thank you for looking into this.

@mrshu
Copy link
Contributor

mrshu commented Apr 1, 2022

@sweco Given the relatively fast release cycles of dbt-core, I'd personally be OK with dropping the support for anything but the newest version of the manifest.json, along with perhaps a note very early in the README that the latest published package is optimized for dbt>=1.0.

@sweco sweco force-pushed the dbt-1.0 branch 2 times, most recently from 442fc31 to 15392dc Compare April 1, 2022 06:43
@sweco
Copy link
Collaborator Author

sweco commented Apr 1, 2022

Thanks @mrshu, makes sense and actually we can add the support for older dbt at any time. I added a badge as well as a small note in the beginning of the README.

dbt_coverage/__init__.py Outdated Show resolved Hide resolved
Tests representation in the manifest.json have changed. Updating to the new format of manifest.json results in non-compatibility with dbt<1.
Warn when used with unsupported manifest.json version
@sweco sweco merged commit a220297 into main Apr 1, 2022
@sweco sweco deleted the dbt-1.0 branch April 1, 2022 07:01
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.

Coverage Test Showing 0% on DBT v1.0.0
3 participants