-
- Downloads
[SPARK-12744][SQL] Change parsing JSON integers to timestamps to treat...
[SPARK-12744][SQL] Change parsing JSON integers to timestamps to treat integers as number of seconds JIRA: https://issues.apache.org/jira/browse/SPARK-12744 This PR makes parsing JSON integers to timestamps consistent with casting behavior. Author: Anatoliy Plastinin <anatoliy.plastinin@gmail.com> Closes #10687 from antlypls/fix-json-timestamp-parsing.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JacksonParser.scala 1 addition, 1 deletion.../spark/sql/execution/datasources/json/JacksonParser.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonSuite.scala 15 additions, 2 deletions...ache/spark/sql/execution/datasources/json/JsonSuite.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/TestJsonData.scala 4 additions, 0 deletions...e/spark/sql/execution/datasources/json/TestJsonData.scala
Loading
Please register or sign in to comment