You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2019/10/08 23:00:00 UTC
[jira] [Created] (SPARK-29401) Replace ambiguous varargs call
parallelize(Array) with parallelize(Seq)
Sean R. Owen created SPARK-29401:
------------------------------------
Summary: 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
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org