[CT-3429] [Bug] Selectors don't apply for sources and seeds in dbt docs generate
#9161
Closed
2 tasks done
Labels
backport 1.7.latest
bug
Something isn't working
High Severity
bug with significant impact that should be resolved in a reasonable timeframe
Impact: CA
Is this a new bug in dbt-core?
Current Behavior
Following up from #9159, if there are multiple seeds or sources in a dbt project and a selector is used,
catalog.json
should only contain the seeds or sources that match selection criteria (which is currently ignored).Expected Behavior
The selection criteria above are respected.
Steps To Reproduce
my_first_seed
andmy_second_seed
to project and rundbt seed
dbt docs generate --select my_first_seed
catalog.json
to find thatmy_second_seed
is in there even though it shouldn't beRelevant log output
No response
Environment
Which database adapter are you using with dbt?
postgres
Additional Context
Acceptance Criteria:
dbt-core/tests/functional/docs/test_generate.py
Lines 90 to 100 in 201d75b
The text was updated successfully, but these errors were encountered: