public void addPartitionColsToBatch(ColumnVector[] cols, Object[] partitionValues)
  {
    int[] colIndices = IntStream.range(dataColumnCount, dataColumnCount + partitionColumnCount).toArray();

    if (partitionValues != null) {
      for (int i = 0; i < colIndices.length; i++) {
        int colIndex = colIndices[i];
        addPartitionColsToBatch(cols[colIndex], partitionValues[i], colIndex);
      }
    }
  }
Add the partition values to the batch

@param batch
@param partitionValues
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java