spark git commit: [SPARK-25208][SQL][FOLLOW-UP] Reduce code size.

2018-09-06 Thread wenchen
Repository: spark Updated Branches: refs/heads/branch-2.4 a7cfe5158 -> ff832beee [SPARK-25208][SQL][FOLLOW-UP] Reduce code size. ## What changes were proposed in this pull request? This is a follow-up pr of #22200. When casting to decimal type, if `Cast.canNullSafeCastToDecimal()`, overflow

spark git commit: [SPARK-25208][SQL][FOLLOW-UP] Reduce code size.

2018-09-06 Thread wenchen
Repository: spark Updated Branches: refs/heads/master da6fa3828 -> 1b1711e05 [SPARK-25208][SQL][FOLLOW-UP] Reduce code size. ## What changes were proposed in this pull request? This is a follow-up pr of #22200. When casting to decimal type, if `Cast.canNullSafeCastToDecimal()`, overflow