xudong963 commented on issue #18860: URL: https://github.com/apache/datafusion/issues/18860#issuecomment-3566674121
@2010YOUY01 The limit pruning is at the row group/page level. We can see the partition in the above pic as a row group or a page in Parquet. Without this limit pruning feature, we need to scan the partition2, partition 4 isn't needed due to the current early stop mentioned by @alamb . After the feature, the partition2 can be skipped, what we need to do is give the partition3(rg3) a RowSelector(limit) then return the expected results, -- 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]
