Skip to content

Commit

Permalink
Just for test
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Dec 9, 2024
1 parent 9788057 commit c2c20c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions velox/exec/WindowPartition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,9 @@ void WindowPartition::updateKRangeFrameBounds(
// [0, currentRow] are examined. For following bounds, rows between
// [currentRow, numRows()) are checked.
if (isPreceding) {
start =
lastFoundIndex == -1 ? 0 : std::min(lastFoundIndex, numRows - 1);
start = 0;
// start =
// lastFoundIndex == -1 ? 0 : std::min(lastFoundIndex, numRows - 1);
end = currentRow + 1;
} else {
start = lastFoundIndex == -1 ? currentRow
Expand Down

0 comments on commit c2c20c7

Please sign in to comment.