-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Airflow db cleanup dag update #8851
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
Airflow db cleanup dag update #8851
Conversation
No region tags are edited in this PR.This comment is generated by snippet-bot.
|
18c88fb to
0201d43
Compare
|
Just to double check, we're no longer supporting the Airflow 1 version of this DAG and it's been removed from the docs too? |
We are supporting it, but now script in composer/workflows/airflow_db_cleanup.py works both for Airflow 1 and 2, so I feel like there is no need for script for Airflow 1 only, however I was not sure about it, so if you think differently, I'll create separate for Airflow 1 and 2. |
eedf8e4 to
8aad464
Compare
|
Requesting changes in addition to what Eugene pointed out |
e350601 to
a6e359c
Compare
abaa0e5 to
a300410
Compare
kosteev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: redundant brackets (len("+composer")) -> len("+composer")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo in "processf"
a300410 to
9ce7432
Compare
|
I am admin merging because there have not been changes that would break lint since the last successful run, and we seem to be having kokoro problems |
* Fix and adjust to Airflow 2.3 db cleanup DAG * Remove cleanup Task and TaskSet tables * removing duplicated airflow_1 file + some minor fixes * fix lint errors * small fix * small fix in deletion * separate dag logic between airflow versions * move session closing to finally part * lint fixes * import order fix Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Description
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist