[ 
https://issues.apache.org/jira/browse/HIVE-13997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338057#comment-15338057
 ] 

Ashutosh Chauhan commented on HIVE-13997:
-----------------------------------------

In that case I think it might be better to have this delete logic in 
moveFileInDfs() since moveFile() is also called by loadPartition()/loadTable() 
and introducing new calls to NameNode will hurt perf for those cases. Also, do 
we need recursive delete, won't deleting parent dir be sufficient?

> Insert overwrite directory doesn't overwrite existing files
> -----------------------------------------------------------
>
>                 Key: HIVE-13997
>                 URL: https://issues.apache.org/jira/browse/HIVE-13997
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-13997.1.patch
>
>
> Can be easily reproduced by running {{INSERT OVERWRITE DIRECTORY}} to the 
> same dir twice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to