[ 
https://issues.apache.org/jira/browse/HIVE-24037?focusedWorklogId=595452&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-595452
 ]

ASF GitHub Bot logged work on HIVE-24037:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/May/21 16:23
            Start Date: 12/May/21 16:23
    Worklog Time Spent: 10m 
      Work Description: pgaref commented on a change in pull request #2004:
URL: https://github.com/apache/hive/pull/2004#discussion_r631202108



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTableWrapper.java
##########
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast;
+
+import org.apache.hadoop.hive.ql.metadata.HiveException;
+import org.apache.hadoop.io.BytesWritable;
+
+import java.io.IOException;
+
+public abstract class VectorMapJoinFastHashTableWrapper {
+
+  public abstract long calculateLongHashCode(long key, BytesWritable 
currentKey) throws HiveException, IOException;
+
+  public abstract long deserializeToKey(BytesWritable currentKey) throws 
HiveException, IOException;

Review comment:
       Maybe have a default impl of deserializeToKey() throwing an exception or 
returning 0 and only have Long implementations to Override?




-- 
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 595452)
    Time Spent: 2h 10m  (was: 2h)

> Parallelize hash table constructions in map joins
> -------------------------------------------------
>
>                 Key: HIVE-24037
>                 URL: https://issues.apache.org/jira/browse/HIVE-24037
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ramesh Kumar Thangarajan
>            Assignee: Ramesh Kumar Thangarajan
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Parallelize hash table constructions in map joins



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to