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

Hyukjin Kwon resolved SPARK-24649.
----------------------------------
    Resolution: Invalid

catalysis is considered as an internal API, and subject to change between minor 
releases.

> SparkUDF.unapply is not backwards compatable
> --------------------------------------------
>
>                 Key: SPARK-24649
>                 URL: https://issues.apache.org/jira/browse/SPARK-24649
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0, 2.3.1
>            Reporter: Simeon H.K. Fitch
>            Priority: Minor
>
> The shape of the `ScalaUDF` case class changed in 2.3.0.  A secondary 
> constructor that's backwards compatible with 2.1.x and 2.2.x was provided, 
> but a corresponding `unapply` method wasn't included. Therefore code such as 
> the following that worked in 2.1.x and 2.2.x no longer compiles:
> {code:java}
> val ScalaUDF(function, dataType, children, inputTypes, udfName) = myUDF
> {code}



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