Skip to content

Commit

Permalink
fix(calcite): use upperBound util when converting upperBound (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarua authored Sep 12, 2023
1 parent 9000e5f commit b90432d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public RexNode visit(Expression.WindowFunctionInvocation expr) throws RuntimeExc
.collect(ImmutableList.toImmutableList());

RexWindowBound lowerBound = ToRexWindowBound.lowerBound(rexBuilder, expr.lowerBound());
RexWindowBound upperBound = ToRexWindowBound.lowerBound(rexBuilder, expr.upperBound());
RexWindowBound upperBound = ToRexWindowBound.upperBound(rexBuilder, expr.upperBound());

boolean rowMode =
switch (expr.boundsType()) {
Expand Down

0 comments on commit b90432d

Please # to comment.