fn is_end_bound_safe_for_rows(end_bound: &WindowFrameBound) -> Result<bool>Expand description
For row-based window frames, determines whether the end bound calculation
is safe, which is trivially the case for Preceding and CurrentRow bounds.
For ‘Following’ bounds, it compares the bound value to zero to ensure that
it doesn’t extend beyond the current row.
§Parameters
end_bound: Reference to the window frame bound in question.
§Returns
A Result indicating whether the end bound is safe for row-based window frames.