diff --git a/dbt/include/athena/macros/materializations/models/table/table.sql b/dbt/include/athena/macros/materializations/models/table/table.sql index d8dbce1a..e6e45e7d 100644 --- a/dbt/include/athena/macros/materializations/models/table/table.sql +++ b/dbt/include/athena/macros/materializations/models/table/table.sql @@ -99,12 +99,12 @@ {{ drop_relation(old_relation_bkp) }} {%- endif -%} - {% call statement("main") %} - SELECT 'SUCCESSFULLY CREATED TABLE {{ target_relation }}'; - {% endcall %} - {%- endif -%} + {% call statement("main") %} + SELECT 'SUCCESSFULLY CREATED TABLE {{ target_relation }}'; + {% endcall %} + {{ run_hooks(post_hooks) }} {% if lf_tags_config is not none %}