A BigQuery project has a staging model stg_accounts and a mart model fct_accounts. The mart currently queries analytics_dev.stg_accounts directly. What is the best change before promoting to production?
Explanation
ref() resolves the correct relation per target and records DAG dependencies. Hard-coding a development schema is brittle and source freshness does not connect dbt models.