[
https://issues.apache.org/jira/browse/CALCITE-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-1042.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/efb668bb.
> Ensure that FILTER is BOOLEAN NOT NULL
> --------------------------------------
>
> Key: CALCITE-1042
> URL: https://issues.apache.org/jira/browse/CALCITE-1042
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Fix For: 1.6.0
>
>
> When an AggregateCall is created either by SqlToRelConverter or RelBuilder,
> make sure that it has type BOOLEAN and that it is NOT NULL.
> * If it is not BOOLEAN, RelBuilder should throw.
> * If it is nullable, wrap the expression in IS TRUE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)