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

Sergey Nuyanzin closed CALCITE-6220.
------------------------------------

Resolved in release 1.37.0 (2024-05-06)

> Rewrite MIN/MAX(BOOLEAN) as BOOL_AND/BOOL_OR for Postgres, Redshift
> -------------------------------------------------------------------
>
>                 Key: CALCITE-6220
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6220
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Tanner Clary
>            Assignee: Tanner Clary
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.37.0
>
>
> Postgres and Redshift do not allow for MIN/MAX on columns of type BOOLEAN, 
> instead they use the BOOL_AND/BOOL_OR functions, which Calcite already 
> supports.
> While CALCITE-6206 is in progress, I plan on just adding this as an override 
> during unparsing for now unless there are objections. After CALCITE-6206 is 
> resolved this could be added to the mapping I described there.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to