You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/20 22:28:33 UTC
[jira] [Resolved] (DRILL-1006) Fix case expression when conditions
are nullable type.
[ https://issues.apache.org/jira/browse/DRILL-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Nadeau resolved DRILL-1006.
-----------------------------------
Resolution: Fixed
Assignee: (was: Jinfeng Ni)
> Fix case expression when conditions are nullable type.
> -------------------------------------------------------
>
> Key: DRILL-1006
> URL: https://issues.apache.org/jira/browse/DRILL-1006
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Jinfeng Ni
>
> There are two issues in case expressions:
> 1. ExpressionValidator enforces that the conditions in a case expression have to be non-nullable type. This is not true ; a condition could be a nullable type from any expression generating boolean value.
> 2. In EvaluationVisitor when we generate the run-time code, the generated code for case expression when the condition is nullable is not valid, causing compiler error.
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)