drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2648) CONVERT_FROM gives no specific message with called with bad type value
Date Wed, 01 Apr 2015 04:39:53 GMT
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)

Mime
View raw message