Skip to content

Commit 03d9d33

Browse files
committed
Bug fix
1 parent c5a939f commit 03d9d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JacksonParser.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class JacksonParser(
259259
// In Spark 1.5.0, we store the data as number of days since epoch in string.
260260
// So, we just convert it to Int.
261261
try {
262-
parser.getText.toInt
262+
RebaseDateTime.rebaseJulianToGregorianDays(parser.getText.toInt)
263263
} catch {
264264
case _: NumberFormatException => throw e
265265
}

0 commit comments

Comments
 (0)