GitHub user wangyum opened a pull request:
https://github.com/apache/spark/pull/22078
[SPARK-25085][SQL] Insert overwrite a non-partitioned table should not
delete table folder
## What changes were proposed in this pull request?
Insert overwrite a `non-partitioned` table should not delete table folder
because it may contains information like ACL entries.
This pr fix this issue, thus the data source table and the hive table have
the same behavior.
## How was this patch tested?
unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangyum/spark SPARK-25085
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22078.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 #22078
----
commit 36a545ce96c8d43c59584f82c3e13854bd2a21ed
Author: Yuming Wang <yumwang@...>
Date: 2018-08-11T15:39:35Z
Fix SPARK-25085
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]