drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kunal Khatua (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-4906) CASE Expression with constant generates class exception
Date Tue, 04 Oct 2016 00:02:20 GMT

     [ https://issues.apache.org/jira/browse/DRILL-4906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kunal Khatua updated DRILL-4906:
--------------------------------
    Reviewer: Krystal

> 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.6.0, 1.8.0
>            Reporter: Serhii Harnyk
>            Assignee: Aman Sinha
>             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)

Mime
View raw message