You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xintong Bian (JIRA)" <ji...@apache.org> on 2017/04/06 06:26:41 UTC

[jira] [Created] (HIVE-16397) alter table concatenate should check the state of folder before replacing it

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)