apache/airflow

skip_archive should actually skip archive in db clean command

Open

#42.003 aperta il 4 set 2024

Vedi su GitHub
 (8 commenti) (1 reazione) (0 assegnatari)Python (16.781 fork)batch import
area:db-migrationsgood first issuekind:featurekind:meta

Metriche repository

Star
 (44.809 star)
Metriche merge PR
 (Merge medio 7g 18h) (834 PR mergiate in 30 g)

Descrizione

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.

Guida contributor