HeartSaVioR 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-615043179
 
 
   Hmm... I thought about that more, and maybe it's good to add a lower bar to 
avoid the weird case, listing files provides slightly more than 
maxFilesPerTrigger. The tricky part is deciding the condition to discard unread 
files (ratio based on maxFilesPerTrigger? static number?); logic to add would 
be straightforward.

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