[client] Split huge data set to multiple batches for upload.