File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
sql/core/src/main/scala/org/apache/spark/sql/json Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
package org .apache .spark .sql .json
19
19
20
20
import scala .collection .Map
21
- import scala .collection .convert .Wrappers .{JMapWrapper , JListWrapper }
21
+ import scala .collection .JavaConversions ._
22
+ import scala .collection .convert .Wrappers .JMapWrapper
22
23
import scala .math .BigDecimal
23
24
24
25
import com .fasterxml .jackson .databind .ObjectMapper
@@ -253,7 +254,7 @@ private[sql] object JsonRDD extends Logging {
253
254
// This issue is documented at https://issues.scala-lang.org/browse/SI-7005
254
255
JMapWrapper (map).mapValues(scalafy).map(identity)
255
256
case list : java.util.List [_] =>
256
- JListWrapper (list).map(scalafy)
257
+ (list : Seq [_] ).map(scalafy)
257
258
case atom => atom
258
259
}
259
260
You can’t perform that action at this time.
0 commit comments