Peter Toth created SPARK-28146:
----------------------------------

             Summary: Support IS OF (<type>) predicate
                 Key: SPARK-28146
                 URL: https://issues.apache.org/jira/browse/SPARK-28146
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Peter Toth


PostgreSQL supports IS OF (<type>) predicate, for example the following query 
is valid:
{noformat}
select 1 is of (int), true is of (bool)

true true
{noformat}
I can't find PostgreSQL documentation about it, but here is how it works in 
Oracle:
 
[https://docs.oracle.com/cd/B28359_01/server.111/b28286/conditions014.htm#SQLRF52157]



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

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

Reply via email to