Function mz_expr::relation::func::dense_rank
source ยท fn dense_rank<'a, I>(
datums: I,
callers_temp_storage: &'a RowArena,
order_by: &[ColumnOrder],
) -> Datum<'a>where
I: IntoIterator<Item = Datum<'a>>,
Expand description
The expected input is in the format of [((OriginalRow, [EncodedArgs]), OrderByExprs...)]
The output is in the format of [result_value, original_row]
.
See an example at lag_lead
, where the input-output formats are similar.