-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Closed
Labels
kind:featureFeature RequestsFeature Requests
Description
Description
Trigger rule for always.
Use case / motivation
This comes in handy when there is a need to clean up resources at the end of the DAG run no matter whether it fails or succeeds.
For example:
allocate >> a >> b >> c >> d >> cleanup
The biggest issue is that if an error occurs before d, cleanup will never get executed.
Example use case is using BigQuery's Reservation API. We want to reserve slots at the beginning of the run and deallocate at the end. Not deallocating would mean a rampant bill at the end of the month.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind:featureFeature RequestsFeature Requests