GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/13717
[SPARK-15811] [SQL] fix the Python UDF in Scala 2.10
## What changes were proposed in this pull request?
Iterator can't be serialized in Scala 2.10, we should force it into a array
to make sure that .
## How was this patch tested?
Build with Scala 2.10 and ran all the Python unit tests manually (will be
covered by a jenkins build).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark fix_udf_210
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13717.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 #13717
----
commit db65be567e8daeec7ee1323141629ed2c5ac0ce8
Author: Davies Liu <[email protected]>
Date: 2016-06-16T19:07:51Z
fix the Python UDF in Scala 2.10
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]