client.connect();
RecordBatchLoader batchLoader = new RecordBatchLoader(bit1.getContext().getAllocator());
ParquetResultListener resultListener = new ParquetResultListener(batchLoader, props);
long C = System.nanoTime();
if (readEntries != null){
client.runQuery(UserProtos.QueryType.LOGICAL, (Files.toString(FileUtils.getResourceAsFile(plan), Charsets.UTF_8).replaceFirst( "&REPLACED_IN_PARQUET_TEST&", readEntries)), resultListener);
}
else{
client.runQuery(UserProtos.QueryType.LOGICAL, Files.toString(FileUtils.getResourceAsFile(plan), Charsets.UTF_8), resultListener);
}
resultListener.getResults();