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 <gatorsm...@gmail.com> Date: 2017-12-16T09:07:23Z fix. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org