mapleFU commented on code in PR #33897:
URL: https://github.com/apache/arrow/pull/33897#discussion_r1102437255


##########
cpp/src/parquet/stream_writer.cc:
##########
@@ -294,7 +294,6 @@ void StreamWriter::EndRow() {
     }
     // Initialize for each row with size already written
     // (compressed + uncompressed).
-    //
     row_group_size_ = row_group_writer_->total_bytes_written() +
                       row_group_writer_->total_compressed_bytes();

Review Comment:
   I guess here is better to use `total_compressed_bytes_written` + 
`total_compressed_bytes()`



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to