[CT-1217] [Bug] ConfigSelectorMethod should check for bools #5890
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
node selection
Functionality and syntax for selecting DAG nodes
Is this a new bug in dbt-core?
Current Behavior
The
ConfigSelectorMethod
only checks for string equality. If you have a config property that is boolean, there is no way to match it.Consider the example:
Then running
dbt run --select config.meta.pii:true
would not match.Expected Behavior
Running
dbt run --select config.meta.pii:true
would include the nodeSteps To Reproduce
Create a model with some metadata, e.g.
Then run
dbt run --select config.meta.pii:true
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
No response
The text was updated successfully, but these errors were encountered: