[
https://issues.apache.org/jira/browse/CALCITE-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanner Clary updated CALCITE-6220:
----------------------------------
Summary: Rewrite MIN/MAX(BOOLEAN) as BOOL_AND/BOOL_OR for Postgres,
Redshift (was: Rewrite MIN/MAX(bool) as BOOL_AND/BOOL_OR for Postgres,
Redshift)
> 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
>
> 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)