diff --git a/src/expr/impl/src/window_function/buffer.rs b/src/expr/impl/src/window_function/buffer.rs index 2481f172cb5b5..0f8e9dcf7fd75 100644 --- a/src/expr/impl/src/window_function/buffer.rs +++ b/src/expr/impl/src/window_function/buffer.rs @@ -244,7 +244,7 @@ pub(super) trait WindowImpl { /// Recalculate the left and right indices of the current window, according to the latest /// `curr_idx` and the hint. fn recalculate_left_right( - &self, + &mut self, window: BufferRefMut<'_, Self::Key, Self::Value>, hint: RecalculateHint, ); @@ -319,7 +319,7 @@ impl WindowImpl for RowsWindow { } fn recalculate_left_right( - &self, + &mut self, window: BufferRefMut<'_, Self::Key, Self::Value>, _hint: RecalculateHint, ) { @@ -401,7 +401,7 @@ impl WindowImpl for RangeWindow { } fn recalculate_left_right( - &self, + &mut self, window: BufferRefMut<'_, Self::Key, Self::Value>, _hint: RecalculateHint, ) {