squito commented on a change in pull request #23453: [SPARK-26089][CORE] Handle
corruption in large shuffle blocks
URL: https://github.com/apache/spark/pull/23453#discussion_r254874021
##########
File path: core/src/main/scala/org/apache/spark/util/Utils.scala
##########
@@ -338,12 +338,10 @@ private[spark] object Utils extends Logging {
/**
* Copy all data from an InputStream to an OutputStream upto maxSize and
- * closes the input stream if closeStreams is true and all data is read.
+ * close the input stream if all data is read.
+ * @return A combined stream of read data and any remaining data
Review comment:
update the doc, the return value is a tuple
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]