We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a939f commit 03d9d33Copy full SHA for 03d9d33
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JacksonParser.scala
@@ -259,7 +259,7 @@ class JacksonParser(
259
// In Spark 1.5.0, we store the data as number of days since epoch in string.
260
// So, we just convert it to Int.
261
try {
262
- parser.getText.toInt
+ RebaseDateTime.rebaseJulianToGregorianDays(parser.getText.toInt)
263
} catch {
264
case _: NumberFormatException => throw e
265
}
0 commit comments