Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B748210900 for ; Mon, 24 Mar 2014 09:58:15 +0000 (UTC) Received: (qmail 22853 invoked by uid 500); 24 Mar 2014 09:58:15 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 22681 invoked by uid 500); 24 Mar 2014 09:58:11 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 22650 invoked by uid 99); 24 Mar 2014 09:58:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 09:58:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 09:58:05 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EF06023888E4; Mon, 24 Mar 2014 09:57:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1580797 - in /hive/branches/branch-0.13/ql/src: java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java test/queries/clientpositive/tez_dml.q test/results/clientpositive/tez/tez_dml.q.out Date: Mon, 24 Mar 2014 09:57:42 -0000 To: commits@hive.apache.org From: vikram@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140324095742.EF06023888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: vikram Date: Mon Mar 24 09:57:42 2014 New Revision: 1580797 URL: http://svn.apache.org/r1580797 Log: HIVE-6707 : Lazy maps are broken (LazyMap and LazyBinaryMap) (Prasanth J via Vikram Dixit, reviewed by Gunther) Modified: hive/branches/branch-0.13/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java hive/branches/branch-0.13/ql/src/test/queries/clientpositive/tez_dml.q hive/branches/branch-0.13/ql/src/test/results/clientpositive/tez/tez_dml.q.out Modified: hive/branches/branch-0.13/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java?rev=1580797&r1=1580796&r2=1580797&view=diff ============================================================================== --- hive/branches/branch-0.13/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java (original) +++ hive/branches/branch-0.13/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java Mon Mar 24 09:57:42 2014 @@ -308,10 +308,6 @@ public class HiveInputFormat paths = Utilities.getInputPathsTez(job, mrwork); dirs = paths.toArray(new Path[paths.size()]); - if (dirs.length == 0) { - // if we still don't have any files it's time to fail. - throw new IOException("No input paths specified in job"); - } } catch (Exception e) { throw new IOException("Could not create input files", e); } @@ -373,11 +369,13 @@ public class HiveInputFormat