You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/10/20 04:43:00 UTC
[jira] [Assigned] (SPARK-37067) DateTimeUtils.stringToTimestamp()
incorrectly rejects timezone without colon
[ https://issues.apache.org/jira/browse/SPARK-37067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-37067:
------------------------------------
Assignee: (was: Apache Spark)
> 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.1.0, 3.2.0
> Reporter: Linhong Liu
> Priority: Major
>
> 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