dongjoon-hyun commented on PR #54280:
URL: https://github.com/apache/spark/pull/54280#issuecomment-3888793736
Thank you, @pan3793 . If there is any issue for any known downstream
projects, we may want to change like the following conservatively later. In the
following alternative, there is no side-effect for normal successful case.
```scala
if (writer.exists(_.checkError())) {
logWarning("Spark detects errors while closing event logs.")
hadoopDataStream.foreach(_.close())
}
```
--
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]