You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "gene-bordegaray (via GitHub)" <gi...@apache.org> on 2026/05/20 17:37:27 UTC
[I] Implement Range Repartitioning [datafusion]
gene-bordegaray opened a new issue, #22397:
URL: https://github.com/apache/datafusion/issues/22397
### Is your feature request related to a problem or challenge?
`RepartitionExec` rejects `Partitioning::Range`, so we cannot repartition rows into this layout.
### Describe the solution you'd like
Add support for range repartitioning in `RepartitionExec`.
The implementation should:
- Route rows to output partitions via range partitioning
- Support single-key and compound-key range partitioning
- Keep hash repartitioning as a fallback when range repartitioning is not requested / be applied.
### Describe alternatives you've considered
Continue to use hash repartitioning as the only repartitioning. It is a good fallback, but it doesn't preserve / create range partitioning when a plan would benefit from a range-partitioned layout.
### Additional context
Context: #21992
Current code locations:
- `datafusion/physical-plan/src/repartition/mod.rs`
- range execution is not implemented in `BatchPartitioner`
- changing partition counts with range partitioning is not implemented
- execution path rejects range partitioning
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Implement Range Repartitioning [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #22397:
URL: https://github.com/apache/datafusion/issues/22397#issuecomment-4593202898
I think this is now covered by https://github.com/apache/datafusion/issues/22395 so this ticket is dupe. Closing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Implement Range Repartitioning [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #22397: Implement Range Repartitioning
URL: https://github.com/apache/datafusion/issues/22397
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org