-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add UUID/invocation ID to temporary table names #373
base: main
Are you sure you want to change the base?
Add UUID/invocation ID to temporary table names #373
Conversation
sync Github dap-main with Gitlab dap-main
Thank you for your contribution! |
@@ -208,7 +208,7 @@ | |||
{%- endmacro %} | |||
|
|||
{% macro clickhouse__insert_into(target_relation, sql, has_contract) %} | |||
{%- set dest_columns = adapter.get_columns_in_relation(target_relation) -%} | |||
{%- set dest_columns = adapter.get_column_schema_from_query(sql) -%} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain why this change is required? why change the columns getter from the target relation to the SQL?
|
Summary
Append invoication_id to table name of temporary, intermediate and backup tables to avoid name collision between dbt runs.
Checklist
Delete items not relevant to your PR: