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

Function ArrayStatisticsEqualsImpl

cpp/src/arrow/compare.cc:1564–1581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

ArrayStatisticsEqualsFunction · 0.85

Calls 1

Tested by

no test coverage detected