hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject [2/7] hive git commit: HIVE-14024 : setAllColumns is called incorrectly after some changes (Sergey Shelukhin, reviewed by Prasanth Jayachandran)
Date Mon, 20 Jun 2016 21:39:51 GMT
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 <sershe@apache.org>
Authored: Mon Jun 20 14:34:45 2016 -0700
Committer: Sergey Shelukhin <sershe@apache.org>
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<K extends WritableComparable, V extends
Writable>
       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);
     }


Mime
View raw message