Skip to content

Commit

Permalink
fix wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengchenyu committed Dec 27, 2023
1 parent 88fd811 commit 52464e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ private[spark] class BlockStoreShuffleReader[K, C](
aggregated = true
if (dep.mapSideCombine) {
new ExternalSorter[K, C, C](context,
dep.aggregator.asInstanceOf[Option[Aggregator[K, C, C]]],
Option(new Aggregator[K, C, C](identity,
dep.aggregator.get.mergeCombiners,
dep.aggregator.get.mergeCombiners)),
ordering = Some(keyOrd), serializer = dep.serializer)
} else {
new ExternalSorter[K, Nothing, C](context,
Expand Down

0 comments on commit 52464e1

Please sign in to comment.