Skip to content

Commit

Permalink
Add break
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Feb 27, 2024
1 parent 304bceb commit e1b310f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velox/exec/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ void Window::updateKRowsFrameBounds(
for (int i = 0; i < numRows; i++) {
if (startValue != (int32_t)startValue) {
std::fill(rawFrameBounds + i, rawFrameBounds + numRows, numRows - 1);
break;
} else {
*(rawFrameBounds + i) = startValue;
}
Expand Down

0 comments on commit e1b310f

Please sign in to comment.