Skip to content
Prev Previous commit
Next Next commit
Back out unintentional change.
  • Loading branch information
JoshRosen committed Jul 15, 2015
commit 5eb7222a2a8e4654064bc43facdadefc7e527281
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ case class Exchange(
val rdd = if (needToCopyObjectsBeforeShuffle(part, serializer)) {
child.execute().mapPartitions { iter =>
val hashExpressions = newMutableProjection(expressions, child.output)()
iter.map(r => (hashExpressions(r).copy, r.copy()))
iter.map(r => (hashExpressions(r).copy(), r.copy()))
}
} else {
child.execute().mapPartitions { iter =>
Expand Down