caicancai commented on code in PR #4119:
URL: https://github.com/apache/calcite/pull/4119#discussion_r1901427357


##########
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:
##########
@@ -777,6 +777,7 @@ protected void convertSelectImpl(
     // we would never remove the ORDER BY, because "ORDER BY ... LIMIT" is 
about
     // semantics. It is not a 'pure order'.
     if (RelOptUtil.isPureOrder(castNonNull(bb.root))
+        && !RelOptUtil.isOffset(castNonNull(bb.root))

Review Comment:
   It seems that the JavaDoc needs to be improved



-- 
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