You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2015/07/01 21:28:05 UTC

[jira] [Updated] (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 ]

Deneche A. Hakim updated DRILL-2775:
------------------------------------
    Fix Version/s:     (was: 1.2.0)
                   1.3.0

> 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
>            Reporter: Rahul Challapalli
>            Assignee: Deneche A. Hakim
>            Priority: Minor
>              Labels: error_message_must_fix
>             Fix For: 1.3.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
(v6.3.4#6332)