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

Remove tuple_in_condition helpers #45201

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

uranusjr
Copy link
Member

These were introduced when not all databases support the tuple expression. Now that sqlalchemy.tuple_ is supported in all database backends Airflow officially support, they are not needed anymore.

We actually already use the tuple_ expression directly in a lot of code right now.

The not_in variant is removed outright. The in_ variant is kept for now since it was used in the standard provider. It is therefore kept for now (but not used anywhere), and will be removed in a future release.

@boring-cyborg boring-cyborg bot added area:providers area:Scheduler including HA (high availability) scheduler area:webserver Webserver related Issues provider:standard labels Dec 25, 2024
Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

Looks good

These were introduced when not all databases support the tuple
expression. Now that sqlalchemy.tuple_ is supported in all database
backends Airflow officially support, they are not needed anymore.

We actually already use the tuple_ expression directly in a lot of code
right now.

The not_in variant is removed outright. The in_ variant is kept for now
since it was used in the standard provider. It is therefore kept for now
(but not used anywhere), and will be removed in a future release.
@uranusjr uranusjr force-pushed the remove-tuple-helpers branch from 8ea1bcb to 1ecb0a1 Compare December 26, 2024 02:33
@uranusjr uranusjr merged commit 3873230 into apache:main Dec 26, 2024
66 checks passed
@uranusjr uranusjr deleted the remove-tuple-helpers branch December 26, 2024 03:04
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Jan 6, 2025
HariGS-DB pushed a commit to HariGS-DB/airflow that referenced this pull request Jan 16, 2025
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers area:Scheduler including HA (high availability) scheduler area:webserver Webserver related Issues provider:standard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants