You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2019/02/05 12:42:00 UTC

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

     [ https://issues.apache.org/jira/browse/DRILL-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arina Ielchiieva resolved DRILL-4813.
-------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 1.12.0
>
>
> 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
(v7.6.3#76005)