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

Zoltan Haindrich commented on HIVE-23959:
-----------------------------------------

[~yhaya]: sorry, I missed your comment.

Yes, the key difference when this feature is enabled that carefull  1-by-1 
partition update is skipped - instead; it will remove all column statistics for 
all partitions of the table. It will only execute a few queries - independently 
from the number of partitions - so it will be quick.

> Provide an option to wipe out column stats for partitioned tables in case of 
> column removal
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-23959
>                 URL: https://issues.apache.org/jira/browse/HIVE-23959
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> in case of column removal / replacement - an update for each partition is 
> neccessary; which could take a while.
> goal here is to provide an option to switch to the bulk removal of column 
> statistics instead of working hard to retain as much as possible from the old 
> stats.



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

Reply via email to