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

Xiao Li updated SPARK-23400:
----------------------------
    Description: 
The last few releases, we changed the interface of ScalaUDF. Unfortunately, 
some Spark Package (spark-deep-learning) are using our internal class 
`ScalaUDF`. In the release 2.3, we added new parameters into these class. The 
users hit the binary compatibility issues and got the exception:

> java.lang.NoSuchMethodError: 
> org.apache.spark.sql.catalyst.expressions.ScalaUDF.<init>(Ljava/lang/Object;Lorg/apache/spark/sql/types/DataType;Lscala/collection/Seq;Lscala/collection/Seq;Lscala/Option;)V


  was:
The last few releases, we changed the interface of ScalaUDF. Unfortunately, 
some Spark Package (spark-deep-learning) are using our internal class 
`ScalaUDF`. In the release 2.2 and 2.3, we added new parameters into these 
class. The users hit the binary compatibility issues and got the exception:

> java.lang.NoSuchMethodError: 
> org.apache.spark.sql.catalyst.expressions.ScalaUDF.<init>(Ljava/lang/Object;Lorg/apache/spark/sql/types/DataType;Lscala/collection/Seq;Lscala/collection/Seq;Lscala/Option;)V



> Add the extra constructors for ScalaUDF
> ---------------------------------------
>
>                 Key: SPARK-23400
>                 URL: https://issues.apache.org/jira/browse/SPARK-23400
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Major
>
> The last few releases, we changed the interface of ScalaUDF. Unfortunately, 
> some Spark Package (spark-deep-learning) are using our internal class 
> `ScalaUDF`. In the release 2.3, we added new parameters into these class. The 
> users hit the binary compatibility issues and got the exception:
> > java.lang.NoSuchMethodError: 
> > org.apache.spark.sql.catalyst.expressions.ScalaUDF.<init>(Ljava/lang/Object;Lorg/apache/spark/sql/types/DataType;Lscala/collection/Seq;Lscala/collection/Seq;Lscala/Option;)V



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to