Tanner Clary created CALCITE-6220: ------------------------------------- Summary: Map MAX/MIN to BOOL_OR/BOOL_AND for Postgres and Redshift Key: CALCITE-6220 URL: https://issues.apache.org/jira/browse/CALCITE-6220 Project: Calcite Issue Type: Improvement Reporter: Tanner Clary Assignee: Tanner Clary
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)