Skip to content

Commit

Permalink
Use scala BigDecimal.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jan 16, 2015
1 parent 500d2c4 commit e9f1de3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ trait ScalaReflection {
convertToScala(k, mapType.keyType) -> convertToScala(v, mapType.valueType)
}
case (r: Row, s: StructType) => convertRowToScala(r, s)
case (d: Decimal, _: DecimalType) => d.toJavaBigDecimal
case (d: Decimal, _: DecimalType) => d.toBigDecimal
case (other, _) => other
}

Expand Down

0 comments on commit e9f1de3

Please sign in to comment.