pgaref commented on a change in pull request #2004:
URL: https://github.com/apache/hive/pull/2004#discussion_r631139021



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTableLoader.java
##########
@@ -54,11 +61,73 @@
 
   private static final Logger LOG = 
LoggerFactory.getLogger(VectorMapJoinFastHashTableLoader.class.getName());
 
+  public static class HashTableElement {
+    byte[] keyBytes;
+    int keyLength;
+    byte[] valueBytes;
+    int valueLength;
+    long deserializeKey;
+    long hashCode;
+
+    public HashTableElement(byte[] keyBytes, int keyLength, byte[] valueBytes, 
int valueLength, long key, long hashCode) {

Review comment:
       KeyLen and ValueLen seems redundant ? copyBytes goes up to size() 
anyway..




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to