[ https://issues.apache.org/jira/browse/HIVE-28532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884036#comment-17884036 ]
Ramesh Kumar Thangarajan commented on HIVE-28532: ------------------------------------------------- Yes, thank you [~dkuzmenko] . I will update the Jira description accordingly. > Map Join Reuse cache allows to share hashtables for Outer join and Inner join > ----------------------------------------------------------------------------- > > Key: HIVE-28532 > URL: https://issues.apache.org/jira/browse/HIVE-28532 > Project: Hive > Issue Type: Bug > Security Level: Public(Viewable by anyone) > Components: Logical Optimizer > Affects Versions: 4.0.0 > Reporter: Ramesh Kumar Thangarajan > Assignee: Ramesh Kumar Thangarajan > Priority: Major > > Map Join Reuse cache allows to share hashtables for Outer join and Inner > join. But we cannot reuse a hash table for a non-outer join vs outer join. > Because outer join cannot accept the hash table kind other than HASHMAP, > whereas there are other types like HASHSET and HASH_MULTISET. > {code} > Caused by: java.lang.ClassCastException: class > org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastStringHashMultiSetContainer > cannot be cast to class > org.apache.hadoop.hive.ql.exec.vector.mapjoin.hashtable.VectorMapJoinHashMap > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)