public static String getRandString(Random r, boolean isUnicodeOk) {
    return getRandString(r, r.nextInt(10), isUnicodeOk);
  }
Generate object inspector and random row object[].
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/VectorRandomRowSource.java