-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Run migration test from AF2.10.5 to 3.0 #48512
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16f2d47
to
ccf6c83
Compare
c0ce8cb
to
ca40517
Compare
jedcunningham
approved these changes
Mar 31, 2025
925847b
to
87ed54f
Compare
87ed54f
to
5d4a44b
Compare
2 tasks
dstandish
reviewed
Apr 3, 2025
airflow-core/src/airflow/migrations/versions/0041_3_0_0_rename_dataset_as_asset.py
Show resolved
Hide resolved
3dbbe44
to
18db94e
Compare
Improve the testing framework to validate database migrations from Airflow 2.10.5 to 3.0, with verification in CI. This ensures smooth upgrade paths for users. Key fixes/Improvement: - Fix foreign key inconsistencies in the dataset-to-asset migration - Add support for different constraint naming patterns between ORM and migrations observed in Airflow 2 - Handle database-specific edge cases for PostgreSQL and MySQL This ensures databases can be successfully migrated regardless of whether they were initially created through ORM or migration files. closes: apache#45479
18db94e
to
6df5981
Compare
phanikumv
approved these changes
Apr 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve the testing framework to validate database migrations from
Airflow 2.10.5 to 3.0, with verification in CI. This ensures smooth
upgrade paths for users.
Key fixes/Improvement:
This ensures databases can be successfully migrated regardless of whether they
were initially created through ORM or migration files.
closes: #45479