raulcd commented on code in PR #46992: URL: https://github.com/apache/arrow/pull/46992#discussion_r2297776956
########## cpp/src/parquet/statistics_test.cc: ########## @@ -1598,31 +1642,104 @@ TEST(TestStatisticsSortOrderMinMax, Unsigned) { ASSERT_EQ(12, stats->num_values()); ASSERT_EQ(0x00, stats->EncodeMin()[0]); ASSERT_EQ(0x0b, stats->EncodeMax()[0]); + std::shared_ptr<EncodedStatistics> enc_stats = column_chunk->encoded_statistics(); + ASSERT_FALSE(enc_stats->is_max_value_exact.has_value()); + ASSERT_FALSE(enc_stats->is_min_value_exact.has_value()); +} + +// Test statistics for binary column with truncated max and min values +TEST(TestStatisticsTruncatedMinMax, Unsigned) { Review Comment: Updated test name, it was a cop&paste error from a different test. -- 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