spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-29684) Support divide/multiply for interval types
Date Sun, 01 Dec 2019 22:30:00 GMT

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

Xiao Li resolved SPARK-29684.
-----------------------------
    Resolution: Duplicate

> Support divide/multiply for interval types
> ------------------------------------------
>
>                 Key: SPARK-29684
>                 URL: https://issues.apache.org/jira/browse/SPARK-29684
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Kent Yao
>            Priority: Major
>
> {code:sql}
> postgres=# select interval '1 year 2 month' / 2.123456789111;
>            ?column?
> ------------------------------
>  6 mons 17 days 18:58:36.3072
> (1 row)postgres=# select interval '1 year 2 month' * 2.123456789;
>                ?column?
> --------------------------------------
>  2 years 5 mons 21 days 20:26:39.9264
> (1 row)
> {code}



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

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


Mime
View raw message