[ https://issues.apache.org/jira/browse/SPARK-26178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700147#comment-16700147 ]
Maxim Gekk commented on SPARK-26178: ------------------------------------ [~srowen] It is somehow related to the ticket but this ticket does not aim to infer dates. After the changes it should be easier to do. > Use java.time API for parsing timestamps and dates from CSV > ------------------------------------------------------------ > > Key: SPARK-26178 > URL: https://issues.apache.org/jira/browse/SPARK-26178 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.4.0 > Reporter: Maxim Gekk > Priority: Major > > Currently, CSV datasource uses FastDateFormat from Apache Commons for parsing > values of TimestampType and DateType. The result of parsing is an instance of > java.util.Date which represents a specific instant in time, with millisecond > precision. The tickets aims to switching 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org