gaborgsomogyi commented on issue #27620: [SPARK-30866][SS] FileStreamSource: 
Cache fetched list of files beyond maxFilesPerTrigger as unread files
URL: https://github.com/apache/spark/pull/27620#issuecomment-614620976
 
 
   > > Just wondering what would happen in the following scenario?
   > > "latestFirst" -> "true"
   > > "maxFilesPerTrigger" -> "5"
   > > 6 files are available and 5 processed in batch0 -> 1 stored in 
unreadFiles
   > > 1 new file arrives
   > > batch1 processed in next round
   > > The question is with what content will be batch1 executed?
   > 
   > I've explained the condition when the functionality takes effect in the 
description of PR - it won't cache the list of files if latestFirst is true, so 
it should be same as it is.
   
   Wanted to write `"latestFirst" -> "false"` but with the modified config my 
question still stands.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to