pitrou commented on code in PR #46992:
URL: https://github.com/apache/arrow/pull/46992#discussion_r2298146191


##########
cpp/src/parquet/printer.cc:
##########
@@ -342,6 +350,22 @@ void ParquetFilePrinter::JSONPrint(std::ostream& stream, 
std::list<int> selected
                  << R"("Min": ")"
                  << FormatStatValue(descr->physical_type(), min, 
descr->logical_type())
                  << "\"";
+          if (stats->is_max_value_exact().has_value()) {
+            stream << ", "
+                   << R"("IsMaxValueExact": ")"
+                   << (stats->is_max_value_exact().value() ? "True" : "False") 
<< "\"";
+          } else {
+            stream << ", "
+                   << R"("IsMaxValueExact": "unknown")";

Review Comment:
   Well, it would break any tool processing the JSON output, but are there any? 



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