You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We introduce the RoundRobinBatch partitioning to increase parallelism but then we insert the hash partitioning later for the join. It is redundant to repartition twice here, and it would be better to just preparation on the join key right away.
Note that this repartitioning is especially expensive for distributed query engines that build on top of DataFusion (Dask SQL, Ballista) because it introduces extra shuffles.
Describe the solution you'd like
Implement new rule to push hash partitioning down and replace the round robin partitioning.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered:
Actually this is an issue in DataFusion, the RoundRobinBatch partitioning and Hash partitioning are added by different rules which might causing unnecessary RoundRobinBatch partitioning.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When running benchmark q2 I see this in the plan:
We introduce the
RoundRobinBatch
partitioning to increase parallelism but then we insert the hash partitioning later for the join. It is redundant to repartition twice here, and it would be better to just preparation on the join key right away.Note that this repartitioning is especially expensive for distributed query engines that build on top of DataFusion (Dask SQL, Ballista) because it introduces extra shuffles.
Describe the solution you'd like
Implement new rule to push hash partitioning down and replace the round robin partitioning.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: