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)

Reply via email to