Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 857F7105A7 for ; Tue, 24 Sep 2013 05:01:35 +0000 (UTC) Received: (qmail 55814 invoked by uid 500); 24 Sep 2013 05:01:31 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 55774 invoked by uid 500); 24 Sep 2013 05:01:29 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 55762 invoked by uid 99); 24 Sep 2013 05:01:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 05:01:27 +0000 X-ASF-Spam-Status: No, hits=-2002.3 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, 24 Sep 2013 05:01:25 +0000 Received: (qmail 55668 invoked by uid 99); 24 Sep 2013 05:01:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 05:01:03 +0000 Date: Tue, 24 Sep 2013 05:01:02 +0000 (UTC) From: "Jinho Kim (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TAJO-191) INSERT OVERWRITE INTO statement should follow the table meta in catalog 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/TAJO-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinho Kim updated TAJO-191: --------------------------- Attachment: TAJO-191.patch I've attached the patch {noformat} The examples are as follows: create table tablename (col1 int8, col2 int4, col3 float4) USING csv WITH ('csvfile.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec'); insert overwrite into tablename select l_orderkey, l_partkey, l_quantity from lineitem where l_orderkey = 3; insert overwrite into location '/tajo-data/output' USING csv WITH ('csvfile.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec') select * from lineitem where l_orderkey = 3; {noformat} > INSERT OVERWRITE INTO statement should follow the table meta in catalog > ----------------------------------------------------------------------- > > Key: TAJO-191 > URL: https://issues.apache.org/jira/browse/TAJO-191 > Project: Tajo > Issue Type: Bug > Components: planner/optimizer > Reporter: Hyunsik Choi > Assignee: Jinho Kim > Fix For: 0.2-incubating > > Attachments: TAJO-191.patch > > > After a table is created with compression options, INSERT OVERWRITE INTO without any compression options also should follow the created table's meta description. But, the current implementation does not refer to the created table's meta description. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira