drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [29/38] git commit: DRILL-375: VarBinary hash function computing hash for entire buffer
Date Tue, 04 Mar 2014 08:07:56 GMT
DRILL-375: VarBinary hash function computing hash for entire buffer

Signed-off-by: Jacques Nadeau <jacques@apache.org>


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

Branch: refs/heads/master
Commit: 08bc16dbd4a6886fb9d6c103f45f67573e83a7ea
Parents: b7f9e60
Author: Steven Phillips <sphillips@maprtech.com>
Authored: Tue Feb 11 15:04:13 2014 -0800
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Mon Mar 3 23:22:17 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/08bc16db/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
index 83ae35e..3cc82b4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
@@ -167,7 +167,7 @@ public class HashFunctions {
     }
 
     public void eval() {
-      out.value = org.apache.drill.exec.expr.fn.impl.HashHelper.hash(in.buffer.nioBuffer(),
0);
+      out.value = org.apache.drill.exec.expr.fn.impl.HashHelper.hash(in.buffer.nioBuffer(in.start,
in.end - in.start), 0);
     }
   }
   


Mime
View raw message