[ 
https://issues.apache.org/jira/browse/SPARK-28146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871474#comment-16871474
 ] 

Yuming Wang commented on SPARK-28146:
-------------------------------------

{{IS OF}} does not conform to the ISO SQL behavior, so it is undocumented:
https://github.com/postgres/postgres/blob/REL_12_BETA1/doc/src/sgml/func.sgml#L518-L535

> 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
>            Priority: Minor
>
> 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