GitHub user srowen opened a pull request:

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

     [WIP][SPARK-25044][SQL] (take 2) Address translation of LMF closure 
primitive args to Object in Scala 2.12

    ## What changes were proposed in this pull request?
    
    Alternative take on https://github.com/apache/spark/pull/22063 that does 
not introduce udfInternal.
    Resolve issue with inferring func types in 2.12 by instead using info 
captured when UDF is registered -- capturing which types are nullable (i.e. not 
primitive)
    
    ## How was this patch tested?
    
    Existing tests.


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

    $ git pull https://github.com/srowen/spark SPARK-25044.2

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

    https://github.com/apache/spark/pull/22259.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 #22259
    
----
commit d99cfa6c8788d782840dae140c15047af924b3a0
Author: Sean Owen <sean.owen@...>
Date:   2018-08-28T14:22:33Z

    Update UDF support to handle nullability correctly in Scala 2.12

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to