Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
val myUdf = udf((a: immutable.ArraySeq[Int]) => immutable.ArraySeq.unsafeWrapArray[Int](Array(a.head + 99))) checkAnswer(Seq(Array(1)) .toDF("col") .select(myUdf(Column("col"))), Row(ArrayBuffer(100)))
will test failed in Spark 4.0 when using Scala 2.13