Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve order for root for SINGLE distribution only
We need to set preserveOrderWithinPartition flag only if root stage of plan requires total ordering. The need of total ordering implies that SINGLE distribution will be used for root stage. Note there still can be cases when SINGLE distribution is used but we do not really need to preserve order. Improving on that is a followup work as it requires annotating plan with information if output ordering is required or not.
- Loading branch information