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

Wenchen Fan resolved SPARK-37067.
---------------------------------
    Fix Version/s: 3.3.0
                   3.2.1
         Assignee: Linhong Liu
       Resolution: Fixed

> 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
>            Assignee: Linhong Liu
>            Priority: Major
>             Fix For: 3.2.1, 3.3.0
>
>
> 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