GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/20000
[SPARK-22815] [SQL] Keep PromotePrecision in Optimized Plans
## What changes were proposed in this pull request?
We could get incorrect results by running DecimalPrecision twice.
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark keepPromotePrecision
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20000.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 #20000
----
commit 64d55c4c86273f397d99fd29fe85735523877539
Author: gatorsmile <[email protected]>
Date: 2017-12-16T09:07:23Z
fix.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]