public static void setRandomDoubleCol(DoubleColumnVector col) {
    int size = col.vector.length;
    Random rand = new Random();
    for(int i = 0; i != size; i++) {
      col.vector[i] = Math.abs(rand.nextInt() % 100);
    }
  }
Set the vector to random data in the range 0 to 99.
This has significant overhead for random number generation. Use setSample() to reduce overhead.
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorizedRowBatch.java