Skip to content

Commit 3f6eeed

Browse files
committed
Fix issues related to unit test
1 parent 2f552a5 commit 3f6eeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/shuffle/hash/HashShuffleReader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HashShuffleReader[K, C](
3838
val iter = BlockStoreShuffleFetcher.fetch(handle.shuffleId, startPartition, context,
3939
Serializer.getSerializer(dep.serializer))
4040

41-
val aggregatedIter = if (dep.aggregator.isDefined) {
41+
val aggregatedIter: Iterator[Product2[K, C]] = if (dep.aggregator.isDefined) {
4242
if (dep.mapSideCombine) {
4343
new InterruptibleIterator(context, dep.aggregator.get.combineCombinersByKey(iter, context))
4444
} else {

0 commit comments

Comments
 (0)