Skip to content

Commit

Permalink
More comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanyuanking committed Aug 19, 2019
1 parent 1256c87 commit 398a891
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ object ShuffleExchangeExec {
prefixComparator,
prefixComputer,
pageSize,
// As we need to compare the binary of UnsafeRow here, we can't make sure whether all
// the fields can sort fully with prefix like SortExec. So we disable radix sort here
// to avoid getting unstable sort, and result to a correctness bug.
// See more details in SPARK-28699.
false /* canUseRadixSort */)
sorter.sort(iter.asInstanceOf[Iterator[UnsafeRow]])
}
Expand Down

0 comments on commit 398a891

Please sign in to comment.