LiShuMing commented on a change in pull request #1694: [CALCITE-2935] Add 
support BOOL_AND/BOOL_OR Aggregate Function
URL: https://github.com/apache/calcite/pull/1694#discussion_r361561244
 
 

 ##########
 File path: site/_docs/reference.md
 ##########
 @@ -1751,6 +1751,8 @@ and `LISTAGG`).
 | SUM( [ ALL | DISTINCT ] numeric)         | Returns the sum of *numeric* 
across all input values
 | MAX( [ ALL | DISTINCT ] value)           | Returns the maximum value of 
*value* across all input values
 | MIN( [ ALL | DISTINCT ] value)           | Returns the minimum value of 
*value* across all input values
+| BOOL_AND(value)                               | Returns true if all *values* 
are true
+| BOOL_OR(value)                                | Returns true if at least one 
value of *value* is true
 
 Review comment:
   Here is my mistake. I checked [Redshift 
Document](https://docs.aws.amazon.com/redshift/latest/dg/r_BOOL_OR.html), 
`[DISTINCT | ALL] ` should be supported.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to