[ 
https://issues.apache.org/jira/browse/SPARK-33024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-33024:
------------------------------------

    Assignee: Apache Spark

> Fix CodeGen fallback issue of UDFSuite in Scala 2.13
> ----------------------------------------------------
>
>                 Key: SPARK-33024
>                 URL: https://issues.apache.org/jira/browse/SPARK-33024
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yang Jie
>            Assignee: Apache Spark
>            Priority: Major
>
> After SPARK-32851 set `CODEGEN_FACTORY_MODE` to `CODEGEN_ONLY` in 
> SharedSparkSessionBase of sparkConf to construction SparkSession in Test,
> The test suite `SPARK-32459: UDF should not fail on WrappedArray` in 
> s.sql.UDFSuite exposed a codegen fallback issue in Scala 2.13 as follow:
> {code:java}
> - SPARK-32459: UDF should not fail on WrappedArray *** FAILED ***
> Caused by: org.codehaus.commons.compiler.CompileException: File 
> 'generated.java', Line 47, Column 99: failed to compile: 
> org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 
> 47, Column 99: No applicable constructor/method found for zero actual 
> parameters; candidates are: "public scala.collection.mutable.Builder 
> scala.collection.mutable.ArraySeq$.newBuilder(java.lang.Object)", "public 
> scala.collection.mutable.Builder 
> scala.collection.mutable.ArraySeq$.newBuilder(scala.reflect.ClassTag)", 
> "public abstract scala.collection.mutable.Builder 
> scala.collection.EvidenceIterableFactory.newBuilder(java.lang.Object)"
> {code}



--
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

Reply via email to