You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "xiangfu0 (via GitHub)" <gi...@apache.org> on 2023/09/01 03:09:45 UTC
[GitHub] [pinot] xiangfu0 commented on a diff in pull request #11479: [multistage] bugfix: override leaf query limit to 0 if set explicitly from outside
xiangfu0 commented on code in PR #11479:
URL: https://github.com/apache/pinot/pull/11479#discussion_r1312484141
##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/plan/server/ServerPlanRequestVisitor.java:
##########
@@ -160,10 +160,10 @@ public Void visitSort(SortNode node, ServerPlanRequestContext context) {
if (node.getCollationKeys().size() > 0) {
pinotQuery.setOrderByList(CalciteRexExpressionParser.convertOrderByList(node, pinotQuery));
}
- if (node.getFetch() > 0) {
+ if (node.getFetch() >= 0) {
Review Comment:
done.
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org