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

Handle records with null logical date when downgrade db #46500

Open
1 task done
uranusjr opened this issue Feb 6, 2025 · 0 comments
Open
1 task done

Handle records with null logical date when downgrade db #46500

uranusjr opened this issue Feb 6, 2025 · 0 comments
Labels
AIP-83 Remove Execution Date Unique Constraint from DAG Run area:db-migrations PRs with DB migration
Milestone

Comments

@uranusjr
Copy link
Member

uranusjr commented Feb 6, 2025

Body

Split from #46295 (comment)

We used to have some code in upgrade and downgrade to check if the db is in a state suitable for migration
56a3987

This can be done here. Basically we can check if there are any records with null logical date, and move them to a separate table.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.
@uranusjr uranusjr added the AIP-83 Remove Execution Date Unique Constraint from DAG Run label Feb 6, 2025
@uranusjr uranusjr added this to the Airflow 3.0.0 milestone Feb 6, 2025
@dosubot dosubot bot added the area:db-migrations PRs with DB migration label Feb 6, 2025
@phanikumv phanikumv moved this to In Progress in AIP-83 amendment Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-83 Remove Execution Date Unique Constraint from DAG Run area:db-migrations PRs with DB migration
Projects
Status: In Progress
Development

No branches or pull requests

1 participant