Skip to content

Commit 955e9fb

Browse files
committed
remove a decimal case branch that has no effect
1 parent 6e7a309 commit 955e9fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/types/util/DataTypeConversions.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ protected[sql] object DataTypeConversions {
133133
def convertJavaToCatalyst(a: Any, dataType: DataType): Any = (a, dataType) match {
134134
case (obj, udt: UserDefinedType[_]) => ScalaReflection.convertToCatalyst(obj, udt) // Scala type
135135
case (d: java.math.BigDecimal, _) => Decimal(BigDecimal(d))
136-
case (d: java.math.BigDecimal, _) => BigDecimal(d)
137136
case (other, _) => other
138137
}
139138

0 commit comments

Comments
 (0)