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

Function CheckModeWithRange

cpp/src/arrow/compute/kernels/aggregate_test.cc:3290–3295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3288
3289template <typename ArrowType, typename CTYPE = typename ArrowType::c_type>
3290void CheckModeWithRange(CTYPE range_min, CTYPE range_max) {
3291 auto rand = random::RandomArrayGenerator(0x5487655);
3292 // 32K items (>= counting mode cutoff) within range, 10% null
3293 auto array = rand.Numeric<ArrowType>(32 * 1024, range_min, range_max, 0.1);
3294 VerifyMode<ArrowType>(array);
3295}
3296
3297template <typename ArrowType, typename CTYPE = typename ArrowType::c_type>
3298void CheckModeWithRangeSliced(CTYPE range_min, CTYPE range_max) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected