-
Notifications
You must be signed in to change notification settings - Fork 190
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
[ADAP-978] [CT-3313] python incremental model tmp_relation_type config #823
Comments
Thanks for reporting this @alireza-moradi ! It looks like the problem is here: {% if language == "python" and tmp_relation_type is not none %} And it should be this instead: {% if language == "python" and tmp_relation_type is not none and tmp_relation_type != "table" %}
|
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
Is this a new bug in dbt-core?
Current Behavior
When tmp_relation_type config is set in project level or model level dbt returns this error :
Python models currently only support 'table' for tmp_relation_type but table was specified.
Even though the tmp_relation_type is set to table.
Expected Behavior
When tmp_relation_type config is set to table dbt should work without any problem. If tmp_relation_type config is set to view then we should get this error.
Steps To Reproduce
Relevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: