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

Wenchen Fan updated SPARK-29387:
--------------------------------
    Parent Issue: SPARK-31415  (was: SPARK-27764)

> Support `*` and `/` operators for intervals
> -------------------------------------------
>
>                 Key: SPARK-29387
>                 URL: https://issues.apache.org/jira/browse/SPARK-29387
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Support `*` by numeric, `/` by numeric. See 
> [https://www.postgresql.org/docs/12/functions-datetime.html]
> ||Operator||Example||Result||
> |*|900 * interval '1 second'|interval '00:15:00'|
> |*|21 * interval '1 day'|interval '21 days'|
> |/|interval '1 hour' / double precision '1.5'|interval '00:40:00'|



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to