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)