apache/airflow

skip_archive should actually skip archive in db clean command

Open

#42,003 opened on 2024年9月4日

GitHub で見る
 (8 comments) (1 reaction) (0 assignees)Python (16,781 forks)batch import
area:db-migrationsgood first issuekind:featurekind:meta

Repository metrics

Stars
 (44,809 stars)
PR merge metrics
 (平均マージ 7d 18h) (30d で 834 merged PRs)

説明

Body

Currently the delete process uses the archive table in the process of deletion. But we should refactor this so it doesn't need this and actually not create the archive table at all when user specifies this option.

The issue is when you are deleting a lot of rows, particularly if you have a low statement timeout, you may hit errors.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

コントリビューターガイド