[ 
https://issues.apache.org/jira/browse/HIVE-18887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aihua Xu updated HIVE-18887:
----------------------------
    Issue Type: Sub-task  (was: Improvement)
        Parent: HIVE-19010

> Improve preserving column stats for alter table commands
> --------------------------------------------------------
>
>                 Key: HIVE-18887
>                 URL: https://issues.apache.org/jira/browse/HIVE-18887
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>    Affects Versions: 3.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Major
>
> We are trying to preserve column stats for certain alter table commands, 
> while seems that current generic approach which compare the old columns 
> against the new columns and update for all the columns may not be efficient . 
> e.g., if we just rename the table, we should be able to update the name 
> itself. COL_STATS table somehow contains DB_Name and Table_Name. If those 
> tables don't have these columns, certain commands don't even need to update 
> these tables. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to