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

Function AssertUnsetMinMax

cpp/src/parquet/statistics_test.cc:1318–1323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316
1317template <typename Stats, typename Array>
1318void AssertUnsetMinMax(Stats stats, const Array& values) {
1319 stats->Update(values.data(), values.size(), 0);
1320 ASSERT_FALSE(stats->HasMinMax());
1321 ASSERT_FALSE(stats->is_min_value_exact().has_value());
1322 ASSERT_FALSE(stats->is_max_value_exact().has_value());
1323}
1324
1325template <typename Stats, typename Array>
1326void AssertUnsetMinMax(Stats stats, const Array& values, const uint8_t* valid_bitmap) {

Callers 2

CheckNaNsMethod · 0.85
TESTFunction · 0.85

Calls 8

HasMinMaxMethod · 0.80
is_min_value_exactMethod · 0.80
is_max_value_exactMethod · 0.80
CountSetBitsFunction · 0.50
UpdateMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
UpdateSpacedMethod · 0.45

Tested by

no test coverage detected