Skip to content

Commit

Permalink
Rollback JSON RDD changes
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Sep 11, 2014
1 parent 4d4d93c commit 9634f11
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
package org.apache.spark.sql.json

import scala.collection.Map
import scala.collection.JavaConversions._
import scala.collection.convert.Wrappers.JMapWrapper
import scala.collection.convert.Wrappers.{JMapWrapper, JListWrapper}
import scala.math.BigDecimal

import com.fasterxml.jackson.databind.ObjectMapper
Expand Down Expand Up @@ -247,7 +246,7 @@ private[sql] object JsonRDD extends Logging {
// This issue is documented at https://issues.scala-lang.org/browse/SI-7005
JMapWrapper(map).mapValues(scalafy).map(identity)
case list: java.util.List[_] =>
(list: Seq[_]).map(scalafy)
JListWrapper(list).map(scalafy)
case atom => atom
}

Expand Down

0 comments on commit 9634f11

Please sign in to comment.