Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 31847 invoked from network); 29 Apr 2010 18:08:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Apr 2010 18:08:18 -0000 Received: (qmail 19238 invoked by uid 500); 29 Apr 2010 18:08:18 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 19214 invoked by uid 500); 29 Apr 2010 18:08:18 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 19206 invoked by uid 99); 29 Apr 2010 18:08:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 18:08:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 18:08:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3TI7sW7016047 for ; Thu, 29 Apr 2010 18:07:54 GMT Message-ID: <12892092.9841272564474533.JavaMail.jira@thor> Date: Thu, 29 Apr 2010 14:07:54 -0400 (EDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1328) make mapred.input.dir.recursive work for select * In-Reply-To: <21816263.5611272485869133.JavaMail.jira@thor> 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-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862295#action_12862295 ] Namit Jain commented on HIVE-1328: ---------------------------------- I haven't heard anyone running into https://issues.apache.org/jira/browse/HIVE-1303 at facebook. > make mapred.input.dir.recursive work for select * > ------------------------------------------------- > > Key: HIVE-1328 > URL: https://issues.apache.org/jira/browse/HIVE-1328 > Project: Hadoop Hive > Issue Type: Improvement > Components: Query Processor > Affects Versions: 0.6.0 > Reporter: John Sichi > Assignee: John Sichi > Fix For: 0.6.0 > > > For the script below, we would like the behavior from MAPREDUCE-1501 to apply so that the select * returns two rows instead of none. > create table fact_daily(x int) > partitioned by (ds string); > create table fact_tz(x int) > partitioned by (ds string, hr string, gmtoffset string); > alter table fact_tz > add partition (ds='2010-01-03', hr='1', gmtoffset='-8'); > insert overwrite table fact_tz > partition (ds='2010-01-03', hr='1', gmtoffset='-8') > select key+11 from src where key=484; > alter table fact_tz > add partition (ds='2010-01-03', hr='2', gmtoffset='-7'); > insert overwrite table fact_tz > partition (ds='2010-01-03', hr='2', gmtoffset='-7') > select key+12 from src where key=484; > alter table fact_daily > set tblproperties('EXTERNAL'='TRUE'); > alter table fact_daily > add partition (ds='2010-01-03') > location '/user/hive/warehouse/fact_tz/ds=2010-01-03'; > set mapred.input.dir.recursive=true; > select * from fact_daily where ds='2010-01-03'; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.