@Before public void init() { drillConfig = DrillConfig.create(); allocator = RootAllocatorFactory.newRoot(drillConfig); }
public PrintingResultsListener(DrillConfig config, Format format, int columnWidth) { this.allocator = RootAllocatorFactory.newRoot(config); loader = new RecordBatchLoader(allocator); this.format = format; this.columnWidth = columnWidth; }