itiels commented on code in PR #3325:
URL: https://github.com/apache/calcite/pull/3325#discussion_r1376334494


##########
core/src/main/java/org/apache/calcite/sql/SqlWindow.java:
##########
@@ -610,8 +610,10 @@ public boolean isAllowPartial() {
       if (orderList.size() > 0) {
         // if order by is a compound list then range not allowed
         if (orderList.size() > 1 && !isRows()) {
-          throw validator.newValidationError(isRows,
-              RESOURCE.compoundOrderByProhibitsRange());
+          if (!onlyLiteralBounds(lowerBound, upperBound)) {

Review Comment:
   Added test case



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to