You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by steveloughran <gi...@git.apache.org> on 2018/04/23 17:44:10 UTC

[GitHub] spark pull request #19404: [SPARK-21760] [Streaming] Fix for Structured stre...

Github user steveloughran commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19404#discussion_r183480609
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/HDFSMetadataLog.scala ---
    @@ -123,6 +123,7 @@ class HDFSMetadataLog[T <: AnyRef : ClassTag](sparkSession: SparkSession, path:
               serialize(metadata, output)
               return Some(tempPath)
             } finally {
    +          output.hflush()
    --- End diff --
    
    not needed, close will do it.


---

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