Julian Hyde created CALCITE-1042:
------------------------------------
Summary: 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
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)