MCPcopy Create free account
hub / github.com/apache/arrow / ArrayStatisticsEqualsImpl

Function ArrayStatisticsEqualsImpl

cpp/src/arrow/compare.cc:1562–1579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1560}
1561
1562bool ArrayStatisticsEqualsImpl(const ArrayStatistics& left, const ArrayStatistics& right,
1563 const EqualOptions& equal_options) {
1564 return ArrayStatisticsOptionalValueEquals(left.row_count, right.row_count,
1565 equal_options) &&
1566 ArrayStatisticsOptionalValueEquals(left.null_count, right.null_count,
1567 equal_options) &&
1568 ArrayStatisticsOptionalValueEquals(left.distinct_count, right.distinct_count,
1569 equal_options) &&
1570 ArrayStatisticsOptionalValueEquals(left.max_byte_width, right.max_byte_width,
1571 equal_options) &&
1572 left.is_average_byte_width_exact == right.is_average_byte_width_exact &&
1573 left.is_min_exact == right.is_min_exact &&
1574 left.is_max_exact == right.is_max_exact &&
1575 ArrayStatisticsOptionalValueEquals(left.average_byte_width,
1576 right.average_byte_width, equal_options) &&
1577 ArrayStatisticsOptionalValueEquals(left.min, right.min, equal_options) &&
1578 ArrayStatisticsOptionalValueEquals(left.max, right.max, equal_options);
1579}
1580
1581} // namespace
1582

Callers 1

ArrayStatisticsEqualsFunction · 0.85

Calls 1

Tested by

no test coverage detected