hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McCline (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-15892) Vectorization: Fast Hash tables need to do bounds checking during expand
Date Mon, 13 Feb 2017 19:19:41 GMT
Matt McCline created HIVE-15892:
-----------------------------------

             Summary: 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


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)

Mime
View raw message