ephraimbuddy commented on code in PR #29058: URL: https://github.com/apache/airflow/pull/29058#discussion_r1084591088
########## airflow/utils/db_cleanup.py: ########## @@ -123,7 +126,15 @@ def _check_for_rows(*, query: Query, print_rows=False): return num_entities -def _do_delete(*, query, orm_model, skip_archive, session): +def _to_csv(*, target_table, file_path, session): + with open(file_path, "w") as f: Review Comment: I don't think there would be a case of overwriting since the files are based on timestamps. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org