Hello everyone!
Earlier while using DBT version 0.17, we used to have some pre_hook
queries defined. Basically it was to update an audit table to be later re-updated when the job is successful. With our pre_hook
, we used before_begin
helper macro, so that even if the transaction fails, the audit table update doesnt get impacted.
{{
config(
pre_hook = before_begin(pre_hook_query)
)
}}
However, with DBT 1.1 version, it seems that the before_begin
macro is not updating our audit tables. Has there been any changes to dbt in terms of these helper macros?