[SPARK-2650][SQL] Build column buffers in smaller batches