spark git commit: [SPARK-9759] [SQL] improve decimal.times() and cast(int, decimalType)

2015-08-10 Thread rxin
Repository: spark Updated Branches: refs/heads/master fe2fb7fb7 - c4fd2a242 [SPARK-9759] [SQL] improve decimal.times() and cast(int, decimalType) This patch optimize two things: 1. passing MathContext to JavaBigDecimal.multiply/divide/reminder to do right rounding, because

spark git commit: [SPARK-9759] [SQL] improve decimal.times() and cast(int, decimalType)

2015-08-10 Thread rxin
Repository: spark Updated Branches: refs/heads/branch-1.5 23842482f - d17303a94 [SPARK-9759] [SQL] improve decimal.times() and cast(int, decimalType) This patch optimize two things: 1. passing MathContext to JavaBigDecimal.multiply/divide/reminder to do right rounding, because