drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4813) Need better error message for table function when table does not exist
Date Fri, 29 Jul 2016 18:21:20 GMT
Krystal created DRILL-4813:
------------------------------

             Summary: Need better error message for table function when table does not exist
                 Key: DRILL-4813
                 URL: https://issues.apache.org/jira/browse/DRILL-4813
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
    Affects Versions: 1.8.0
            Reporter: Krystal


Need user friendly error for table function when specified table does not exists. Example
as shown below:

select * from table(`drill-3149/blah.txt`(type=>'text', lineDelimiter=>'\r\n'));

Error: VALIDATION ERROR: null

SQL Query null

[Error Id: 6a021d48-bbec-4617-9b53-94bc116dce76]

  (java.lang.NullPointerException) null
    org.apache.drill.exec.planner.logical.DrillTranslatableTable.getRowType():49
    org.apache.calcite.sql.validate.ProcedureNamespace.validateImpl():68
.
.
.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message