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

    https://github.com/apache/spark/pull/21305#discussion_r200824906
  
    --- Diff: 
sql/core/src/main/java/org/apache/spark/sql/sources/v2/WriteSupport.java ---
    @@ -38,15 +38,16 @@
        * If this method fails (by throwing an exception), the action will fail 
and no Spark job will be
        * submitted.
        *
    -   * @param jobId A unique string for the writing job. It's possible that 
there are many writing
    -   *              jobs running at the same time, and the returned {@link 
DataSourceWriter} can
    -   *              use this job id to distinguish itself from other jobs.
    +   * @param writeUUID A unique string for the writing job. It's possible 
that there are many writing
    --- End diff --
    
    This is not the ID of the Spark job that is writing. I think the UUID name 
is more clear about what is actually passed, a unique string that identifies 
the write. There's also no need to make the string more complicated than a UUID 
since there are no guarantees about it.


---

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

Reply via email to