clintropolis commented on a change in pull request #10279:
URL: https://github.com/apache/druid/pull/10279#discussion_r474231095
##########
File path: sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java
##########
@@ -897,6 +906,11 @@ public GroupByQuery toGroupByQuery()
return null;
}
+ if (sorting != null && sorting.getOffsetLimit().hasLimit() &&
sorting.getOffsetLimit().getLimit() <= 0) {
Review comment:
can limit be less than 0 here because of the preconditions in
`OffsetLimit`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]