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

Ashutosh Chauhan commented on HIVE-13705:
-----------------------------------------

According to 
https://github.com/apache/hadoop/blob/branch-2.6.0/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/ClientProtocol.java#L458
 rename will return false if file already exists. Are you finding that to be 
incorrect? I would like to understand thats the case, otherwise proposed 
solution *always* makes 2 calls to NN, instead of current solution which does 
it only when needed.

> Insert into table removes existing data
> ---------------------------------------
>
>                 Key: HIVE-13705
>                 URL: https://issues.apache.org/jira/browse/HIVE-13705
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.1.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-13705.1.patch
>
>




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

Reply via email to