You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peter Toth (JIRA)" <ji...@apache.org> on 2019/06/24 15:38:00 UTC

[jira] [Created] (SPARK-28146) Support IS OF () predicate

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org