wgtmac commented on issue #33710: URL: https://github.com/apache/arrow/issues/33710#issuecomment-1413438937
I have checked this again and found that it is non-trivial to make the change. In short, `WriteRecordBatch` is subject to max number of rows allowed in a row group. So it may slice the input record batch and write the sliced batches into different row groups in order. Please check here for reference: https://github.com/apache/arrow/blob/master/cpp/src/parquet/arrow/writer.cc#L454 To implement `WriteRecordBatchAsync`, we need to call `ParallelForAsync` for each sliced batch and chain the returned futures so that they can be executed in order. CMIW, we don't have the utility to support this yet. Any suggestion? @westonpace @lidavidm -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
