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] [Created] (SPARK-28307) Support Interval comparison
Date Mon, 08 Jul 2019 21:47:00 GMT
Dongjoon Hyun created SPARK-28307:
-------------------------------------

             Summary: Support Interval comparison
                 Key: SPARK-28307
                 URL: https://issues.apache.org/jira/browse/SPARK-28307
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Dongjoon Hyun


{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