We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a170d commit becc49cCopy full SHA for becc49c
mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala
@@ -1474,6 +1474,7 @@ private[spark] object SerDe extends Serializable {
1474
1475
def dumps(obj: AnyRef): Array[Byte] = {
1476
obj match {
1477
+ // Pickler in Python side cannot deserialize Scala Array normally. See SPARK-12780.
1478
case array: Array[_] => new Pickler().dumps(array.toSeq.asJava)
1479
case _ => new Pickler().dumps(obj)
1480
}
0 commit comments