You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2014/06/17 22:09:08 UTC

[jira] [Created] (DRILL-1006) Fix case expression when conditions are nullable type.

Jinfeng Ni created DRILL-1006:
---------------------------------

             Summary: 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
            Assignee: 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)