datafusion_functions_window::rank

Function rank

Source
pub fn rank() -> Expr
Expand description

Create a WindowFunction expression for Rank user-defined window function.

Returns rank of the current row with gaps. Same as row_number of its first peer