[
https://issues.apache.org/jira/browse/DRILL-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760756#comment-16760756
]
Arina Ielchiieva commented on DRILL-4813:
-----------------------------------------
Fixed as part of DRILL-5771:
{noformat}
0: jdbc:drill:zk=local> SELECT * FROM table(dfs.tmp.`data_33.csv` (type =>
'text', fieldDelimiter => ',' , extractHeader => true));
Error: VALIDATION ERROR: Unable to find table [data_33.csv] in schema [dfs.tmp]
{noformat}
> 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
>
> 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)