comphead commented on code in PR #20592:
URL: https://github.com/apache/datafusion/pull/20592#discussion_r2874889962


##########
datafusion/datasource/src/file_stream.rs:
##########
@@ -179,6 +181,13 @@ impl FileStream {
                                         batch
                                     } else {
                                         let batch = batch.slice(0, *remain);
+                                        // Count this file, the prefetched 
next file

Review Comment:
   ```
                                           // Count this file, the prefetched 
next file
                                           // (if any), and all remaining files 
we will
                                           // never open.
   ```
   
   I read it twice and prob need some help to understand what files are being 
counted here? if they never opened how come we need to count them as closed?



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