You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is going to require a dbt-redshift specific solution as currently base adapter (nor redshift adapter) are aware of whether a source is a spectrum table
Likely addressing this will require users to configure their spectrum table references as sources and for dbt-redshift to check if a source is a spectrum table before rendering. We will spike out evaluating if/how we can support this
Is this a new bug?
Current Behavior
Running dbt run --empty , we get a spectrum nested query error.
The compiled code is the following:
If we remove the limit 0 or we remove the subquery having something like this:
The query works on redshift.
Expected Behavior
dbt run --empty works on redshift spectrum.
Steps To Reproduce
Relevant log output
No response
Environment
Additional Context
We figured out that the code that generates this line of code is in relation.py file.
If we remove limit 0, it works.
The text was updated successfully, but these errors were encountered: