// insert a variable number of reads
if (readEntries != null){
results = client.runQuery(UserProtos.QueryType.LOGICAL, (Files.toString(FileUtils.getResourceAsFile(plan), Charsets.UTF_8).replaceFirst( "&REPLACED_IN_PARQUET_TEST&", readEntries)));
}
else{
results = client.runQuery(UserProtos.QueryType.LOGICAL, Files.toString(FileUtils.getResourceAsFile(plan), Charsets.UTF_8));
}
// List<QueryResultBatch> results = client.runQuery(UserProtos.QueryType.PHYSICAL, Files.toString(FileUtils.getResourceAsFile("/parquet_scan_union_screen_physical.json"), Charsets.UTF_8));
long D = System.nanoTime();
System.out.println(String.format("Took %f s to start drillbit", (float)(B-A) / 1E9));
System.out.println(String.format("Took %f s to connect", (float)(C-B) / 1E9));