You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/04/01 06:39:53 UTC

[jira] [Created] (DRILL-2648) CONVERT_FROM gives no specific message with called with bad type value

Daniel Barclay (Drill) created DRILL-2648:
---------------------------------------------

             Summary: 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)