Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AF196200B35 for ; Mon, 20 Jun 2016 23:39:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ADFCF160A26; Mon, 20 Jun 2016 21:39:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 03E5C160A55 for ; Mon, 20 Jun 2016 23:39:51 +0200 (CEST) Received: (qmail 13710 invoked by uid 500); 20 Jun 2016 21:39:51 -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 13672 invoked by uid 99); 20 Jun 2016 21:39:51 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2016 21:39:51 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BF8F2DFE65; Mon, 20 Jun 2016 21:39:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sershe@apache.org To: commits@hive.apache.org Date: Mon, 20 Jun 2016 21:39:51 -0000 Message-Id: <74dfe97593f447c481a68208f7704f52@git.apache.org> In-Reply-To: <569b18a33ba74094b41639160935fdb4@git.apache.org> References: <569b18a33ba74094b41639160935fdb4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/7] hive git commit: HIVE-14024 : setAllColumns is called incorrectly after some changes (Sergey Shelukhin, reviewed by Prasanth Jayachandran) archived-at: Mon, 20 Jun 2016 21:39:52 -0000 HIVE-14024 : setAllColumns is called incorrectly after some changes (Sergey Shelukhin, reviewed by Prasanth Jayachandran) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/9b1d79c9 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/9b1d79c9 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/9b1d79c9 Branch: refs/heads/branch-2.1 Commit: 9b1d79c9a22605fcac1bc39e40ee68f5c5cef429 Parents: 8ada8ea Author: Sergey Shelukhin Authored: Mon Jun 20 14:34:45 2016 -0700 Committer: Sergey Shelukhin Committed: Mon Jun 20 14:35:05 2016 -0700 ---------------------------------------------------------------------- ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/9b1d79c9/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java b/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java index cfedf35..cbacc25 100755 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java @@ -501,13 +501,11 @@ public class HiveInputFormat final StringBuilder readColumnNamesBuffer) { String readColIds = readColumnsBuffer.toString(); String readColNames = readColumnNamesBuffer.toString(); - boolean readAllColumns = readColIds.isEmpty() ? true : false; - newjob.setBoolean(ColumnProjectionUtils.READ_ALL_COLUMNS, readAllColumns); + newjob.setBoolean(ColumnProjectionUtils.READ_ALL_COLUMNS, false); newjob.set(ColumnProjectionUtils.READ_COLUMN_IDS_CONF_STR, readColIds); newjob.set(ColumnProjectionUtils.READ_COLUMN_NAMES_CONF_STR, readColNames); if (LOG.isInfoEnabled()) { - LOG.info("{} = {}", ColumnProjectionUtils.READ_ALL_COLUMNS, readAllColumns); LOG.info("{} = {}", ColumnProjectionUtils.READ_COLUMN_IDS_CONF_STR, readColIds); LOG.info("{} = {}", ColumnProjectionUtils.READ_COLUMN_NAMES_CONF_STR, readColNames); }