[jira] [Updated] (SPARK-27880) Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)

2019-12-28 Thread Takeshi Yamamuro (Jira)


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

Takeshi Yamamuro updated SPARK-27880:
-
Parent Issue: SPARK-30375  (was: SPARK-27764)

> Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)
> -
>
> Key: SPARK-27880
> URL: https://issues.apache.org/jira/browse/SPARK-27880
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Assignee: Kent Yao
>Priority: Major
> Fix For: 3.0.0
>
>
> {code:sql}
> bool_and/booland_statefunc(expression) -- true if all input values are true, 
> otherwise false
> {code}
> {code:sql}
> bool_or/boolor_statefunc(expression) -- true if at least one input value is 
> true, otherwise false
> {code}
> {code:sql}
> every(expression) -- equivalent to bool_and
> {code}
> More details:
>  [https://www.postgresql.org/docs/9.3/functions-aggregate.html]
>  
> Presto and Vertica also support this feature:
> https://prestodb.github.io/docs/current/functions/aggregate.html
> https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/AggregateFunctions.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_0



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (SPARK-27880) Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)

2019-06-03 Thread Yuming Wang (JIRA)


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

Yuming Wang updated SPARK-27880:

Description: 
{code:sql}
bool_and/booland_statefunc(expression) -- true if all input values are true, 
otherwise false
{code}
{code:sql}
bool_or/boolor_statefunc(expression) -- true if at least one input value is 
true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}
More details:
 [https://www.postgresql.org/docs/9.3/functions-aggregate.html]

 

Presto and Vertica also support this feature:
https://prestodb.github.io/docs/current/functions/aggregate.html
https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/AggregateFunctions.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_0

  was:
{code:sql}
bool_and/booland_statefunc(expression) -- true if all input values are true, 
otherwise false
{code}
{code:sql}
bool_or/boolor_statefunc(expression) -- true if at least one input value is 
true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}
More details:
 [https://www.postgresql.org/docs/9.3/functions-aggregate.html]

 

Presto and Vertica also support this feature:

[https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/BOOLandAggregate.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_11]


> Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)
> -
>
> Key: SPARK-27880
> URL: https://issues.apache.org/jira/browse/SPARK-27880
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Priority: Major
>
> {code:sql}
> bool_and/booland_statefunc(expression) -- true if all input values are true, 
> otherwise false
> {code}
> {code:sql}
> bool_or/boolor_statefunc(expression) -- true if at least one input value is 
> true, otherwise false
> {code}
> {code:sql}
> every(expression) -- equivalent to bool_and
> {code}
> More details:
>  [https://www.postgresql.org/docs/9.3/functions-aggregate.html]
>  
> Presto and Vertica also support this feature:
> https://prestodb.github.io/docs/current/functions/aggregate.html
> https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/AggregateFunctions.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_0



--
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-27880) Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)

2019-06-03 Thread Yuming Wang (JIRA)


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

Yuming Wang updated SPARK-27880:

Description: 
{code:sql}
bool_and/booland_statefunc(expression) -- true if all input values are true, 
otherwise false
{code}
{code:sql}
bool_or/boolor_statefunc(expression) -- true if at least one input value is 
true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}
More details:
 [https://www.postgresql.org/docs/9.3/functions-aggregate.html]

 

Presto and Vertica also support this feature:

[https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/BOOLandAggregate.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_11]

  was:
{code:sql}
bool_and/booland_statefunc(expression) -- true if all input values are true, 
otherwise false
{code}
{code:sql}
bool_or/boolor_statefunc(expression) -- true if at least one input value is 
true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}
More details:
 [https://www.postgresql.org/docs/9.3/functions-aggregate.html]


> Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)
> -
>
> Key: SPARK-27880
> URL: https://issues.apache.org/jira/browse/SPARK-27880
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Priority: Major
>
> {code:sql}
> bool_and/booland_statefunc(expression) -- true if all input values are true, 
> otherwise false
> {code}
> {code:sql}
> bool_or/boolor_statefunc(expression) -- true if at least one input value is 
> true, otherwise false
> {code}
> {code:sql}
> every(expression) -- equivalent to bool_and
> {code}
> More details:
>  [https://www.postgresql.org/docs/9.3/functions-aggregate.html]
>  
> Presto and Vertica also support this feature:
> [https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/BOOLandAggregate.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_11]



--
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-27880) Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)

2019-05-31 Thread Yuming Wang (JIRA)


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

Yuming Wang updated SPARK-27880:

Description: 
{code:sql}
bool_and/booland_statefunc(expression) -- true if all input values are true, 
otherwise false
{code}
{code:sql}
bool_or/boolor_statefunc(expression) -- true if at least one input value is 
true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}
More details:
 [https://www.postgresql.org/docs/9.3/functions-aggregate.html]

  was:
{code:sql}
bool_and(expression) -- true if all input values are true, otherwise false
{code}
{code:sql}
bool_or(expression) -- true if at least one input value is true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}

More details:
https://www.postgresql.org/docs/9.3/functions-aggregate.html


> Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)
> -
>
> Key: SPARK-27880
> URL: https://issues.apache.org/jira/browse/SPARK-27880
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Priority: Major
>
> {code:sql}
> bool_and/booland_statefunc(expression) -- true if all input values are true, 
> otherwise false
> {code}
> {code:sql}
> bool_or/boolor_statefunc(expression) -- true if at least one input value is 
> true, otherwise false
> {code}
> {code:sql}
> every(expression) -- equivalent to bool_and
> {code}
> More details:
>  [https://www.postgresql.org/docs/9.3/functions-aggregate.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



[jira] [Updated] (SPARK-27880) Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)

2019-05-30 Thread Yuming Wang (JIRA)


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

Yuming Wang updated SPARK-27880:

Description: 
{code:sql}
bool_and(expression) -- true if all input values are true, otherwise false
{code}
{code:sql}
bool_or(expression) -- true if at least one input value is true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}

More details:
https://www.postgresql.org/docs/9.3/functions-aggregate.html

  was:
{code:sql}
bool_and(expression) -- true if all input values are true, otherwise false
{code}
{code:sql}
bool_or(expression) -- true if at least one input value is true, otherwise false
{code}
{code:sql}
every(expression) -- equivalent to bool_and
{code}


> Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)
> -
>
> Key: SPARK-27880
> URL: https://issues.apache.org/jira/browse/SPARK-27880
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Yuming Wang
>Priority: Major
>
> {code:sql}
> bool_and(expression) -- true if all input values are true, otherwise false
> {code}
> {code:sql}
> bool_or(expression) -- true if at least one input value is true, otherwise 
> false
> {code}
> {code:sql}
> every(expression) -- equivalent to bool_and
> {code}
> More details:
> https://www.postgresql.org/docs/9.3/functions-aggregate.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