This is an automated email from the ASF dual-hosted git repository.

hashutosh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new abf8c24  HIVE-22814 : ArrayIndexOutOfBound in the vectorization 
getDataTypePhysicalVariation (Ramesh Kumar via Ashutosh Chauhan)
abf8c24 is described below

commit abf8c24541ee3483d583cd41739148b161feb40a
Author: Ramesh Kumar Thangarajan <rameshku...@cloudera.com>
AuthorDate: Fri Feb 14 12:33:04 2020 -0800

    HIVE-22814 : ArrayIndexOutOfBound in the vectorization 
getDataTypePhysicalVariation (Ramesh Kumar via Ashutosh Chauhan)
    
    Signed-off-by: Ashutosh Chauhan <hashut...@apache.org>
---
 .../hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinCommonOperator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinCommonOperator.java
 
b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinCommonOperator.java
index fdbfe22..75e9f52 100644
--- 
a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinCommonOperator.java
+++ 
b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinCommonOperator.java
@@ -697,7 +697,7 @@ private static final Logger LOG = 
LoggerFactory.getLogger(CLASS_NAME);
     // Now, add any scratch columns needed for children operators.
     int outputColumn = initialColumnCount;
     for (String typeName : vOutContext.getScratchColumnTypeNames()) {
-      allocateOverflowBatchColumnVector(overflowBatch, outputColumn++, 
typeName, vOutContext.getDataTypePhysicalVariation(outputColumn));
+      allocateOverflowBatchColumnVector(overflowBatch, outputColumn, typeName, 
vOutContext.getDataTypePhysicalVariation(outputColumn++));
     }
 
     overflowBatch.projectedColumns = outputProjection;

Reply via email to