MCPcopy Create free account
hub / github.com/apache/datafusion / test_with_rank

Function test_with_rank

datafusion/functions-window/src/rank.rs:377–379  ·  view source on GitHub ↗
(expr: &Rank, expected: Vec<u64>)

Source from the content-addressed store, hash-verified

375 use datafusion_common::cast::{as_float64_array, as_uint64_array};
376
377 fn test_with_rank(expr: &Rank, expected: Vec<u64>) -> Result<()> {
378 test_i32_result(expr, vec![0..2, 2..3, 3..6, 6..7, 7..8], expected)
379 }
380
381 #[expect(clippy::single_range_in_vec_init)]
382 fn test_without_rank(expr: &Rank, expected: Vec<u64>) -> Result<()> {

Callers 2

test_rankFunction · 0.85
test_dense_rankFunction · 0.85

Calls 1

test_i32_resultFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…