-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CT-3290] [Bug] Using --inline should exclude selectors.yml defaults #8943
Labels
backport 1.8.latest
bug
Something isn't working
Impact: Exp
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
Comments
github-actions
bot
changed the title
[Bug] Using --inline should exclude selectors.yml defaults
[CT-3290] [Bug] Using --inline should exclude selectors.yml defaults
Oct 30, 2023
graciegoheen
added
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
High Severity
bug with significant impact that should be resolved in a reasonable timeframe
Impact: Exp
and removed
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
High Severity
bug with significant impact that should be resolved in a reasonable timeframe
labels
Nov 21, 2023
Notes from estimation:
|
This error also surfaces if you pass in both
|
Another related bug #9269 -> dbt core should disregard selection / selectors altogether when running in inline mode during "interactive compile" and dbt show. |
This was referenced Jun 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport 1.8.latest
bug
Something isn't working
Impact: Exp
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
Is this a new bug in dbt-core?
Current Behavior
If a default selector is defined in
selectors.yml
, that selector will still applied when the--inline
flag is used withshow
orcompile
.See slack thread for additional context
Expected Behavior
dbt show --inline ...
we expect default selectors to be ignored--inline
and--select
mutually exclusive fordbt show
(do this at the click level)Steps To Reproduce
selectors.yml
:dbt compile --inline 'select 1'
Relevant log output
(dbt-core-1.6-local) racheldaniel:jaffle_shop/ (master✗) $ dbt compile --inline 'select 1' [14:22:20] 19:22:26 Running with dbt=1.6.6 19:22:26 Registered adapter: postgres=1.6.6 19:22:26 Found 10 models, 3 seeds, 1 operation, 18 tests, 0 sources, 0 exposures, 0 metrics, 661 macros, 1 group, 0 semantic models 19:22:26 Using default selector test_selector 19:22:26 19:22:26 Nothing to do. Try checking your model configs and model specification args
Environment
Which database adapter are you using with dbt?
postgres
Additional Context
See #9269 (comment) for several specific cases where
--inline
doesn't work as desired.The text was updated successfully, but these errors were encountered: