[Feature] Execute post_hook
after apply_grants
and persist_docs
#11189
Labels
enhancement
New feature or request
post_hook
after apply_grants
and persist_docs
#11189
Is this a new bug in dbt-bigquery?
Current Behavior
post_hook
is executed beforeapply_grants
andpersist_docs
Expected Behavior
post_hook
being executed afterapply_grants
andpersist_docs
Steps To Reproduce
Reading the script in https://github.com/dbt-labs/dbt-bigquery/tree/main/dbt/include/bigquery/macros/materializations
Relevant log output
No response
Environment
Additional Context
I have written a few post hooks to compare between the table metadata from BigQuery API (through adapter) and the model properties from the yaml files.
If
apply_grants
andpersist_docs
are being run afterpost_hook
, the column description and policy tags will never match the specification in the yaml files.Of course I can create a custom materialization for my usage. But I am thinking if it will be better to run
post_hook
afterapply_grants
andpersist_docs
in general?The text was updated successfully, but these errors were encountered: