You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2016/07/29 18:21:20 UTC

[jira] [Created] (DRILL-4813) Need better error message for table function when table does not exist

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)