You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2018/03/07 00:50:00 UTC

[jira] [Created] (HIVE-18887) Improve preserving column stats for alter table commands

Aihua Xu created HIVE-18887:
-------------------------------

             Summary: Improve preserving column stats for alter table commands
                 Key: HIVE-18887
                 URL: https://issues.apache.org/jira/browse/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
(v7.6.3#76005)