DRILL-1839: Clean up complex writers per batch if project has a ComplexWriter function evaluation