wangshuo128 commented on PR #12624: URL: https://github.com/apache/doris/pull/12624#issuecomment-1248907320
> In my understanding, limit contains valid offset if and only if its child is a sort node. Yes, a valid plan should not have consecutive limits that both have valid offset but on sort between them. This is to restrict the condition that the rule can apply. We could have a check logic to check a limit plan with a valid offset but its child is not a sort node. -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org