spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-28307) Support Interval comparison
Date Mon, 08 Jul 2019 21:47:00 GMT

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

Dongjoon Hyun updated SPARK-28307:
----------------------------------
    Issue Type: Sub-task  (was: Improvement)
        Parent: SPARK-27764

> Support Interval comparison
> ---------------------------
>
>                 Key: SPARK-28307
>                 URL: https://issues.apache.org/jira/browse/SPARK-28307
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>
> {code}
> postgres=# SELECT INTERVAL '0:0' HOUR TO SECOND = INTERVAL '0:0' HOUR TO SECOND;
>  ?column?
> ----------
>  t
> (1 row)
> {code}
> {code}
> spark-sql> SELECT INTERVAL '0:0' HOUR TO SECOND = INTERVAL '0:0' HOUR TO SECOND;
> Error in query: cannot resolve '(interval 0 microseconds = interval 0 microseconds)'
due to data type mismatch: EqualTo does not support ordering on type calendarinterval; line
1 pos 7;
> 'Project [unresolvedalias((interval 0 microseconds = interval 0 microseconds), None)]
> +- OneRowRelation
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message