-
Notifications
You must be signed in to change notification settings - Fork 23
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
'bigquery' key error when running compare-reports fails to produce diff summary #932
Comments
@Stochastic-Squirrel Thanks for reporting this issue. The team is taking a look and we'll get back to you shortly |
We're having some difficulty in reproducing the issue. We'll continue to look into this. It looks like you already ran PipeRider with In the meantime, you could try out an Impact Report manually by using the DBT Manifest Analyzer in PipeRider Cloud:
I'll follow up on this when we have had more success reproducing the issue. Thanks, Dave |
Hi Dave, thanks for reaching out! I have been using the Unfortunately I don't feel comfortable sharing the manifests in their entirety. I'll try to cut them down to a minimal set. However, I do have an update on what causes the error! Here are some scenarios that causes the error
In my case, I have to tweak model yamls for SQL models that are affected by a change e.g. data type change. I hope this makes it a bit easier to recreate the issue on your end. |
Hi, thanks for your information. I know there is some privacy concern for providing the real Expected reproduce steps
|
thanks @popcornylu. I'll try to reproduce this error in a dummy project as soon as I can! |
First of all, I am really enjoying this tool! Unfortunately I have come across this bug which is blocking a rollout to the wider team so I am hoping that there is a quick fix!
Describe the bug
When comparing two piperider reports, a warning "bigquery" is returned and no comparison summary is generated.
Reproduce
Unfortunately, I cannot provide the manifest jsons but I will try my best to describe the issue and steps taken.
What's strange is that the diff summary report works for some MRs but not others. I have tried to find the common trait but I am unable to.
The MR and subsequent report comparison that works is a very simple test case where I add a text column to an existing table with a constant value e.g.
Looking at the comparison report, row and col information for both base (production) and target (staging) are recorded.
What I have tried
piperider diagnose
passesI attached a debugger and I tried to figure out what was going on.
GraphDataChangeSet
object fails to be createdlist_changes_in_unique_id
failingbigquery
(hence the warning printed on the console), theAdapterContainer
'slookup_adapter
function is called which attempts to extract thebigquery
adapter using thebigquery
keyRelevant code linked here
Expected behavior
Diff summary reports for dbt models that have been changed.
Example output below from the successful MR comparison
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: