MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / rows_v

Function rows_v

nodedb-query/src/window/value_eval.rs:495–497  ·  view source on GitHub ↗

Single-column rows under name "v"; the window result lands at index 1.

(vals: &[i64])

Source from the content-addressed store, hash-verified

493
494 /// Single-column rows under name "v"; the window result lands at index 1.
495 fn rows_v(vals: &[i64]) -> Vec<Vec<Value>> {
496 vals.iter().map(|&v| vec![Value::Integer(v)]).collect()
497 }
498
499 fn out_int(rows: &[Vec<Value>], col_idx: usize) -> Vec<i64> {
500 rows.iter()

Callers 9

row_number_sequentialFunction · 0.70
rank_handles_tiesFunction · 0.70
dense_rank_handles_tiesFunction · 0.70
ntile_bucketsFunction · 0.70
lag_default_and_offsetFunction · 0.70
lead_boundaryFunction · 0.70
unknown_function_errorsFunction · 0.70

Calls 2

collectMethod · 0.80
iterMethod · 0.45

Tested by 9

row_number_sequentialFunction · 0.56
rank_handles_tiesFunction · 0.56
dense_rank_handles_tiesFunction · 0.56
ntile_bucketsFunction · 0.56
lag_default_and_offsetFunction · 0.56
lead_boundaryFunction · 0.56
unknown_function_errorsFunction · 0.56