Skip to content

Commit 39b1bba

Browse files
committed
removed toSeq
1 parent 0915e23 commit 39b1bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/stat/FrequentItems.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private[sql] object FrequentItems extends Logging {
5454
* @param other The map containing the counts for that partition
5555
*/
5656
def merge(other: FreqItemCounter): this.type = {
57-
other.baseMap.toSeq.foreach { case (k, v) =>
57+
other.baseMap.foreach { case (k, v) =>
5858
add(k, v)
5959
}
6060
this

0 commit comments

Comments
 (0)