File tree 1 file changed +0
-5
lines changed
dbt/include/clickhouse/macros/materializations
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 9
9
{%- set remote_relation = target_relation .incorporate (path = {" identifier" : remote_identifier, " schema" : remote_schema}, remote_cluster= remote_cluster) - %}
10
10
{%- set existing_relation = load_cached_relation(this) - %}
11
11
12
- {{ run_hooks(pre_hooks, inside_transaction= False) }}
13
- {{ run_hooks(pre_hooks, inside_transaction= True) }}
14
-
15
12
{%- set column_changes = none - %}
16
13
{%- if existing_relation - %}
17
14
{%- if sql is none - %}
36
33
{% do apply_grants(target_relation, grant_config, should_revoke= should_revoke) %}
37
34
{% do persist_docs(target_relation, model) %}
38
35
39
- {{ run_hooks(post_hooks, inside_transaction= True) }}
40
36
{{ adapter .commit () }}
41
- {{ run_hooks(post_hooks, inside_transaction= False) }}
42
37
{{ return({' relations' : [target_relation]}) }}
43
38
44
39
{% endmaterialization %}
You can’t perform that action at this time.
0 commit comments