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

Syed Shameerur Rahman commented on HIVE-22957:
----------------------------------------------

[~kgyrtkirk] Thank you for the initial review! I have pretty much changed the 
designed in the new patch. Here is the summary of the design decision taken:

# The new syntax closely resembles the drop Partition syntax
# I have resued the #getFullPartitionSpecs() of drop partition in-order to 
create filter expression.
# expression proxy class is set to PartitionExpressionForMetastore since we 
intend to use the #filterPartitionsByExpr of PartitionExpressionForMetastore 
for partition pruning down the line.

[~kgyrtkirk] [~prasanth_j] Could you please review the patch?

> Add Option For Predicate Filtering In MSCK REPAIR TABLE Command
> ---------------------------------------------------------------
>
>                 Key: HIVE-22957
>                 URL: https://issues.apache.org/jira/browse/HIVE-22957
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Syed Shameerur Rahman
>            Assignee: Syed Shameerur Rahman
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: Design Doc_ Partition Filtering In MSCK REPAIR 
> TABLE.pdf, HIVE-22957.01.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> *Design Doc:*
> [^Design Doc_ Partition Filtering In MSCK REPAIR TABLE.pdf] 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to