Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2421F11033 for ; Tue, 3 Jun 2014 18:37:23 +0000 (UTC) Received: (qmail 64611 invoked by uid 500); 3 Jun 2014 18:37:23 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 64585 invoked by uid 500); 3 Jun 2014 18:37:23 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 64576 invoked by uid 99); 3 Jun 2014 18:37:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 18:37:23 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Jun 2014 18:37:21 +0000 Received: (qmail 62435 invoked by uid 99); 3 Jun 2014 18:37:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 18:37:01 +0000 Date: Tue, 3 Jun 2014 18:37:01 +0000 (UTC) From: "Norris Lee (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-817) Parquet file created from impala using data from an impala table causes drill to hang MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norris Lee updated DRILL-817: ----------------------------- Attachment: Integer_Table.csv > Parquet file created from impala using data from an impala table causes drill to hang > ------------------------------------------------------------------------------------- > > Key: DRILL-817 > URL: https://issues.apache.org/jira/browse/DRILL-817 > Project: Apache Drill > Issue Type: Bug > Reporter: Norris Lee > Assignee: Jason Altekruse > Attachments: Integer_Table.csv > > > A normal table was created with impala: > {code} > [localhost.localdomain:21000] > create table integer_table2 (keycolumn string, column1 int) row format delimited fields terminated by ','; > Query: create table integer_table2 (keycolumn string, column1 int) row format delimited fields terminated by ',' > Returned 0 row(s) in 0.10s > [localhost.localdomain:21000] > show tables; > Query: show tables > +-----------------------+ > | name | > +-----------------------+ > | integer_table2 | > +-----------------------+ > Returned 1 row(s) in 0.01s > {code} > Data from a csv is loaded into the table > {code} > 46:44 PDT 2014) > [localhost.localdomain:21000] > load data inpath '/user/hive/warehouse/Integer_Table.csv' overwrite into table integer_table2; > Query: load data inpath '/user/hive/warehouse/Integer_Table.csv' overwrite into table integer_table2 > +----------------------------------------------------------+ > | summary | > +----------------------------------------------------------+ > | Loaded 1 file(s). Total files in destination location: 1 | > +----------------------------------------------------------+ > Returned 1 row(s) in 0.23s > {code} > A parquet table was then created in impala and data loaded in from the first table: > {code} > [localhost.localdomain:21000] > create table integer_table (keycolumn string, column1 int) row format delimited fields terminated by ',' stored as parquet; > Query: create table integer_table (keycolumn string, column1 int) row format delimited fields terminated by ',' stored as parquet > Returned 0 row(s) in 0.10s > [localhost.localdomain:21000] > insert overwrite table integer_table select * from integer_table2; > Query: insert overwrite table integer_table select * from integer_table2 > Inserted 18 rows in 0.20s > {code} > The parquet file (in the format _data.0 and renamed) was extracted from hdfs and moved to drill's dfs. The query through sqlline hangs: > {code} > 0: jdbc:drill:schema=hivestg> select * from `dfs`.`/opt/drill/integer.parquet`; > > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)