Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new arguments to db_clean to explicitly include or exclude DAGs #46876

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mattusifer
Copy link
Contributor

@mattusifer mattusifer commented Feb 18, 2025

closes: #24828

This PR adds two new arguments to db_clean:

  • dag_ids: Only remove rows related to the given DAG ids
  • exclude_dag_ids: Only remove rows NOT related to the given DAG ids

Thanks to @davidkl97 for starting this work in this PR: #25005


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support dag level db cleanup on airflow cli
1 participant