-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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-2536] [Feature] Enable indirect_selection
as a global config
#7518
Comments
Thanks for reaching out @otttt ! Did you already try setting the |
If you are using YAML selectors, you can also do something like this: selectors:
- name: nodes_to_joy
definition:
method: tag
value: nightly
parents: true
indirect_selection: cautious |
Looking into DBT_INDIRECT_SELECTION environment variable. I am already using |
Awesome! Let us know how it goes. |
I would actually also appreciate this being a global-config! We use Dagster to orchestrate our dbt jobs which makes it difficult to supply the CLI argument. We could try and define some YAML selectors but being able to have it as a global config would certainly make everything so much simpler. It was suggested in this slack thread to raise an issue as it seems making the parameter a global config had already been discussed. |
indirect_selection
as a global config
Upvoting this! We've had a number of issues with tests being run out of order, and failing because the downstream asset is not even materialized when a test referencing it is run. And because of the orchestration environment we use, we can't really use YAML selectors. |
Tried global environment variable by defining Only option right now working for me is defining |
Yeah I even tried to define it in the |
@josh-acuitymd and @samkorn-acuitymd which of the following are you able to use with Dagster and which are you not able?
Note that the first one uses |
@dbeatty10 I can try and reach out to the Dagster team to see if this can be modified but as far as I know Dagster only runs As @otttt mentioned, I'm not sure dbt is picking up the |
@josh-acuitymd Sounds good -- please let us know what you hear back from the Dagster team. In terms of export DBT_INDIRECT_SELECTION=buildable
echo $DBT_INDIRECT_SELECTION
dbt ls --select model_b |
🤦♂️. After upgrading to 1.5.0 the |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
Is this your first time submitting a feature request?
Describe the feature
By default indirect-selection is eager. Aim is to define in on project level as cautious or buildable to reduce code in selectors.
Describe alternatives you've considered
Right now my solution is to define it separately in every selector as cautious.
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: