-
Notifications
You must be signed in to change notification settings - Fork 25
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
Bug when table.original_file_path is None #52
Comments
Thanks for reporting this @moreaupascal56! I guess this shows that there are cases in which Just out of curiosity, would you mind sharing the log of what dbt-coverage/dbt_coverage/__init__.py Lines 94 to 100 in 7efb5d9
Thanks! |
@moreaupascal56 a friendly ping :) |
Hey @mrshu thanks for the ping it was out of my mind :) Here is what I got running
|
Thanks @moreaupascal56, that's very interesting. Can you please share what version of |
hey, 1.0.1 kinda old 🤔 |
@moreaupascal56 interesting. Would you mind trying to generate the manifest with a bit newer version (like 1.3)? I really believe the |
Using dbt version 1.3.2 and I am running into this issue. It looks to be happening only for dbt sources. |
I am also running into this issue:
I tried re-generating the target directory and it just changed the one that failed:
these are all the common tests that are included in dbt. Maybe it's related to the string of random characters at the end? |
Hello, I encountered the same issue mentioned in the two messages above. When we want to load the Catalog, we first fetch all the nodes regardless of their type, including the tests. There does not seem to be a type in the nodes of the I hope this is helpful and I am looking forward to be able to try it :) |
I have found a solution to get dbt-coverage to work again locally. It is very not elegant, so I am open for any refactoring ideas. |
It seems this might also help with #62 as well |
@sweco Could you have a look at the PR for this bug, please? |
Hey @BI-MarcB, sorry for a very late reply and thanks for pinging me. I've checked the PR and tried to understand the issue but I can't seem to reproduce it. I cannot even get tests to appear in the |
Alright, I managed to reproduce this by setting |
I just released the version 0.3.5 that should fix this, can you please test? |
Hello just a small bug found :)
in init.py:
Table.original_file_path can be None but line 129 the if clause:
fails if table.
original_file_path is None
.Error log:
The text was updated successfully, but these errors were encountered: