uranusjr commented on code in PR #69879:
URL: https://github.com/apache/airflow/pull/69879#discussion_r3763805743
##########
airflow-core/src/airflow/utils/db_cleanup.py:
##########
@@ -154,11 +163,12 @@ def readable_config(self):
table_name="dag_run",
recency_column_name="start_date",
dag_id_column_name="dag_id",
- extra_columns=["dag_id", "run_type"],
+ extra_columns=["dag_id", "run_type", "created_at"],
Review Comment:
Since created_at was only added in 3.2.0, we probably need more columns for
this. Otherwise the oldest dag runs will never be able to be selected by the
query, which is the opposite of what we want.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]