Skip to content

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