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

feat: support include_deferred in pool sync for airflow 2.7.0 #775

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

EinavDanielDX
Copy link
Contributor

@EinavDanielDX EinavDanielDX commented Aug 27, 2023

What issues does your PR fix?

Airflow 2.7.0 added the include_deferred column to the Pool object (see apache/airflow#32709), since this column is non-nullable, we must set it.

The same as upstream, our default state for include_deferred is False, if not specified.

What does your PR do?

Add support for include_deferred to sync_pools.tpl so it will create and update pools successfully.

Checklist

For all Pull Requests

Signed-off-by: Einav Daniel <einavd@datricks.com>
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
@thesuperzapper thesuperzapper changed the title fix: add 'include_deferred' column to sync_pools script feat: support include_deferred in pool sync Aug 28, 2023
@thesuperzapper thesuperzapper added this to Unsorted in Issue Triage and PR Tracking via automation Aug 28, 2023
@thesuperzapper thesuperzapper added the status/ready-to-merge status - this will be merged into next release label Aug 28, 2023
Copy link
Member

@thesuperzapper thesuperzapper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EinavDanielDX, thanks for this!

I have fixed your implementation in a072d61, and also made it backwards compatible with older airflow versions.

This will be in the next release of the chart.

Issue Triage and PR Tracking automation moved this from Unsorted to PR | Ready to Merge Aug 28, 2023
@EinavDanielDX
Copy link
Contributor Author

Great, thanks!

@thesuperzapper thesuperzapper changed the title feat: support include_deferred in pool sync feat: support include_deferred in pool sync for airflow 2.7.0 Aug 29, 2023
@thesuperzapper thesuperzapper merged commit 696e613 into airflow-helm:main Aug 29, 2023
3 checks passed
Issue Triage and PR Tracking automation moved this from PR | Ready to Merge to Done Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ready-to-merge status - this will be merged into next release
Development

Successfully merging this pull request may close these issues.

None yet

2 participants