apache/airflow

skip_archive should actually skip archive in db clean command

Open

#42 003 ouverte le 4 sept. 2024

Voir sur GitHub
 (8 commentaires) (1 réaction) (0 assignés)Python (16 781 forks)batch import
area:db-migrationsgood first issuekind:featurekind:meta

Métriques du dépôt

Stars
 (44 809 stars)
Métriques de merge PR
 (Merge moyen 7j 18h) (834 PRs mergées en 30 j)

Description

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.

Guide contributeur