[ https://issues.apache.org/jira/browse/SPARK-29401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-29401. ----------------------------------- Fix Version/s: 3.0.0 Resolution: Fixed Issue resolved by pull request 26062 [https://github.com/apache/spark/pull/26062] > Replace ambiguous varargs call parallelize(Array) with parallelize(Seq) > ----------------------------------------------------------------------- > > Key: SPARK-29401 > URL: https://issues.apache.org/jira/browse/SPARK-29401 > Project: Spark > Issue Type: Sub-task > Components: ML, Spark Core > Affects Versions: 3.0.0 > Reporter: Sean R. Owen > Assignee: Sean R. Owen > Priority: Minor > Fix For: 3.0.0 > > > Another general class of Scala 2.13 compile errors: > {code} > [ERROR] [Error] > /Users/seanowen/Documents/spark_2.13/core/src/test/scala/org/apache/spark/ShuffleSuite.scala:47: > overloaded method value apply with alternatives: > (x: Unit,xs: Unit*)Array[Unit] <and> > (x: Double,xs: Double*)Array[Double] <and> > (x: Float,xs: Float*)Array[Float] <and> > (x: Long,xs: Long*)Array[Long] <and> > (x: Int,xs: Int*)Array[Int] <and> > (x: Char,xs: Char*)Array[Char] <and> > (x: Short,xs: Short*)Array[Short] <and> > (x: Byte,xs: Byte*)Array[Byte] <and> > (x: Boolean,xs: Boolean*)Array[Boolean] > cannot be applied to ((Int, Int), (Int, Int), (Int, Int), (Int, Int)) > {code} > All of these (almost all?) are from calls to {{SparkContext.parallelize}} > with an Array of tuples. We can replace them with Seqs, which seems to work. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org