datafusion_functions_window::rank

Function percent_rank_udwf

Source
pub fn percent_rank_udwf() -> Arc<WindowUDF>
Expand description

Returns a WindowUDF for percent_rank.

Returns the relative rank of the current row: (rank - 1) / (total rows - 1)