[ https://issues.apache.org/jira/browse/SPARK-52693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18000458#comment-18000458 ]
Max Gekk commented on SPARK-52693: ---------------------------------- I am working on this. > 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 > > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org