Kent Yao created SPARK-31176: -------------------------------- Summary: Romove 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
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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org