Closed saurasingh closed 12 months ago
Looks like my PR here would fix this as well
Thanks for working on it @ernestoongaro. Do you have a steps on how did you contribute to the repo? I was strugling to setup in locally.
Think this is now resolved! Let me know if 4.6.0 doesn't fix this for you @saurasingh
@NiallRees For the two models in the subject, we need to alias tables like
daily_rates
, 'stg_usage_in_currency_daily',stg_metering_history
,stg_serverless_task_history
, andstg_metering_daily_history
. As the dbt CI adds the schema name as the prefix to the table name. Referencing columns from these tables breaks the object definition as they defer in the names, having an alias name should fix this.Please refer to the screenshots:
Tried creating PR to fix this by myself but was not able to commit changes.