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 2017/05/08 21:53:04 UTC
[jira] [Created] (CALCITE-1778) Query with "WHERE CASE" throws
AssertionError "Cast for just nullability not allowed"
Julian Hyde created CALCITE-1778:
------------------------------------
Summary: Query with "WHERE CASE" throws AssertionError "Cast for just nullability not allowed"
Key: CALCITE-1778
URL: https://issues.apache.org/jira/browse/CALCITE-1778
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
The following query throws "Cast for just nullability not allowed", just after {{ProjectFilterTransposeRule}} is invoked.
{code}
select count(*)
from emp
where case when mgr < 10 then true else false end
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)