Skip to content

feat: complete range repartition physical planning#23617

Open
saadtajwar wants to merge 6 commits into
apache:mainfrom
saadtajwar:saadtajwar/finish-range-repartition-physical-plan
Open

feat: complete range repartition physical planning#23617
saadtajwar wants to merge 6 commits into
apache:mainfrom
saadtajwar:saadtajwar/finish-range-repartition-physical-plan

Conversation

@saadtajwar

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

After #23231 was merged in for supporting physical execution of the range repartitioning scheme, we still had a few methods on physical planning unimplemented, specifically try_swapping_with_projection, try_pushdown_sort, repartitioned - this PR finishes the implementation of those methods

What changes are included in this PR?

  • try_swapping_with_projection: similar to the Hash scheme, for Range we call update_expr for each of the range key expressions to attempt rewriting based on the projection expressions
  • try_pushdown_sort: same as other variants, we delegate to the child and wrap with a new RepartitionExec
  • repartitioned: unable to support for Range, left comment in codebase with explanation

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jul 15, 2026
@saadtajwar saadtajwar marked this pull request as ready for review July 15, 2026 16:15
@saadtajwar

Copy link
Copy Markdown
Contributor Author

cc @gene-bordegaray & @gabotechs ! Thanks in advance for any feedback! 😁 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete physical execution planning of range partitioning

1 participant