We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01d1fb5 commit d1d77c5Copy full SHA for d1d77c5
composer/workflows/airflow_db_cleanup.py
@@ -109,7 +109,7 @@
109
},
110
{
111
"airflow_db_model": TaskInstance,
112
- "age_check_column": TaskInstance.execution_date
+ "age_check_column": TaskInstance.start_date
113
if AIRFLOW_VERSION < ["2", "2", "0"]
114
else TaskInstance.start_date,
115
"keep_last": False,
@@ -174,7 +174,7 @@
174
DATABASE_OBJECTS.append(
175
176
"airflow_db_model": TaskFail,
177
- "age_check_column": TaskFail.execution_date,
+ "age_check_column": TaskFail.start_date,
178
179
"keep_last_filters": None,
180
"keep_last_group_by": None,
0 commit comments