You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2018/11/05 19:50:00 UTC

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

Maxim Gekk created SPARK-25945:
----------------------------------

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


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