public class TestLoad {
@Test
public void testLoadValueVector() {
BufferAllocator allocator = BufferAllocator.getAllocator(null);
ValueVector fixedV = new IntVector(
MaterializedField.create(new SchemaPath("ints", ExpressionPosition.UNKNOWN), Types.required(MinorType.INT)),
allocator);
ValueVector varlenV = new VarCharVector(
MaterializedField.create(new SchemaPath("chars", ExpressionPosition.UNKNOWN), Types.required(MinorType.VARCHAR)),
allocator
);
ValueVector nullableVarlenV = new NullableVarCharVector(
MaterializedField.create(new SchemaPath("chars", ExpressionPosition.UNKNOWN), Types.optional(MinorType.VARCHAR)),
allocator
);
List<ValueVector> vectors = Lists.newArrayList(fixedV, varlenV, nullableVarlenV);
for (ValueVector v : vectors) {