spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-26243) Use java.time API for parsing timestamps and dates from JSON
Date Sat, 01 Dec 2018 18:35:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-26243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-26243:
------------------------------------

    Assignee: Apache Spark

> Use java.time API for parsing timestamps and dates from JSON
> ------------------------------------------------------------
>
>                 Key: SPARK-26243
>                 URL: https://issues.apache.org/jira/browse/SPARK-26243
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Assignee: Apache Spark
>            Priority: Major
>
> Currently, CSV datasource uses Apache FastDateFormat with a few fallbacks for parsing
values of TimestampType and DateType. The result of parsing is an instance of java.util.Date/Timestamp
which represents a specific instant in time, with millisecond precision. The tickets aims
to switch on Java 8 API - java.time which allow parsing with nanoseconds precision.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message