Xintong Bian created HIVE-16397:
-----------------------------------

             Summary: alter table concatenate should check the state of folder 
before replacing it
                 Key: HIVE-16397
                 URL: https://issues.apache.org/jira/browse/HIVE-16397
             Project: Hive
          Issue Type: Improvement
            Reporter: Xintong Bian


alter table concatenate command will remove all files containing in a directory 
after the success of the merge job, while in an external table, new data can 
arrive after the launch of the merge job, but they are also deleted in the 
replacing phase. 
We should check the last modified time of the directory, in case it is modified 
after the launch of merge job, abort the replace



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to