Skip to content

Remove redundant ORM result uniquing in core queries - #69913

Merged
ephraimbuddy merged 1 commit into
apache:mainfrom
astronomer:cleanup-core-orm-unique
Jul 15, 2026
Merged

Remove redundant ORM result uniquing in core queries#69913
ephraimbuddy merged 1 commit into
apache:mainfrom
astronomer:cleanup-core-orm-unique

Conversation

@ephraimbuddy

Copy link
Copy Markdown
Contributor

The affected queries select unique entities or only eager-load scalar relationships, so identity filtering adds unnecessary result processing.

The affected queries select unique entities or only eager-load scalar relationships, so identity filtering adds unnecessary result processing.

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@ephraimbuddy
ephraimbuddy merged commit 4e0f297 into apache:main Jul 15, 2026
84 checks passed
@ephraimbuddy
ephraimbuddy deleted the cleanup-core-orm-unique branch July 15, 2026 10:57
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-3-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 4e0f297 v3-3-test

This should apply the commit to the v3-3-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

pierrejeambrun added a commit that referenced this pull request Jul 15, 2026
The affected queries select unique entities or only eager-load scalar relationships, so identity filtering adds unnecessary result processing.

(cherry picked from commit 4e0f297)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
joshuabvarghese pushed a commit to joshuabvarghese/airflow that referenced this pull request Jul 16, 2026
The affected queries select unique entities or only eager-load scalar relationships, so identity filtering adds unnecessary result processing.
vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
The affected queries select unique entities or only eager-load scalar relationships, so identity filtering adds unnecessary result processing.

(cherry picked from commit 4e0f297)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-3-test Backport to v3-3-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants