You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/04/07 07:06:12 UTC

[jira] [Updated] (DRILL-2135) "CAST( NULL AS SMALLINT ) AS ..." fails with "Unable to convert ... null ... to ... constant expr."

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

Parth Chandra updated DRILL-2135:
---------------------------------
    Fix Version/s:     (was: 0.9.0)
                   Future

> "CAST( NULL AS SMALLINT )  AS ..." fails with "Unable to convert ... null ... to ... constant expr."
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-2135
>                 URL: https://issues.apache.org/jira/browse/DRILL-2135
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Parth Chandra
>             Fix For: Future
>
>
> A query starting with 
> SELECT CAST( NULL AS SMALLINT )  AS ... 
> fails with "UnsupportedOperationException: Unable to convert the value of null and type SMALLINT to a Drill constant expression."
> (A similar query with "SMALLINT" replaced with "INTEGER" works.)



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