You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Syed Shameerur Rahman (Jira)" <ji...@apache.org> on 2020/06/13 08:22:00 UTC

[jira] [Comment Edited] (HIVE-22957) Add Option For Predicate Filtering In MSCK REPAIR TABLE Command

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

Syed Shameerur Rahman edited comment on HIVE-22957 at 6/13/20, 8:21 AM:
------------------------------------------------------------------------

[~kgyrtkirk] Thank you for the initial review! I have pretty much changed the design 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?


was (Author: srahman):
[~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)