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

Venkatasubrahmanian Narayanan commented on HIVE-28676:
------------------------------------------------------

Github PR: [https://github.com/apache/hive/pull/5591]

 

Can break up the test into more tests if needed.

> Support custom partition patterns in MSCK repair table
> ------------------------------------------------------
>
>                 Key: HIVE-28676
>                 URL: https://issues.apache.org/jira/browse/HIVE-28676
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Venkatasubrahmanian Narayanan
>            Assignee: Venkatasubrahmanian Narayanan
>            Priority: Minor
>              Labels: pull-request-available
>
> MSCK repair table doesn't support custom partition patterns. While it is not 
> possible to cover the most general case due to ambiguities in resolving 
> partition keys, we can extend the feature to cover the simpler cases.
>  
> An example of a case that is impossible to resolve, to be clear:
>  
> A Hive table with 2 partition keys k1 and k2, with a custom partition format 
> of ${k1}-${k2} . If we have a path "x-y-z", it is impossible in general to 
> know if this corresponds to the partition k1='x-y',k2='z' or k2='x',k2='y-z' 
> . But such cases should hopefully be rare in practice.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to