[
https://issues.apache.org/jira/browse/SPARK-52693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk resolved SPARK-52693.
------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Issue resolved by pull request 51383
[https://github.com/apache/spark/pull/51383]
> Add day-time interval to time
> -----------------------------
>
> Key: SPARK-52693
> URL: https://issues.apache.org/jira/browse/SPARK-52693
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Max Gekk
> Assignee: Max Gekk
> Priority: Major
> Fix For: 4.1.0
>
>
> h4. Syntax
> expr1 + expr2
> h4. Arguments
> * expr1: A TIME, or INTERVAL expression.
> * expr2: A TIME, or INTERVAL expression.
> h4. Returns
> When you add a day-time interval to a TIME, ensure that the resulting time is
> well formed.
> If the result overflows the result type, raise a DATETIME_OVERFLOW error.
> h4. Examples
> {code:sql}
> > SELECT TIME'12:00:00' + INTERVAL '01:02:03' HOUR TO SECOND;
> 13:02:03
> {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]