Skip to content

Commit 709d40d

Browse files
committed
remove brackets
1 parent 96db384 commit 709d40d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,10 @@ class SchemaRDD(
395395
arr.asInstanceOf[Array[Any]].map {
396396
element => rowToMap(element.asInstanceOf[Row], struct)
397397
}
398-
case t: java.sql.Timestamp => {
398+
case t: java.sql.Timestamp =>
399399
val c = java.util.Calendar.getInstance()
400400
c.setTimeInMillis(t.getTime())
401401
c
402-
}
403402
case other => other
404403
}
405404
map.put(attrName, arrayValues)

0 commit comments

Comments
 (0)