Is this a new bug in dbt-core?
Current Behavior
See the error message mentioned in #11776:
Compilation Error
dbt found two relations in your warehouse with similar database identifiers. dbt
is unable to determine which of these relations was created by the model "source.dbt_pipeline.raw_dcrm.subject".
In order for dbt to correctly generate the catalog, one of the following relations must be deleted or renamed:
- raw_dcrm.Subject
- raw_dcrm.subject
But these are sources not models! So the message should be something like this instead (which is specific to sources):
dbt is unable to determine which of these relations is associated with the source "source.dbt_pipeline.raw_dcrm.subject"
or this (if we want something generic that can apply to models, sources, seeds, and snapshots):
dbt is unable to determine which of these relations is associated with the node "source.dbt_pipeline.raw_dcrm.subject"
Expected Behavior
See above.
Steps To Reproduce
See #11776
Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
Is this a new bug in dbt-core?
Current Behavior
See the error message mentioned in #11776:
But these are sources not models! So the message should be something like this instead (which is specific to sources):
or this (if we want something generic that can apply to models, sources, seeds, and snapshots):
Expected Behavior
See above.
Steps To Reproduce
See #11776
Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response