GitHub user chenghao-intel opened a pull request:
https://github.com/apache/spark/pull/3640
[SPARK-4785] [SQL] Support udf instance ser/de after initialization
UDF contract change in Hive 0.13.1. In Hive 0.12.0, it's always safe to
construct and initialize a fresh UDF object on worker side, while in Hive
0.13.1, UDF objects should only be initialized on driver side and then
serialized to the worker side. We provide the ability to serialize the
initialized UDF instance and deserialize them cross process boundary.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chenghao-intel/spark udf_serde
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3640.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 #3640
----
commit 19cbd463c60fcf408b003fa53f3a1c7d8c7cbac3
Author: Cheng Hao <[email protected]>
Date: 2014-12-09T03:46:05Z
support udf instance ser/de after initialization
----
---
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]