HeartSaVioR commented on a change in pull request #26693: [MINOR][SS] Note that
writer should not be closed in RateStreamMicroBatchStream.serialize
URL: https://github.com/apache/spark/pull/26693#discussion_r352417319
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/sources/RateStreamMicroBatchStream.scala
##########
@@ -62,6 +62,7 @@ class RateStreamMicroBatchStream(
val metadataLog =
new HDFSMetadataLog[LongOffset](session.get, checkpointLocation) {
+ // Writer should not close the given stream when overriding methods.
Review comment:
@HyukjinKwon
OK. Seems like that would be the better approach to achieve with less
effort. I'll submit a PR soon.
@xy2953396112
No worries about the authorship/credit even I would submit a new PR - you'll
be recorded as one of co-authors.
----------------------------------------------------------------
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]