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

    https://github.com/apache/spark/pull/21821#discussion_r203905148
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala ---
    @@ -254,7 +254,7 @@ final class DataFrameWriter[T] private[sql](ds: 
Dataset[T]) {
               val writer = ws.createWriter(jobId, df.logicalPlan.schema, mode, 
options)
               if (writer.isPresent) {
                 runCommand(df.sparkSession, "save") {
    -              WriteToDataSourceV2(writer.get(), df.logicalPlan)
    +              WriteToDataSourceV2(writer.get(), df.planWithBarrier)
    --- End diff --
    
    This change is not needed but it is safe to have. 


---

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

Reply via email to