You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/02 04:35:09 UTC

[GitHub] [spark] HeartSaVioR commented on a change in pull request #26693: [MINOR][SS] Note that writer should not be closed in RateStreamMicroBatchStream.serialize

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org