GitHub user gatorsmile opened a pull request:

    [SPARK-23390] [SQL] Add two extra constructors for ScalaUDF

    ## What changes were proposed in this pull request?
    In the last few releases, we changed the interface of `ScalaUDF`. 
Unfortunately, some Spark packages (e.g., 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 
    > java.lang.NoSuchMethodError: 
    This PR is to improve the backward compatibility. However, we definitely 
should not encourage the external packages to use our internal classes. This 
might make us hard to maintain/develop the codes in Spark.
    ## How was this patch tested?

You can merge this pull request into a Git repository by running:

    $ git pull scalaUDF

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20591
commit 2b6be528f5a914dda2b33de269ab7b776a7766cd
Author: gatorsmile <gatorsmile@...>
Date:   2018-02-12T22:14:06Z




To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to