spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean R. Owen (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-29494) ArrayOutOfBoundsException when converting from string to timestamp
Date Fri, 18 Oct 2019 21:47:00 GMT

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

Sean R. Owen resolved SPARK-29494.
----------------------------------
    Fix Version/s: 3.0.0
                   2.4.5
       Resolution: Fixed

Issue resolved by pull request 26143
[https://github.com/apache/spark/pull/26143]

> ArrayOutOfBoundsException when converting from string to timestamp
> ------------------------------------------------------------------
>
>                 Key: SPARK-29494
>                 URL: https://issues.apache.org/jira/browse/SPARK-29494
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: Rahul Shivu Mahadev
>            Assignee: Rahul Shivu Mahadev
>            Priority: Minor
>             Fix For: 2.4.5, 3.0.0
>
>
> In a couple of scenarios while converting from String to Timestamp `
> DateTimeUtils.stringToTimestamp` throws an array out of bounds exception if there is
trailing spaces or ':'. The behavior of this method requires it to return `None` in case the
format of the string is incorrect.



--
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


Mime
View raw message