Skip to content

Commit 4dadef1

Browse files
committed
fix wrong read
1 parent 93f438d commit 4dadef1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetConverter.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,10 @@ private[parquet] object CatalystTimestampConverter {
490490
}
491491
parquetTsCalendar.get
492492
}
493-
val NANOS_PER_SECOND = 1000000000
494-
val SECONDS_PER_MINUTE = 60
495-
val MINUTES_PER_HOUR = 60
496-
val NANOS_PER_MILLI = 1000000
493+
val NANOS_PER_SECOND: Long = 1000000000
494+
val SECONDS_PER_MINUTE: Long = 60
495+
val MINUTES_PER_HOUR: Long = 60
496+
val NANOS_PER_MILLI: Long = 1000000
497497

498498
def convertToTimestamp(value: Binary): Timestamp = {
499499
val nt = NanoTime.fromBinary(value)

0 commit comments

Comments
 (0)