Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuai committed Feb 6, 2015
1 parent ed4e1b4 commit b1e9b1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ trait CreatableRelationProvider {
* contents of the DataFrame are expected to be appended to existing data.
* Overwrite mode means that when saving a DataFrame to a data source, if data already exists,
* existing data is expected to be overwritten by the contents of the DataFrame.
* ErrorIfExists mode means that when saving a DataFrame to a data source, if data already exists,
* an exception is expected to be thrown.
* ErrorIfExists mode means that when saving a DataFrame to a data source,
* if data already exists, an exception is expected to be thrown.
*
* For Java users, mode can be inspected through equality check (e.g. mode == SaveModes.Append).
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ case object Overwrite extends SaveMode
*
* Please use the singleton [[SaveModes.ErrorIfExists]].
*/
case object ErrorIfExists extends SaveMode
case object ErrorIfExists extends SaveMode

0 comments on commit b1e9b1b

Please sign in to comment.