You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2018/11/09 01:47:01 UTC

[jira] [Resolved] (SPARK-25945) Support locale while parsing date/timestamp from CSV/JSON

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

Hyukjin Kwon resolved SPARK-25945.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 22951
[https://github.com/apache/spark/pull/22951]

> Support locale while parsing date/timestamp from CSV/JSON
> ---------------------------------------------------------
>
>                 Key: SPARK-25945
>                 URL: https://issues.apache.org/jira/browse/SPARK-25945
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Currently locale is hard coded in CSVOptions/JSONOptions that prevent parsing date/timestamps containing month name in a language different from English. This ticket aims to solve the problem by adding new option *locale* for JSON/CSV. An example of date which cannot be parsed currently:
> {code}
> ноя 2018
> {code} 



--
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