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


##########
cpp/src/parquet/printer.cc:
##########
@@ -142,6 +142,15 @@ void ParquetFilePrinter::DebugPrint(std::ostream& stream, 
std::list<int> selecte
     stream << "--- Total Bytes: " << group_metadata->total_byte_size() << " 
---\n";
     stream << "--- Total Compressed Bytes: " << 
group_metadata->total_compressed_size()
            << " ---\n";
+    auto sorting_columns = group_metadata->sorting_columns();

Review Comment:
   ```c++
   std::vector<SortingColumn> RowGroupMetaData::sorting_columns() const
   ```
   
   Seems that this returns a vector directly, and just auto is ok here...



##########
cpp/src/parquet/printer.cc:
##########
@@ -285,6 +294,21 @@ void ParquetFilePrinter::JSONPrint(std::ostream& stream, 
std::list<int> selected
     stream << " \"TotalBytes\": \"" << group_metadata->total_byte_size() << 
"\", ";
     stream << " \"TotalCompressedBytes\": \"" << 
group_metadata->total_compressed_size()
            << "\", ";
+    auto row_group_sorting_columns = group_metadata->sorting_columns();

Review Comment:
   ditto



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