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
Compilation Error
dbt found two models with the name "MY_MODEL".
Since these resources have the same name, dbt will be unable to find the correct resource
when looking for ref("MY_MODEL").
To fix this, change the name of one of these resources:
- model.MY_TRINO_PROJECT.MY_MODEL (models/marts/MY_DATASET/target/compiled/MY_TRINO_PROJECT/models/marts/MY_DATASET/MY_MODEL.sql)
- model.MY_TRINO_PROJECT.MY_MODEL (models/marts/MY_DATASET/MY_MODEL.sql)
Steps To Reproduce
Run a model inside the dataset folder, not the project folder.
⚠️ This doesn't happen in my BigQuery project using a similar dbt_project.yml file.
❯ pip show dbt-trino
Name: dbt-trino
Version: 1.5.0
❯ pip show dbt-bigquery
Name: dbt-bigquery
Version: 1.5.1
Log output/Screenshots
No response
Operating System
macOS Ventura 13.4
dbt version
1.5.0
Trino Server version
1.5.0
Python version
3.7.13
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Expected behavior
I run:
in my trino project. I should get:
Actual behavior
I run:
in my trino project. I should get:
Steps To Reproduce
Run a model inside the dataset folder, not the project folder.
dbt_project.yml
file.Log output/Screenshots
No response
Operating System
macOS Ventura 13.4
dbt version
1.5.0
Trino Server version
1.5.0
Python version
3.7.13
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: