pitrou commented on code in PR #43599:
URL: https://github.com/apache/arrow/pull/43599#discussion_r1835437414
##########
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:
Similar nit
```suggestion
const auto& row_group_sorting_columns =
group_metadata->sorting_columns();
```
##########
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:
Nit
```suggestion
const auto& sorting_columns = group_metadata->sorting_columns();
```
--
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]