@Test
  public void testFlatten() {
    verifyFlatten(new LongColumnVector());
    verifyFlatten(new DoubleColumnVector());
    verifyFlatten(new BytesColumnVector());
  }
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