-
Notifications
You must be signed in to change notification settings - Fork 86
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
Compiled dbt Preview button not working #1226
Comments
+1 Getting the same issue when trying to preview compiled SQL via ctrl+enter. Running dbt models and building works as expected, but executing SQL previews gives the no keys attribute error on the NodeInfo object. Downgrading to v0.39.20 fixes the issue as the previous version doesn't have this problem. |
+1 We face a similar issue on >=0.40.
Additional info: We use it (sometimes) in combination with the
Downgrading to v0.39.20 fixes the issue. |
@davidwitk @EFox2413 Can you please upgrade to version 0.40.2 and let us know if the issue has been fixed? Also, we no longer support version < 1.6, so please consider updating your dbt version. |
@anandgupta42 I tried 0.40.2 and 0.40.3, but still the same error |
Same issue here ! @anandgupta42 version 0.40.3 fix preview query execution (Ctrl + Enter)... but Compiled dbt Preview (Ctrl + ~) stills broken. Downgrade to 0.39.20 fixes both. |
@davidwitk : Can you provide the full stack trace? |
@mdesmet Here you go, on 0.40.3:
|
@davidwitk is this still and issue? |
@anandgupta42 Yes, still an issue, even when upgrading to v0.43.5. Last working version is v0.39.20 |
I am getting a similar issue on v0.44.3 and dbt version 1.4.5:
The models build and compile fine but the preview will usually throw an error. Sometimes it will work though its just very inconsistent. |
Discussed in #1225
Originally posted by letuio June 18, 2024
Hi everyone,
I was looking for some help, since this option was working fine for me until yesterday afternoon. It was fine in the morning and for the life of me I can't figure out why it stopped in the middle of the day, as far as I know there shouldn't have been any changes.
The problem is the following, the button to see the compiled dbt preview stopped working and it is giving me the following issue, no matter the model that I am using. For example:
It always seems to be the same problem, no matter the model. I am not sure what changed, but I've been using it for quite a while with no issues. I am able to run models and compile models using the right click menu or through the CLI, I can see the compiled code on the target folder. But this specific button is not working.
Seems to indicate that it expects a 'NodeInfo' object to have the 'keys' attribute, but I don't know anything about that.
Any help would be appreciated, as I like this feature a lot and I use it constantly. Only work-around I've seen is to compile the code manually and then use the command to "open dbt target folder compiled" but that is hardly as convenient.
Thanks in advance.
The text was updated successfully, but these errors were encountered: