[ 
https://issues.apache.org/jira/browse/SPARK-37067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430871#comment-17430871
 ] 

Apache Spark commented on SPARK-37067:
--------------------------------------

User 'linhongliu-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/34338

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to