spark git commit: [SPARK-10245] [SQL] Fix decimal literals with precision scale

2015-08-25 Thread yhuai
Repository: spark Updated Branches: refs/heads/master 00ae4be97 - ec89bd840 [SPARK-10245] [SQL] Fix decimal literals with precision scale In BigDecimal or java.math.BigDecimal, the precision could be smaller than scale, for example, BigDecimal(0.001) has precision = 1 and scale = 3. But

spark git commit: [SPARK-10245] [SQL] Fix decimal literals with precision scale

2015-08-25 Thread yhuai
Repository: spark Updated Branches: refs/heads/branch-1.5 6f05b7aeb - 8925896b1 [SPARK-10245] [SQL] Fix decimal literals with precision scale In BigDecimal or java.math.BigDecimal, the precision could be smaller than scale, for example, BigDecimal(0.001) has precision = 1 and scale = 3. But