apache/airflow

skip_archive should actually skip archive in db clean command

Open

#42.003 aberto em 4 de set. de 2024

Ver no GitHub
 (8 comments) (1 reaction) (0 assignees)Python (16.781 forks)batch import
area:db-migrationsgood first issuekind:featurekind:meta

Métricas do repositório

Stars
 (44.809 stars)
Métricas de merge de PR
 (Mesclagem média 7d 18h) (834 fundiu PRs em 30d)

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.

Guia do colaborador