wgtmac commented on code in PR #15240:
URL: https://github.com/apache/arrow/pull/15240#discussion_r1065957184
##########
cpp/src/parquet/arrow/writer.h:
##########
@@ -114,6 +115,14 @@ class PARQUET_EXPORT FileWriter {
virtual ::arrow::Status WriteColumnChunk(
const std::shared_ptr<::arrow::ChunkedArray>& data) = 0;
+ /// \brief Start a new buffered row group.
+ ///
+ /// Returns an error if not all columns have been written.
+ virtual ::arrow::Status NewBufferedRowGroup() = 0;
+
+ /// \brief Write a RecordBatch into the buffered row group.
Review Comment:
Added more comments to clarify all behaviors mentioned above.
--
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]