[Bug] Seed properties .yml files compile twice and clash when seed directory is under model directory #10064
Closed
2 tasks done
Labels
bug
Something isn't working
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
stale
Issues that have gone stale
Is this a new bug in dbt-core?
Current Behavior
When specifying seed properties via a .yml file and the seed-paths directory is under the model-paths directory, the .yml file will be compiled twice and dbt will error out with "dbt found two schema.yml entries for the same resource" against the same file, even though there is no actual duplication. This doesn't happen if the seed is defined solely by csv; i.e. the yml file is absent.
Expected Behavior
Nesting seeds under the model directory is a supported use case per the docs, so I would expect the model parsing phase to detect the duplication and omit the seed a second time.
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: