Skip to content

Handle records with null logical date when downgrade db #46500

Description

@uranusjr

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.

Activity

  1. added
    AIP-83Remove Execution Date Unique Constraint from DAG Run
    on Feb 6, 2025
  2. added this to the Airflow 3.0.0 milestone on Feb 6, 2025
  3. moved this to In Progress in AIP-83 amendmenton Feb 6, 2025
  4. moved this from In Progress to Todo in AIP-83 amendmenton Feb 10, 2025
  5. moved this from Todo to In Progress in AIP-83 amendmenton Feb 11, 2025
  6. moved this from In Progress to Done in AIP-83 amendmenton Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AIP-83Remove Execution Date Unique Constraint from DAG Runarea:db-migrationsPRs with DB migration

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions