apache/spark — pull request #3090 by pengyanhong (2014-11-04 15:20:49+00:00)
Title: SPARK-3033:java.math.BigDecimal cannot be cast to org.apache.hadoop.hive.common.type.HiveDecimal

fix bug SPARK-3033:
"if" expression In the Select clause of hive query as below:
IF(
d.lost_order_amt IS NULL ,
0.0 ,
d.lost_order_amt
) AS lost_order_amt
throw exception: java.math.BigDecimal cannot be cast to org.apache.hadoop.hive.common.type.HiveDecimal