You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2016/06/20 21:39:52 UTC

[3/7] hive git commit: HIVE-14024 : setAllColumns is called incorrectly after some changes (Sergey Shelukhin, reviewed by Prasanth Jayachandran)

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/4e4e87e4
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4e4e87e4
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4e4e87e4

Branch: refs/heads/branch-2.0
Commit: 4e4e87e4b118d4e8aa81e6396021ddd8216e8901
Parents: 69440a6
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Jun 20 14:34:45 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Jun 20 14:35:17 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/4e4e87e4/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 1c0f4cd..8cac5f4 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
@@ -505,13 +505,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);
     }