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

Max Gekk resolved SPARK-52763.
------------------------------
    Resolution: Fixed

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

> Subtract TIMEs
> --------------
>
>                 Key: SPARK-52763
>                 URL: https://issues.apache.org/jira/browse/SPARK-52763
>             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
>
>
> h4. Syntax
> expr1 - expr2
> h4. Arguments
> * expr1: A TIME expression.
> * expr2: A TIME expression.
> h4. Returns
> The result is an INTERVAL HOUR TO SECOND
> h4. Examples
> {code:sql}
> > SELECT '12:30:41.123' - TIME'10:00:01';
> 0 02:30:40.123000000
> > SELECT typeof(TIME'16:00:10' - TIME'08:30:20');
>   interval hour to second
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to