[ 
https://issues.apache.org/jira/browse/DRILL-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543318#comment-16543318
 ] 

Arina Ielchiieva commented on DRILL-4454:
-----------------------------------------

Looks like issue is fixed in 1.13.0 or earlier.
{noformat}
0: jdbc:drill:zk=local> SELECT * FROM TABLE(dfs.`t1.csv`(type => 'text', 
extractHeader => true));
Error: VALIDATION ERROR: Unable to find table [t1.csv] in schema [dfs.default]
{noformat}

> NPE on select with options when file does not exist
> ---------------------------------------------------
>
>                 Key: DRILL-4454
>                 URL: https://issues.apache.org/jira/browse/DRILL-4454
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Codegen
>    Affects Versions: 1.6.0
>            Reporter: Victoria Markman
>            Priority: Major
>             Fix For: 1.13.0
>
>
> File t1.csv does not exist:
> {code}
> 0: jdbc:drill:schema=dfs> SELECT * FROM TABLE(dfs.`t1.csv`(type => 'text', 
> extractHeader => true));
> Error: VALIDATION ERROR: java.lang.NullPointerException
> [Error Id: 224773a5-045b-4436-8661-7cca2c4562c5 on atsqa4-135.qa.lab:31010] 
> (state=,code=0)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to