Venkatasubrahmanian Narayanan created HIVE-28676:
----------------------------------------------------
Summary: Support custom partition patterns in MSCK repair
Key: HIVE-28676
URL: https://issues.apache.org/jira/browse/HIVE-28676
Project: Hive
Issue Type: New Feature
Reporter: Venkatasubrahmanian Narayanan
Assignee: Venkatasubrahmanian Narayanan
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)