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

Function all_default_window_functions

datafusion/functions-window/src/lib.rs:69–83  ·  view source on GitHub ↗

Returns all default window functions

()

Source from the content-addressed store, hash-verified

67
68/// Returns all default window functions
69pub fn all_default_window_functions() -> Vec<Arc<WindowUDF>> {
70 vec![
71 cume_dist::cume_dist_udwf(),
72 row_number::row_number_udwf(),
73 lead_lag::lead_udwf(),
74 lead_lag::lag_udwf(),
75 rank::rank_udwf(),
76 rank::dense_rank_udwf(),
77 rank::percent_rank_udwf(),
78 ntile::ntile_udwf(),
79 nth_value::first_value_udwf(),
80 nth_value::last_value_udwf(),
81 nth_value::nth_value_udwf(),
82 ]
83}
84/// Registers all enabled packages with a [`FunctionRegistry`]
85pub fn register_all(
86 registry: &mut dyn FunctionRegistry,

Callers 1

register_allFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…