-
Notifications
You must be signed in to change notification settings - Fork 18k
Support deferral mode for TriggerDagRunOperator with Task SDK #47949
Copy link
Copy link
Closed
Labels
area:async-operatorsAIP-40: Deferrable ("Async") OperatorsAIP-40: Deferrable ("Async") Operatorsarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDKarea:task-sdkpriority:highHigh priority bug that should be patched quickly but does not require immediate new releaseHigh priority bug that should be patched quickly but does not require immediate new release
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
area:async-operatorsAIP-40: Deferrable ("Async") OperatorsAIP-40: Deferrable ("Async") Operatorsarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDKarea:task-sdkpriority:highHigh priority bug that should be patched quickly but does not require immediate new releaseHigh priority bug that should be patched quickly but does not require immediate new release
Type
Projects
- StatusShow more project fieldsDone
Follow-up of #47882 . In that PR
TriggerDagRunOperatorwas ported to work with the Task SDK.airflow/providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py
Line 236 in c7a0681
However, the
deferralmode needs access to the DB, which we should port over.and add similar logic to Airflow 2
airflow/providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py
Lines 276 to 287 in c7a0681
at
airflow/providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py
Lines 307 to 334 in c7a0681