[ https://issues.apache.org/jira/browse/SPARK-46586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-46586. ----------------------------------- Fix Version/s: 4.0.0 Resolution: Fixed Issue resolved by pull request 44591 [https://github.com/apache/spark/pull/44591] > Support `s.c.immutable.ArraySeq` as `customCollectionCls` in `MapObjects` > ------------------------------------------------------------------------- > > Key: SPARK-46586 > URL: https://issues.apache.org/jira/browse/SPARK-46586 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 4.0.0 > Reporter: Yang Jie > Assignee: BingKun Pan > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > > {code:java} > 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))) {code} > will test failed in Spark 4.0 when using Scala 2.13 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org