GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/23275

    [SPARK-26323][SQL] Scala UDF should still check input types even if some 
inputs are of type Any

    ## What changes were proposed in this pull request?
    
    For Scala UDF, when checking input nullability, we will skip inputs with 
type `Any`, and only check the inputs that provide nullability info.
    
    We should do the same for checking input types.
    
    ## How was this patch tested?
    
    new tests

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

    $ git pull https://github.com/cloud-fan/spark udf

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

    https://github.com/apache/spark/pull/23275.patch

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

    This closes #23275
    
----
commit 8582607195f12a4c133fb28b59e8a7fce7a97fbb
Author: Wenchen Fan <wenchen@...>
Date:   2018-12-10T13:00:17Z

    Scala UDF should still check input types even if some inputs are of type Any

----


---

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

Reply via email to