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


##########
cpp/src/parquet/column_writer.h:
##########
@@ -136,8 +138,15 @@ class PARQUET_EXPORT ColumnWriter {
 
   /// \brief The total number of bytes written as serialized data and
   /// dictionary pages to the ColumnChunk so far
+  /// These bytes are uncompressed bytes.
   virtual int64_t total_bytes_written() const = 0;
 
+  /// \brief The total number of bytes written as serialized data and
+  /// dictionary pages to the ColumnChunk so far.
+  /// If the column is uncompressed, the value would be equal to

Review Comment:
   Column Chunk Metadata will not be added to count. And both the compressed 
size and uncompressed would be written to column chunk.
   
   page header will not be compressed.



-- 
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]

Reply via email to