diff --git a/sql/core/src/main/scala/org/apache/spark/sql/json/JsonRDD2.scala b/sql/core/src/main/scala/org/apache/spark/sql/json/JsonRDD2.scala index 929a8ccb04347..f382e81af840f 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/json/JsonRDD2.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/json/JsonRDD2.scala @@ -238,6 +238,7 @@ private[sql] object JsonRDD2 extends Logging { parser.getDoubleValue case (VALUE_NUMBER_INT | VALUE_NUMBER_FLOAT, DecimalType()) => + // TODO: add fixed precision and scale handling Decimal(parser.getDecimalValue) case (VALUE_NUMBER_INT, ByteType) =>