You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2025/03/10 06:50:00 UTC

[jira] [Resolved] (SPARK-51447) Add stringToTime and stringToTimeAnsi

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

Max Gekk resolved SPARK-51447.
------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

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

> Add stringToTime and stringToTimeAnsi
> -------------------------------------
>
>                 Key: SPARK-51447
>                 URL: https://issues.apache.org/jira/browse/SPARK-51447
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Max Gekk
>            Assignee: Max Gekk
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Add the stringToTime and stringToTimeAnsi functions to SparkDateTimeUtils similar to stringToTimestamp. The functions should parse input string to micros since the midnight using the default pattern:
> {code:java}
>   [h]h:[m]m:[s]s.[ms][ms][ms][us][us][us]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org