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 602768DE2 for ; Wed, 24 Aug 2011 18:46:54 +0000 (UTC) Received: (qmail 76962 invoked by uid 500); 24 Aug 2011 18:46:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 76885 invoked by uid 500); 24 Aug 2011 18:46: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 76876 invoked by uid 500); 24 Aug 2011 18:46:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 76872 invoked by uid 99); 24 Aug 2011 18:46: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:46: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:46: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 39F04CD9AE for ; Wed, 24 Aug 2011 18:46:29 +0000 (UTC) Date: Wed, 24 Aug 2011 18:46:29 +0000 (UTC) From: "Siying Dong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <175915641.10280.1314211589233.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <428152449.12377.1312569329332.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13090399#comment-13090399 ] Siying Dong commented on HIVE-2352: ----------------------------------- I ran tests twice. Both crashed. I think it is an important patch and will improve latency of some queries (like scanning a large dataset for one or two rows) dramatically (Currently I sometimes do a "ORDER BY LIMIT BY" to speed it up if I know the data set is small). We should raise the priority. > 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: Bug > Reporter: Franklin Hu > Assignee: Franklin Hu > Priority: Minor > 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