kou commented on code in PR #47463:
URL: https://github.com/apache/arrow/pull/47463#discussion_r2326077293
##########
cpp/src/arrow/array/statistics.h:
##########
@@ -82,6 +83,11 @@ struct ARROW_EXPORT ArrayStatistics {
/// and when set to `double`, it represents `approximate_distinct_count`.
std::optional<CountType> distinct_count = std::nullopt;
+ /// \brief The maximum length in bytes among the rows of an array, may not
be set
Review Comment:
The `average_byte_width` document uses "of a row" but this uses "among the
rows". What is the difference of them?
What is expected `max_byte_width` for `["a", "ab", "abc", "x"]`? I think
it's `3` (`max(1, 2, 3, 1)`). Does "among the rows" means `7` (`1 + 2 + 3 +
1`)?
--
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]