hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject hive git commit: HIVE-14968: Fix compilation failure on branch-1 (Daniel Dai, reviewed by Prasanth Jayachandran, Sergey Shelukhin)
Date Tue, 25 Oct 2016 06:49:30 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 edb6a40a5 -> 6f0b53d7a


HIVE-14968: Fix compilation failure on branch-1 (Daniel Dai, reviewed by Prasanth Jayachandran,
Sergey Shelukhin)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/6f0b53d7
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/6f0b53d7
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/6f0b53d7

Branch: refs/heads/branch-1
Commit: 6f0b53d7a96423ca0ed89e8c52e11860027ac3a2
Parents: edb6a40
Author: Daniel Dai <daijy@hortonworks.com>
Authored: Mon Oct 24 23:49:14 2016 -0700
Committer: Daniel Dai <daijy@hortonworks.com>
Committed: Mon Oct 24 23:49:14 2016 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java          | 2 ++
 .../java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/6f0b53d7/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
index bfe8657..73baa0c 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
@@ -186,6 +186,8 @@ import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils;
 import org.apache.hadoop.hive.serde2.objectinspector.StandardStructObjectInspector;
 import org.apache.hadoop.hive.serde2.objectinspector.StructField;
 import org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector;
+import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
+import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils;
 import org.apache.hadoop.hive.shims.ShimLoader;
 import org.apache.hadoop.io.IOUtils;
 import org.apache.hadoop.io.SequenceFile;

http://git-wip-us.apache.org/repos/asf/hive/blob/6f0b53d7/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
index 3858a79..ba72ffc 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
@@ -1487,7 +1487,7 @@ public class TreeReaderFactory {
         BytesColumnVector result, long batchSize) throws IOException {
       // Read lengths
       scratchlcv.isNull = result.isNull;  // Notice we are replacing the isNull vector here...
-      scratchlcv.ensureSize(batchSize, false);
+      scratchlcv.ensureSize((int)batchSize, false);
       lengths.nextVector(scratchlcv, batchSize);
       int totalLength = 0;
       if (!scratchlcv.isRepeating) {


Mime
View raw message