Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B463988C6 for ; Wed, 24 Aug 2011 18:50:53 +0000 (UTC) Received: (qmail 82750 invoked by uid 500); 24 Aug 2011 18:50:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 82701 invoked by uid 500); 24 Aug 2011 18:50:52 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 82693 invoked by uid 500); 24 Aug 2011 18:50:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 82689 invoked by uid 99); 24 Aug 2011 18:50:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 18:50:52 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 18:50:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 420D4CDD24 for ; Wed, 24 Aug 2011 18:50:29 +0000 (UTC) Date: Wed, 24 Aug 2011 18:50:29 +0000 (UTC) From: "Siying Dong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1170750339.10305.1314211829266.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <428152449.12377.1312569329332.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2352) create empty files if and only if table is bucketed and hive.enforce.bucketing=true 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/HIVE-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Siying Dong updated HIVE-2352: ------------------------------ Assignee: (was: Franklin Hu) > create empty files if and only if table is bucketed and hive.enforce.bucketing=true > ----------------------------------------------------------------------------------- > > Key: HIVE-2352 > URL: https://issues.apache.org/jira/browse/HIVE-2352 > Project: Hive > Issue Type: Improvement > Reporter: Franklin Hu > Fix For: 0.8.0 > > Attachments: hive-2352.1.patch, hive-2352.2.patch, hive-2352.3.patch > > > create table t1 (key int, value string) stored as rcfile; > insert overwrite table t1 select * from src where false; > Creates an empty RCFile with no rows and size 151B. The file not should be created since there are no rows. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira