Closed
Description
When data is partitioned by an expression from a table source or an intermediate hash repartion (from joins), and the expression is the same, we should remove the repartion.
This can be added as an optimization rule on the physical plan, as the partitioning information is not available on the logical plan.