build report csv in chunks instead of big query