How to wait for any deep dependency in progress? #26539
Unanswered
PascalStehling
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi :)
The state of the Assets:
There is an Multi Asset which creates two source assets. These two source assets are quite big and take a while to get be processed by the IoManager. As the IoManager works sequentially, one after the other Asset is materialized.
There is now a small chain of processing of each of these Assets. At the end they get merged together again. This merging is quite compute intensive.
The problem:
As the source assets finish one after the other dagsters auto-materialization starts a processing chain for the first source asset, including the merging step. Shortly after that it starts a second chain for the second source asset, also including the merging asset.
The Question:
is it possible to configure the AutomationCondition in a way, that the merging Asset is run only once, by checking not just the direct parent but checking the whole chain recursively? Or that instead of two Automaterilization runs being created, only one is created when the latest asset is finished?
Example Code:
Just put the code in a file an run
dagster dev -f FILENAME.py
. Remember to activate the AutomationConditionSensor.Beta Was this translation helpful? Give feedback.
All reactions