-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fixes the issue running DBT against Panoply #1674
Fixes the issue running DBT against Panoply #1674
Conversation
in the cleansing system which throws a syntax error because of the position of the comment. Slightly changed the position and now I could `dbt run` against panoply.
Thanks @gautam-ndk! This is a very strange Panoply issue to me... the "jinja comments" inside of
whereas after this PR, it will be:
So, you know, that's bonkers :) You mentioned in #1479 that you're still seeing syntax errors while executing dbt docs generate. Can you tell me what those errors say? I think it will be an equivalently tiny change, and I'd love to fix that one at the same time! Thanks again for submitting this PR! |
Thanks for checking it out @drewbanin. Below is the exact error I see for docs generate
Below is the exact query as I see with -d option
When I tried to run the above query in Panoply's console, it threw an error
I do remember @kevinsanz93 mentioning in the Slack channel about this, so I renamed columns with column_names. So, the changed query is
Now, the Panoply console accepts the above query. But, unfortunately Is there a way to get the exact query (including whitespaces?) that is sent to the Panoply |
Thanks for the additional info @gautam-ndk! Check out the I took a quick look at this yesterday and came up with the following fix. Do you see anything in here that might interesting to try adding to your branch? https://github.com/fishtown-analytics/dbt/compare/fix/panoply |
Hey @drewbanin, Also, please go ahead and merge your branch. I will close this PR. |
@gautam-ndk you know, this is just a sort of a series of bugs on Panoply's end - I didn't do anything too scientific here! I just spun up a new Panoply Redshift database and tweaked dbt's internal queries until I could get a run to succeed :) I found that:
I guess Panoply might have some problem with identifiers named |
re-opened in #1686 Thanks so much for your help here @gautam-ndk!! |
Panoply cleans up queries before executing. Apparently, they have a bug in the cleansing system which throws a syntax error because of the position of the comment.
Slightly changed the position and now I could
dbt run
against panoply.