You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2020/03/17 17:01:00 UTC

[jira] [Updated] (SPARK-31176) Remove support for 'e'/'c' as datetime pattern charactar

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

Kent Yao updated SPARK-31176:
-----------------------------
    Summary: Remove support for 'e'/'c' as datetime pattern charactar   (was: Romove support for 'e'/'c' as datetime pattern charactar )

> Remove support for 'e'/'c' as datetime pattern charactar 
> ---------------------------------------------------------
>
>                 Key: SPARK-31176
>                 URL: https://issues.apache.org/jira/browse/SPARK-31176
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Kent Yao
>            Priority: Major
>
> The meaning of 'u' was day number of week in SimpleDateFormat, it was changed to year in DateTimeFormatter.  So we keep the old meaning of 'u' by substituting 'u' to 'e' internally and use DateTimeFormatter to parse the pattern string. In DateTimeFormatter, the 'e' and 'c' also represents day-of-week, we should mark them as illegal pattern character to stay the same as before. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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