You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2015/04/02 18:45:52 UTC
[jira] [Closed] (DRILL-2648) CONVERT_FROM gives no specific message
with called with bad type value
[ https://issues.apache.org/jira/browse/DRILL-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deneche A. Hakim closed DRILL-2648.
-----------------------------------
Resolution: Duplicate
> CONVERT_FROM gives no specific message with called with bad type value
> ----------------------------------------------------------------------
>
> Key: DRILL-2648
> URL: https://issues.apache.org/jira/browse/DRILL-2648
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Daniel Barclay (Drill)
>
> Invoking CONVERT_FROM like this:
> SELECT CONVERT_FROM(CAST(NULL AS INTEGER), '') FROM INFORMATION_SCHEMA.CATALOGS;
> yields errors with no useful information (nothing specific to the problem):
> 0: jdbc:drill:zk=local> SELECT CONVERT_FROM(CAST(NULL AS INTEGER), '') FROM INFORMATION_SCHEMA.CATALOGS;
> Query failed: AssertionError:
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> 0: jdbc:drill:zk=local>
> Invoking CONFIRM_FROM with a bad type string should yield a message saying that the type string was unrecognized (and eventually should list all valid type strings that Drill knows).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)