GitHub user rdblue opened a pull request:
https://github.com/apache/spark/pull/15847
SPARK-18368: Add serialization to checkEvaluation.
## What changes were proposed in this pull request?
This removes the serialization test from RegexpExpressionsSuite and
replaces it by serializing all expressions in checkEvaluation.
This also fixes math constant expressions by making LeafMathExpression
Serializable and fixes NumberFormat values that are null or invalid
after serialization.
## How was this patch tested?
This patch is to tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rdblue/spark
SPARK-18387-fix-serializable-expressions
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15847.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 #15847
----
commit 8e829ae87b197de2ff4b8777202a47d5f1204c56
Author: Ryan Blue <[email protected]>
Date: 2016-11-09T00:16:11Z
SPARK-18368: Add serialization to checkEvaluation.
This removes the serialization test from RegexpExpressionsSuite and
replaces it by serializing all expressions in checkEvaluation.
This also fixes math constant expressions by making LeafMathExpression
Serializable and fixes NumberFormat values that are null or invalid
after serialization.
----
---
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]