RecordBatchDef def = results.get(0).getHeader().getDef();
// the entire row is returned as a single column
assertEquals(1, def.getFieldCount());
// with setSupportComplexTypes == false, the column mode should be REQUIRED
assertTrue(def.getField(0).getMajorType().getMode() == DataMode.REQUIRED);
loader.clear();
for(QueryResultBatch result : results) {
result.release();
}
client.close();