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
minhajpasha
changed the title
[Bug] authorized view issue when the model is using alias
[Bug] authorized view issue when the model is using alias(dbt-bigquery)
Mar 21, 2025
Is this a new bug?
Which packages are affected?
Current Behavior
In my dbt project i have two models views
{{
config(
materialized='view',
authorized_view=true
)
}}
customer_view is getting created and authorized under the datasets is getting assigned correctly with customer_view entry
{{
config(
materialized='view',
alias='customer_view',
authorized_view=true
)
}}
customer_view is getting created and authorized under the dataset is getting assigned with customer_bs_view entry instead of customer_view
Refernce Issues:
dbt-labs/dbt-bigquery#267
dbt-labs/dbt-bigquery#87
Expected Behavior
The Access entry should be created with alias name (customer_view) instead of model name(customer_bs_view)
Steps To Reproduce
16:30:27 Running with dbt=1.8.7
16:30:27 dbt version: 1.8.7
16:30:27 python version: 3.12.5
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: