[
https://issues.apache.org/jira/browse/CALCITE-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-1778.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.13.0
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/6b8e2c3d.
> 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
> Fix For: 1.13.0
>
>
> 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)