drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill/MapR) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2135) "CAST( NULL AS SMALLINT ) AS ..." fails with "Unable to convert ... null ... to ... constant expr."
Date Sun, 01 Feb 2015 01:48:34 GMT
Daniel Barclay (Drill/MapR) created DRILL-2135:
--------------------------------------------------

             Summary: "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
            Reporter: Daniel Barclay (Drill/MapR)


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