-
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
Source freshness task node selection and cli command parity #3554
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I like the added test cases. I think it could use more comments specifically around describing how each function fits in to the bigger picture and exactly what the goal of each test case is. Otherwise lgtm.
@@ -137,11 +137,10 @@ def raise_on_first_error(self): | |||
return False | |||
|
|||
def get_selection_spec(self) -> SelectionSpec: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of non-obvious what's happening here. A comment could be useful.
d0512eb
to
ebb5720
Compare
ebb5720
to
56b1436
Compare
* cli: add selection args for source freshness command * rename command to `source freshness` and maintain alias to old command * update and add tests for source freshness command and node selection * update changelog, add comments * fix formatting * update changelog automatic commit by git-black, original commits: 3dd486d
resolves #2987
Description
--select
,--exclude
,--selector
)dbt source freshness --select raw_payments
->dbt source freshness --select source:raw_payments
source freshness
source snapshot-freshness
via cli and rpcNote: There is no deprecation warning for using the old command name, it wasn't as simple as I initially thought (#3565)
Checklist
CHANGELOG.md
and added information about my change to the "dbt next" section.