GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/22063
[SPARK-25044][SQL] Address translation of LMF closure primitive args to
Object in Scala 2.12
## What changes were proposed in this pull request?
First attempt to 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
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22063.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 #22063
----
commit 0242218cdd512cc6e23a96621852fd3e019b7fc3
Author: Sean Owen <srowen@...>
Date: 2018-08-10T01:56:54Z
First attempt to 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)
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]