Skip to content

Commit d97d7db

Browse files
author
Yanbo Liang
committed
keep scala style
1 parent 837785a commit d97d7db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/json/JsonRDD.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,9 @@ private[sql] object JsonRDD extends Logging {
425425
} else {
426426
slot.asInstanceOf[Seq[Any]]
427427
}
428-
value.asInstanceOf[Seq[Any]].zip(arraySlot).map{case (v, s) => enforceCorrectType(v, elementType,s)}
428+
value.asInstanceOf[Seq[Any]].zip(arraySlot).map {
429+
case (v, s) => enforceCorrectType(v, elementType,s)
430+
}
429431
}
430432
case struct: StructType =>
431433
asRow(value.asInstanceOf[Map[String, Any]], struct, slot.asInstanceOf[GenericMutableRow])

0 commit comments

Comments
 (0)