hejfelix opened a new pull request #26891: Fix issue where `newFilesOnly` does 
nothing
URL: https://github.com/apache/spark/pull/26891
 
 
   this 
   ```scala
   // Calculate ignore threshold
   val modTimeIgnoreThreshold = math.max(
       initialModTimeIgnoreThreshold,   // initial threshold based on 
newFilesOnly setting
       currentTime - durationToRemember.milliseconds  // trailing end of the 
remember window
   )
   ```
   is equivalent to simply
   
   ```scala
   // Calculate ignore threshold
   val modTimeIgnoreThreshold = currentTime - durationToRemember.milliseconds
   ```
   whenever `initialModTimeIgnoreThreshold == 0`.

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