HyukjinKwon commented on pull request #34187:
URL: https://github.com/apache/spark/pull/34187#issuecomment-935183053


   BTW, just for extra classification, the input data is already fully read 
from the file at that point: 
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/source/image/ImageFileFormat.scala#L77-L83
   
   So it won't likely a failure from reading it from actual FS. Yes, it is 
still possible that the disk holds a corrupt data but .. I don't think there 
are other things we can do in this case .. other sources like CSV, Text or JSON 
sources won't likely be able to them either.


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