You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Serhii Harnyk (JIRA)" <ji...@apache.org> on 2016/09/27 11:23:20 UTC

[jira] [Created] (DRILL-4906) CASE Expression with constant generates class exception

Serhii Harnyk created DRILL-4906:
------------------------------------

             Summary: CASE Expression with constant generates class exception
                 Key: DRILL-4906
                 URL: https://issues.apache.org/jira/browse/DRILL-4906
             Project: Apache Drill
          Issue Type: Bug
          Components: SQL Parser
    Affects Versions: 1.8.0, 1.6.0
            Reporter: Serhii Harnyk
            Assignee: Serhii Harnyk
             Fix For: 1.9.0


How to reproduce:

select (case when (true) then 1 end) from (values(1));

Error
Error: SYSTEM ERROR: ClassCastException: org.apache.drill.exec.expr.holders.NullableVarCharHolder cannot be cast to org.apache.drill.exec.expr.holders.VarCharHolder



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)