QueryResultBatch batch = results.get(0);
assertTrue(batchLoader.load(batch.getHeader().getDef(), batch.getData()));
assertEquals(5, batchLoader.getSchema().getFieldCount());
testExistentColumns(batchLoader, batch);
VectorWrapper vw = batchLoader.getValueAccessorById(
NullableIntVector.class, //
batchLoader.getValueVectorId(SchemaPath.getCompoundPath("non_existent_at_root")).getFieldIds() //
);
assertNull(vw.getValueVector().getAccessor().getObject(0));
assertNull(vw.getValueVector().getAccessor().getObject(1));
assertNull(vw.getValueVector().getAccessor().getObject(2));
vw = batchLoader.getValueAccessorById(
NullableIntVector.class, //
batchLoader.getValueVectorId(SchemaPath.getCompoundPath("non_existent", "nested","field")).getFieldIds() //
);
assertNull(vw.getValueVector().getAccessor().getObject(0));
assertNull(vw.getValueVector().getAccessor().getObject(1));
assertNull(vw.getValueVector().getAccessor().getObject(2));
vw.getValueVector().clear();
batch.release();
batchLoader.clear();
}