Repository: hive
Updated Branches:
  refs/heads/branch-2 99a1aadae -> 08ab04fab


HIVE-17222: Llap: Iotrace throws java.lang.UnsupportedOperationException with 
IncompleteCb (rbalamohan)


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

Branch: refs/heads/branch-2
Commit: 08ab04fab79e30d953eda2b560224ba7dd73d39d
Parents: 99a1aad
Author: Rajesh Balamohan <rbalamo...@apache.org>
Authored: Thu Aug 3 04:20:03 2017 +0530
Committer: sergey <ser...@apache.org>
Committed: Wed Aug 9 11:12:26 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/io/orc/encoded/IncompleteCb.java    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/08ab04fa/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/IncompleteCb.java
----------------------------------------------------------------------
diff --git 
a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/IncompleteCb.java 
b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/IncompleteCb.java
index e3671ab..173e208 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/IncompleteCb.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/IncompleteCb.java
@@ -20,6 +20,8 @@ package org.apache.hadoop.hive.ql.io.orc.encoded;
 
 import org.apache.hadoop.hive.common.io.DiskRangeList;
 
+import java.nio.ByteBuffer;
+
 public class IncompleteCb extends DiskRangeList {
   public IncompleteCb(long offset, long end) {
     super(offset, end);
@@ -34,4 +36,9 @@ public class IncompleteCb extends DiskRangeList {
   public boolean hasData() {
     return true; // Should not be treated like it needs data.
   }
+
+  @Override
+  public ByteBuffer getData() {
+    return null;
+  }
 }
\ No newline at end of file

Reply via email to