namanjain24-sudo commented on issue #26690:
URL: https://github.com/apache/datafusion/issues/26690#issuecomment-7303379251

   This no longer reproduces, and the boundary is #26719. On `8b88a86a7`, its 
parent, the two queries return 5 and 0 exactly as reported; on `32bd81fb2` they 
both return 10, as they do on current main.
   
   The plan is the difference. `SortPreservingMergeExec` now carries a fetch of 
15 rather than 10, which is the `skip + fetch` this issue asked for:
   
   ```text
   GlobalLimitExec: skip=5, fetch=10
     SortPreservingMergeExec: [a@0 ASC NULLS LAST], fetch=15
       DataSourceExec: file_groups={2 groups}, output_ordering=[a@0 ASC NULLS 
LAST]
   ```
   
   Probably safe to close.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to