gaborgsomogyi commented on a change in pull request #31495:
URL: https://github.com/apache/spark/pull/31495#discussion_r595573201
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/CheckpointFileManager.scala
##########
@@ -277,7 +277,6 @@ class FileSystemBasedCheckpointFileManager(path: Path,
hadoopConf: Configuration
fs.delete(path, true)
} catch {
case e: FileNotFoundException =>
- logInfo(s"Failed to delete $path as it does not exist")
Review comment:
In the meantime I was digging the code and now I see why the if was
needed. Calling `delete` blindly is really a speedup.
False-alarm is the key to my question, thanks!
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]