You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/01/05 02:29:39 UTC

[jira] [Created] (CALCITE-1042) Ensure that FILTER is BOOLEAN NOT NULL

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)