You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Daniel Barclay (Drill/MapR) (JIRA)" <ji...@apache.org> on 2015/02/01 02:48:34 UTC
[jira] [Created] (DRILL-2135) "CAST( NULL AS SMALLINT ) AS ..."
fails with "Unable to convert ... null ... to ... constant expr."
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)