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

Yushi Hayasaka commented on HIVE-23959:
---------------------------------------

[~kgyrtkirk]
Thanks for the reply! I understood the key point and also confirmed the 
performance was improved through the test, replacing columns with a table which 
has 500000+ partitions (timeout on HS2 -> 200 seconds after applying), on my 
environment. I was also concerned about calling `getPartitions` (slow 
function), but I found it did not call if we enabled the direct sql feature on 
this patch. Good!

> 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
>             Fix For: 4.0.0
>
>          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