public static Object randomWritable(Random random, TypeInfo typeInfo,
      ObjectInspector objectInspector, boolean allowNull) {
    return randomWritable(
        random, typeInfo, objectInspector, DataTypePhysicalVariation.NONE, allowNull);
  }
Generate object inspector and random row object[].
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/VectorRandomRowSource.java