You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/12/06 14:31:00 UTC

[jira] [Resolved] (DRILL-2775) message error not clear when doing a select or ctas on empty folder

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

Vitalii Diravka resolved DRILL-2775.
------------------------------------
    Resolution: Won't Fix
      Assignee: Vitalii Diravka

> message error not clear when doing a select or ctas on empty folder
> -------------------------------------------------------------------
>
>                 Key: DRILL-2775
>                 URL: https://issues.apache.org/jira/browse/DRILL-2775
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 1.4.0
>            Reporter: Rahul Challapalli
>            Assignee: Vitalii Diravka
>            Priority: Minor
>             Fix For: 1.13.0
>
>
> if you have an empty folder "emptyfolder", you get a cryptic error message when you try to query the folder or CTAS a table that has the same name of the empty folder:
> {noformat}
> 0: jdbc:drill:zk=local> select * from emptyfolder;
> Error: PARSE ERROR: Index: 0, Size: 0
> [Error Id: ef86154b-8219-4b48-84bf-cb318f7d4ae4 on abdel-11.qa.lab:31010] (state=,code=0)
> {noformat}
> {noformat}
> 0: jdbc:drill:zk=local> create table emptyfolder as select * from `test.json`;
> Error: SYSTEM ERROR: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> [Error Id: 1c3965f4-1566-4df6-9bb6-a91211771976 on abdel-11.qa.lab:31010] (state=,code=0)
> {noformat}



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