You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2015/04/14 02:18:13 UTC

[jira] [Comment Edited] (DRILL-2775) CTAS : Error message not clear when the table/folder already exists

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

Venki Korukanti edited comment on DRILL-2775 at 4/14/15 12:17 AM:
------------------------------------------------------------------

Looking at the callstack, you are most likely you are going to get the same error on master. Is the table created has 0 records (or no output files)?


was (Author: vkorukanti):
Is the table created has 0 records (or no output files)?

> CTAS : Error message not clear when the table/folder already exists
> -------------------------------------------------------------------
>
>                 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
>              Labels: error_message_must_fix
>
> git.commit.id.abbrev=f066786
> Below is an example of what happens when we try to create the same table twice :
> {code}
>  create table  dfs.ctas_flatten.jkdhfjhgjhk as select  * from  `data.json`';
> +------------+------------+
> |     ok     |  summary   |
> +------------+------------+
> | false      | Error: Index: 0, Size: 0 |
> {code}
> It used to be more meaningful until very recently. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)