-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
fix typo in dag_schedule_dataset_alias_reference migration file #43314
Conversation
Static checks fail for some reason |
bd3f3b1
to
4cbf70d
Compare
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.
Hmm not so sure about just renaming constraints. What about folks who are already on this version?
These reflect how the actual model is defined. As no feature is expected to be added to this version, I think these columns won't change in the future either. |
Yep. Agree with @kaxil. That should be a separate migration. Also the original cahnge in main should be reverted and re-applied after that because people will go eventually 2.x -> 2.11 -> 3.x and things will break for them. |
4cbf70d
to
e181cb0
Compare
Got it. makes sense. I will create a fix pr to the main as well |
e181cb0
to
836d590
Compare
836d590
to
915c398
Compare
airflow/migrations/versions/0152_2_10_3_fix_dag_schedule_dataset_alias_reference_naming.py
Outdated
Show resolved
Hide resolved
915c398
to
45fc2e8
Compare
airflow/migrations/versions/0152_2_10_3_fix_dag_schedule_dataset_alias_reference_naming.py
Outdated
Show resolved
Hide resolved
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.
added 1 comment for downgrade but lgtm otherwise
https://github.com/apache/airflow/pull/43314/files#r1816982650
45fc2e8
to
062f65e
Compare
Also I guess it should be back-ported ? |
062f65e
to
a31600d
Compare
This is for 2.10.x, but I guess what you mean is for main and yes, the PR is here #43373 |
backport https://github.com/apache/airflow/pull/43245/files#diff-465bfca34e4030692c541248495b5abfe4deea606db126241dade041746fbd60
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.