[ https://issues.apache.org/jira/browse/HIVE-10131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394216#comment-14394216 ]
Matt McCline commented on HIVE-10131: ------------------------------------- Observed that the join code really just wants to know if the number of values is: 0, 1, or more_than_1. Adding new methods hasRows and isSingleRow so those conditions can be tests without using rowCount. Replacing list of ByteSegmentRef with a result object that can read the values one-by-one. > LLAP: BytesBytesMultiHashMap and mapjoin container should reuse refs > -------------------------------------------------------------------- > > Key: HIVE-10131 > URL: https://issues.apache.org/jira/browse/HIVE-10131 > Project: Hive > Issue Type: Sub-task > Reporter: Sergey Shelukhin > Assignee: Matt McCline > > Refs are always allocated and cleared. Should be reused. > Iterator is another option -- This message was sent by Atlassian JIRA (v6.3.4#6332)