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
I have searched the existing issues, and I could not find an existing issue for this bug
Which packages are affected?
dbt-adapters
dbt-tests-adapter
dbt-athena
dbt-athena-community
dbt-bigquery
dbt-spark
Current Behavior
When applying grants
if a user chooses to apply a custom grant config within a single model - the table is not ready to apply the grant to yet.
BQ has some latency for create/replace tables, causing the grant feature to not work correctly
Expected Behavior
Grants should always execute for models built by dbt.
Maybe dbt should poll the materialized model?
Steps To Reproduce
In dbt-bigquery
Add a grant config to a singular model
Run
Relevant log output
23:46:36 Database Error in model digi_price_increase_log (models/marts/stuff/logs.sql)
Access Denied: Table dbt-things:stuff.logs: Permission bigquery.tables.setIamPolicy denied on table nyt-dbt-things:stuff.logs (or it may not exist).
Environment
- OS:
- Python:
- dbt-adapters:
- <adapter>:
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Is this a new bug?
Which packages are affected?
Current Behavior
When applying grants
Expected Behavior
Grants should always execute for models built by dbt.
Maybe dbt should poll the materialized model?
Steps To Reproduce
Relevant log output
23:46:36 Database Error in model digi_price_increase_log (models/marts/stuff/logs.sql) Access Denied: Table dbt-things:stuff.logs: Permission bigquery.tables.setIamPolicy denied on table nyt-dbt-things:stuff.logs (or it may not exist).
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: