You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "黄海升 (Jira)" <ji...@apache.org> on 2020/12/29 22:33:00 UTC
[jira] [Created] (SPARK-33937) Move the old partition data to trash
instead of deleting it when inserting rewrite hive table
黄海升 created SPARK-33937:
---------------------------
Summary: Move the old partition data to trash instead of deleting it when inserting rewrite hive table
Key: SPARK-33937
URL: https://issues.apache.org/jira/browse/SPARK-33937
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.2.0
Reporter: 黄海升
Fix For: 3.2.0
InsertIntoHiveTable should move the old partition data to trash instead of deleting it.
Because that's what we do in hive.
[https://github.com/apache/hive/blob/9c6f8b76123c88b0c8a98645874722ba80b3c2b0/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java]
`deleteOldPathForReplace`
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org