datafusion_functions_window::lead_lag

Function lead_udwf

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

Returns a WindowUDF for lead.

Returns the value from a row that follows the current row by a specified offset within the partition. If no such row exists, then returns the default value.