GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/19883
[SPARK-22684][SQL] datetime functions should not generate useless mutable
states
## What changes were proposed in this pull request?
Some datetime functions are defining mutable states which are not needed at
all. This is bad for the well known issues related to constant pool limits.
## How was this patch tested?
added UTs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-22684
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19883.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 #19883
----
commit 78850c6724f854ed317f22ee9845117fa9acae46
Author: Marco Gaido <[email protected]>
Date: 2017-12-04T21:34:00Z
[SPARK-22684][SQL] Avoid the generation of useless mutable states by
datetime functions
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]