@@ -867,6 +867,7 @@ def create_snapshot(
867
867
rendered_physical_properties = rendered_physical_properties ,
868
868
allow_destructive_snapshots = allow_destructive_snapshots ,
869
869
allow_additive_snapshots = allow_additive_snapshots ,
870
+ run_pre_post_statements = True ,
870
871
)
871
872
else :
872
873
is_table_deployable = deployability_index .is_deployable (snapshot )
@@ -1026,6 +1027,7 @@ def _clone_snapshot_in_dev(
1026
1027
rendered_physical_properties : t .Dict [str , exp .Expression ],
1027
1028
allow_destructive_snapshots : t .Set [str ],
1028
1029
allow_additive_snapshots : t .Set [str ],
1030
+ run_pre_post_statements : bool = False ,
1029
1031
) -> None :
1030
1032
adapter = self .get_adapter (snapshot .model .gateway )
1031
1033
@@ -1048,6 +1050,7 @@ def _clone_snapshot_in_dev(
1048
1050
rendered_physical_properties = rendered_physical_properties ,
1049
1051
allow_destructive_snapshots = allow_destructive_snapshots ,
1050
1052
allow_additive_snapshots = allow_additive_snapshots ,
1053
+ run_pre_post_statements = run_pre_post_statements ,
1051
1054
)
1052
1055
except Exception :
1053
1056
adapter .drop_table (target_table_name )
0 commit comments