Skip to content

Commit e9f1de3

Browse files
committed
Use scala BigDecimal.
1 parent 500d2c4 commit e9f1de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ trait ScalaReflection {
7878
convertToScala(k, mapType.keyType) -> convertToScala(v, mapType.valueType)
7979
}
8080
case (r: Row, s: StructType) => convertRowToScala(r, s)
81-
case (d: Decimal, _: DecimalType) => d.toJavaBigDecimal
81+
case (d: Decimal, _: DecimalType) => d.toBigDecimal
8282
case (other, _) => other
8383
}
8484

0 commit comments

Comments
 (0)