Skip to content

Commit

Permalink
Add comments on lack of support for precision and scale DecimalTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Howell committed May 4, 2015
1 parent fa0be47 commit f8add6e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down

0 comments on commit f8add6e

Please sign in to comment.