[
https://issues.apache.org/jira/browse/HIVE-14511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421694#comment-15421694
]
Subramanyam Pattipaka commented on HIVE-14511:
----------------------------------------------
Yes. That's correct. We should also check that there are no files exists until
the required depth. May be thats what you wanted here? For example, files like
tbldir/file1
tbldir/p1=1/file2
exists then partition creation should fail. If there is ignore config option
set then probably we should move ahead ignoring these files. But, please log
them under debug mode such that those can be collected and may be user may want
to act on them once they have the list instead of deleting one at a time and
rerunning msck.
> Improve MSCK for partitioned table to deal with special cases
> -------------------------------------------------------------
>
> Key: HIVE-14511
> URL: https://issues.apache.org/jira/browse/HIVE-14511
> Project: Hive
> Issue Type: Sub-task
> Reporter: Pengcheng Xiong
> Assignee: Pengcheng Xiong
> Attachments: HIVE-14511.01.patch
>
>
> Some users will have a folder rather than a file under the last partition
> folder. However, msck is going to search for the leaf folder rather than the
> last partition folder. We need to improve that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)