You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Linhong Liu (Jira)" <ji...@apache.org> on 2021/10/20 04:27:00 UTC
[jira] [Created] (SPARK-37067) DateTimeUtils.stringToTimestamp()
incorrectly rejects timezone without colon
Linhong Liu created SPARK-37067:
-----------------------------------
Summary: DateTimeUtils.stringToTimestamp() incorrectly rejects timezone without colon
Key: SPARK-37067
URL: https://issues.apache.org/jira/browse/SPARK-37067
Project: Spark
Issue Type: Task
Components: SQL
Affects Versions: 3.2.0, 3.1.0
Reporter: Linhong Liu
For the zoneid with format like "+0000" or "+0730", it can be parsed by `ZoneId.of()` but will rejected by Spark's `DateTimeUtils.stringToTimestamp()`. it means we will return null for some valid datetime string, such as: `2021-10-11T03:58:03.000+0700`
--
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