Skip to content

Simplify RTIF.delete_old_records()#26667

Merged
jedcunningham merged 1 commit intoapache:mainfrom
astronomer:remove-sqlalchemy-subquery-in-warning
Sep 26, 2022
Merged

Simplify RTIF.delete_old_records()#26667
jedcunningham merged 1 commit intoapache:mainfrom
astronomer:remove-sqlalchemy-subquery-in-warning

Conversation

@uranusjr
Copy link
Member

Close #26548. I was looking into that warning and realised that the entire MySQL special-case is not relevant anymore and we can simplify this a lot.

@uranusjr uranusjr force-pushed the remove-sqlalchemy-subquery-in-warning branch from bac477d to d6f14b6 Compare September 26, 2022 09:45
A lot of the codes and comments are actually not relevant since we've
removed the funky execution_date based filtering in 2.3, and we can
simply the implementation quite a bit now.
@uranusjr uranusjr force-pushed the remove-sqlalchemy-subquery-in-warning branch from d6f14b6 to 55619a0 Compare September 26, 2022 10:23
@jedcunningham jedcunningham merged commit 0e79dd0 into apache:main Sep 26, 2022
@jedcunningham jedcunningham deleted the remove-sqlalchemy-subquery-in-warning branch September 26, 2022 13:49
@ephraimbuddy ephraimbuddy added this to the Airflow 2.4.2 milestone Oct 18, 2022
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 18, 2022
ephraimbuddy pushed a commit that referenced this pull request Oct 18, 2022
A lot of the codes and comments are actually not relevant since we've
removed the funky execution_date based filtering in 2.3, and we can
simply the implementation quite a bit now.

(cherry picked from commit 0e79dd0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve warning about renderedtifields query

3 participants