Function datafusion_expr::window_frame::check_window_frame
source ยท pub fn check_window_frame(frame: &WindowFrame, order_bys: usize) -> Result<()>
Expand description
Checks if given window frame is valid. In particular, if the frame is RANGE with offset PRECEDING/FOLLOWING, it must have exactly one ORDER BY column.