You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- OS: Mac OS 15.1 (24B2083)
- Python: 3.11.11
- dbt-core: 1.9.1
- dbt-bigquery: 1.8.3
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 and persist_docs are being run after post_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 after apply_grants and persist_docs in general?
The text was updated successfully, but these errors were encountered:
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: