You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/07/08 21:47:00 UTC

[jira] [Updated] (SPARK-28307) Support Interval comparison

     [ 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