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-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to