Aihua Xu created HIVE-18887:

             Summary: Improve preserving column stats for alter table commands
                 Key: HIVE-18887
             Project: Hive
          Issue Type: Improvement
          Components: Metastore
    Affects Versions: 3.0.0
            Reporter: Aihua Xu
            Assignee: Aihua Xu

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

Reply via email to