Skip to content

Commit

Permalink
Fix window frame check
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiafi committed Jun 21, 2021
1 parent f304a34 commit 53deff6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ public PhysicalOperation visitPatternRecognition(PatternRecognitionNode node, Lo
.map(baseFrame -> {
checkArgument(
baseFrame.getType() == ROWS &&
baseFrame.getEndType() == CURRENT_ROW,
baseFrame.getStartType() == CURRENT_ROW,
"invalid base frame");
return new FrameInfo(
baseFrame.getType(),
Expand Down

0 comments on commit 53deff6

Please sign in to comment.