Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ numbered
Function
numbered
nodedb-query/src/window/eval.rs:92–96 ·
view source on GitHub ↗
(n: usize)
Source
from the content-addressed store, hash-verified
90
}
91
92
fn numbered(n: usize) -> Vec<(String, serde_json::Value)> {
93
(1..=n)
94
.map(|i| (i.to_string(), json!({
"n"
: i })))
95
.collect()
96
}
97
98
#[test]
99
fn row_number_single_partition() {
Callers
4
percent_rank_distinct_keys
Function · 0.70
cume_dist_distinct_keys
Function · 0.70
nth_value_returns_nth_then_holds
Function · 0.70
unknown_function_panics_at_evaluator
Function · 0.70
Calls
2
collect
Method · 0.80
to_string
Method · 0.80
Tested by
3
percent_rank_distinct_keys
Function · 0.56
cume_dist_distinct_keys
Function · 0.56
nth_value_returns_nth_then_holds
Function · 0.56