jedcunningham commented on code in PR #51952:
URL: https://github.com/apache/airflow/pull/51952#discussion_r2164571242


##########
airflow-core/src/airflow/utils/db_cleanup.py:
##########
@@ -491,7 +547,9 @@ def run_cleanup(
     if not dry_run and confirm:
         _confirm_delete(date=clean_before_timestamp, 
tables=sorted(effective_table_names))
     existing_tables = reflect_tables(tables=None, session=session).tables
-    for table_name, table_config in effective_config_dict.items():
+
+    for table_name in effective_table_names:
+        table_config = effective_config_dict[table_name]

Review Comment:
   Pushed a change that keeps the right order - that's why it got changed in 
the first place.



-- 
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]

Reply via email to