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