[jira] [Updated] (SPARK-27924) ANSI SQL: Boolean Test

2019-06-06 Thread Xiao Li (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-27924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Li updated SPARK-27924:

Description: 
{quote} ::=
   [ IS [ NOT ]  ]
 ::=
    TRUE
  | FALSE
  | UNKNOWN{quote}
 
Currently, the following DBMSs support the syntax:
 * PostgreSQL: [https://www.postgresql.org/docs/9.1/functions-comparison.html]
 * Hive: https://issues.apache.org/jira/browse/HIVE-13583
 * Redshift: 
[https://docs.aws.amazon.com/redshift/latest/dg/r_Boolean_type.html]
 * Vertica: 
[https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/LanguageElements/Predicates/Boolean-predicate.htm]

  was:
Support for various forms of search conditions are mandatory in the SQL 
standard. For example: {{ is not true;}}.

 

Redshift, Vertica and Hive support this feature.

 

[https://docs.aws.amazon.com/redshift/latest/dg/r_Boolean_type.html]
 
[https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/LanguageElements/Predicates/Boolean-predicate.htm]
 https://issues.apache.org/jira/browse/HIVE-13583

[https://www.postgresql.org/docs/12/features-sql-standard.html]

 

 


> ANSI SQL: Boolean Test
> --
>
> Key: SPARK-27924
> URL: https://issues.apache.org/jira/browse/SPARK-27924
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Priority: Major
>
> {quote} ::=
>    [ IS [ NOT ]  ]
>  ::=
>     TRUE
>   | FALSE
>   | UNKNOWN{quote}
>  
> Currently, the following DBMSs support the syntax:
>  * PostgreSQL: [https://www.postgresql.org/docs/9.1/functions-comparison.html]
>  * Hive: https://issues.apache.org/jira/browse/HIVE-13583
>  * Redshift: 
> [https://docs.aws.amazon.com/redshift/latest/dg/r_Boolean_type.html]
>  * Vertica: 
> [https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/LanguageElements/Predicates/Boolean-predicate.htm]



--
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



[jira] [Updated] (SPARK-27924) ANSI SQL: Boolean Test

2019-06-06 Thread Xiao Li (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-27924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Li updated SPARK-27924:

Summary: ANSI SQL: Boolean Test  (was: E061-14: Search Conditions)

> ANSI SQL: Boolean Test
> --
>
> Key: SPARK-27924
> URL: https://issues.apache.org/jira/browse/SPARK-27924
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Priority: Major
>
> Support for various forms of search conditions are mandatory in the SQL 
> standard. For example: {{ is not true;}}.
>  
> Redshift, Vertica and Hive support this feature.
>  
> [https://docs.aws.amazon.com/redshift/latest/dg/r_Boolean_type.html]
>  
> [https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/LanguageElements/Predicates/Boolean-predicate.htm]
>  https://issues.apache.org/jira/browse/HIVE-13583
> [https://www.postgresql.org/docs/12/features-sql-standard.html]
>  
>  



--
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