This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 21b6b69 [SPARK-32977][SQL][DOCS] Fix JavaDoc on Default Save Mode 21b6b69 is described below commit 21b6b6988e9999666b994839cb403e6409956c7f Author: Russell Spitzer <russell.spit...@gmail.com> AuthorDate: Wed Sep 23 20:02:20 2020 -0700 [SPARK-32977][SQL][DOCS] Fix JavaDoc on Default Save Mode ### What changes were proposed in this pull request? The default is always ErrorsOnExist regardless of DataSource version. Fixing the JavaDoc to reflect this. ### Why are the changes needed? To fix documentation ### Does this PR introduce _any_ user-facing change? Doc change. ### How was this patch tested? Manual. Closes #29853 from RussellSpitzer/SPARK-32977. Authored-by: Russell Spitzer <russell.spit...@gmail.com> Signed-off-by: Dongjoon Hyun <dh...@apple.com> (cherry picked from commit b3f0087e39c8ad69cf1e53145d62eb73df48efd5) Signed-off-by: Dongjoon Hyun <dh...@apple.com> --- sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala b/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala index f463166..d16404f 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala @@ -60,8 +60,7 @@ final class DataFrameWriter[T] private[sql](ds: Dataset[T]) { * <li>`SaveMode.ErrorIfExists`: throw an exception at runtime.</li> * </ul> * <p> - * When writing to data source v1, the default option is `ErrorIfExists`. When writing to data - * source v2, the default option is `Append`. + * The default option is `ErrorIfExists`. * * @since 1.4.0 */ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org