GitHub user rdblue opened a pull request:
https://github.com/apache/spark/pull/22193
[SPARK-25186][SQL] Remove v2 save mode.
## What changes were proposed in this pull request?
This removes `SaveMode` from the v2 write API. Overwrite is temporarily
implemented by deleting path-based and name-based tables and appending. These
appends implicitly create tables and should be replaced with CTAS and RTAS.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rdblue/spark remove-v2-save-mode
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22193.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22193
----
commit e3fcc83a4a55576821573ceb9a3a56b89218a187
Author: Ryan Blue <blue@...>
Date: 2018-08-22T21:17:11Z
SPARK-25188: Add WriteConfig to v2 write API.
commit 6dbc6e09b5a50764b29050ac30eb9c4f9f8970b8
Author: Ryan Blue <blue@...>
Date: 2018-08-22T21:45:17Z
SPARK-25188: BatchPartitionOverwriteSupport extends BatchWriteSupport.
commit 394c9d71ea46ce9d90d5c1c5a0309f29d0f6f5e6
Author: Ryan Blue <blue@...>
Date: 2018-08-22T23:51:24Z
Remove SaveMode from the v2 write API.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]