----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64819/#review194716 -----------------------------------------------------------
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/TestVectorMapJoinFastBytesHashMap.java Lines 308 (patched) <https://reviews.apache.org/r/64819/#comment273646> For complete checking, you could set a boolean before the try, set it int he catch block, and assert it afterwards... - Matt McCline On Jan. 3, 2018, 8:25 p.m., Deepak Jaiswal wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/64819/ > ----------------------------------------------------------- > > (Updated Jan. 3, 2018, 8:25 p.m.) > > > Review request for hive and Matt McCline. > > > Bugs: HIVE-18335 > https://issues.apache.org/jira/browse/HIVE-18335 > > > Repository: hive-git > > > Description > ------- > > VectorMapJoinFastBytesHashTable.allocateBucketArray() needs to check bounds > before allocating array. > > Added a unit test. > > > Diffs > ----- > > > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastBytesHashTable.java > 89087e1450 > > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastLongHashTable.java > f610653640 > > ql/src/test/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/TestVectorMapJoinFastBytesHashMap.java > 905180431f > > ql/src/test/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/TestVectorMapJoinFastLongHashMap.java > 315a54dde5 > > > Diff: https://reviews.apache.org/r/64819/diff/3/ > > > Testing > ------- > > > Thanks, > > Deepak Jaiswal > >