Skip to content

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

@thesuperzapper thesuperzapper added this to the airflow-8.7.2 milestone Aug 28, 2023
@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 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.

@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
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

Projects

Development

Successfully merging this pull request may close these issues.

2 participants