[
https://issues.apache.org/jira/browse/HIVE-15892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867032#comment-15867032
]
Jason Dere commented on HIVE-15892:
-----------------------------------
Looks like this throws a more user-friendly error message - but this condition
will still fail the query? Is there a way to get the query to not fail? Or is
it that this table should not have been selected for hash join in the first
place?
> Vectorization: Fast Hash tables need to do bounds checking during expand
> ------------------------------------------------------------------------
>
> Key: HIVE-15892
> URL: https://issues.apache.org/jira/browse/HIVE-15892
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Matt McCline
> Assignee: Matt McCline
> Priority: Critical
> Attachments: HIVE-15892.01.patch, HIVE-15892.02.patch
>
>
> VectorMapJoinFastLongHashTable line 165 gets NegativeArraySizeException:
> {code}
> long[] newSlotPairs = new long[newSlotPairArraySize];
> {code}
> We need to add a size check... Java math for this wrapped around to negative:
> {code}
> int newSlotPairArraySize = newLogicalHashBucketCount * 2;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)