Skip to content

Commit aa90893

Browse files
committed
feat: remove hooks from remote table materialization
1 parent 2260deb commit aa90893

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: dbt/include/clickhouse/macros/materializations/remote_table.sql

-5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
{%- set remote_relation = target_relation.incorporate(path={"identifier": remote_identifier, "schema": remote_schema}, remote_cluster=remote_cluster) -%}
1010
{%- set existing_relation = load_cached_relation(this) -%}
1111

12-
{{ run_hooks(pre_hooks, inside_transaction=False) }}
13-
{{ run_hooks(pre_hooks, inside_transaction=True) }}
14-
1512
{%- set column_changes = none -%}
1613
{%- if existing_relation -%}
1714
{%- if sql is none -%}
@@ -36,9 +33,7 @@
3633
{% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}
3734
{% do persist_docs(target_relation, model) %}
3835

39-
{{ run_hooks(post_hooks, inside_transaction=True) }}
4036
{{ adapter.commit() }}
41-
{{ run_hooks(post_hooks, inside_transaction=False) }}
4237
{{ return({'relations': [target_relation]}) }}
4338

4439
{% endmaterialization %}

0 commit comments

Comments
 (0)