drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DRILL-2135) "CAST( NULL AS SMALLINT ) AS ..." fails with "Unable to convert ... null ... to ... constant expr."
Date Mon, 16 Feb 2015 23:25:11 GMT

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

Parth Chandra reassigned DRILL-2135:
------------------------------------

    Assignee: Parth Chandra

> "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/MapR)
>            Assignee: Parth Chandra
>             Fix For: 0.9.0
>
>
> 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)

Mime
View raw message