Change the hash function to be generic and consistent for both family and 
factory.


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

Branch: refs/heads/prestonc/hash_join
Commit: f44744f76b7a961d5ea9c34acf2a7b7030cdd6e3
Parents: 59e536a
Author: Preston Carman <[email protected]>
Authored: Thu Mar 20 16:29:21 2014 -0700
Committer: Preston Carman <[email protected]>
Committed: Tue Apr 1 20:56:25 2014 -0700

----------------------------------------------------------------------
 .../hashfunction/VXQueryRawBinaryHashFunctionFactory.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/f44744f7/vxquery-core/src/main/java/org/apache/vxquery/runtime/factory/hashfunction/VXQueryRawBinaryHashFunctionFactory.java
----------------------------------------------------------------------
diff --git 
a/vxquery-core/src/main/java/org/apache/vxquery/runtime/factory/hashfunction/VXQueryRawBinaryHashFunctionFactory.java
 
b/vxquery-core/src/main/java/org/apache/vxquery/runtime/factory/hashfunction/VXQueryRawBinaryHashFunctionFactory.java
index e9b1529..3f9a5ad 100644
--- 
a/vxquery-core/src/main/java/org/apache/vxquery/runtime/factory/hashfunction/VXQueryRawBinaryHashFunctionFactory.java
+++ 
b/vxquery-core/src/main/java/org/apache/vxquery/runtime/factory/hashfunction/VXQueryRawBinaryHashFunctionFactory.java
@@ -18,7 +18,7 @@ package org.apache.vxquery.runtime.factory.hashfunction;
 
 import edu.uci.ics.hyracks.api.dataflow.value.IBinaryHashFunction;
 import edu.uci.ics.hyracks.api.dataflow.value.IBinaryHashFunctionFactory;
-import 
edu.uci.ics.hyracks.data.std.accessors.UTF8StringBinaryHashFunctionFamily;
+import 
edu.uci.ics.hyracks.data.std.accessors.MurmurHash3BinaryHashFunctionFamily;
 
 public class VXQueryRawBinaryHashFunctionFactory implements 
IBinaryHashFunctionFactory {
     private static final long serialVersionUID = 1L;
@@ -32,7 +32,7 @@ public class VXQueryRawBinaryHashFunctionFactory implements 
IBinaryHashFunctionF
     @Override
     public IBinaryHashFunction createBinaryHashFunction() {
 
-        return 
UTF8StringBinaryHashFunctionFamily.INSTANCE.createBinaryHashFunction(1);
+        return 
MurmurHash3BinaryHashFunctionFamily.INSTANCE.createBinaryHashFunction(1);
 
     }
 

Reply via email to