You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe we should switch current selector to tokenization/grammar preprocessor and AST-based logic? I'm thinking about providing a formal grammar for node selection syntax and work around processing the tree of operations instead of mixing selection logic/tokenization etc. Then just apply it to nodes or tests with different semantics. At the top are tools like lex and yacc.
hey @Raalsky - cool idea! I think it could be sensible to use a proper parser in the future, but in general, I don't think the use-case requires it. The command line is a constrained programming environment, and it's probably not an ideal place to define deeply nested sets of selectors.
I'm happy to keep this in mind for the future -- maybe something like this would make more sense if we added new operators with complex precedence/associativity rules in the future?
Describe the feature
Per the discussion in #2203, we should split the current test selection into parts:
This solution must account for ephemeral nodes!
This will be the basis for a few interesting future changes:
dbt run+test
Describe alternatives you've considered
We can try to bolt those onto our existing framework.
We can avoid changing how node selection works.
Additional context
Not database specific
Who will this benefit?
This is mostly useful for whoever ends up implementing the dependent features.
The text was updated successfully, but these errors were encountered: