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

Chaoyu Tang updated HIVE-16803:
-------------------------------
    Attachment: HIVE-16803.patch

Whether column stats need to be fetched and/or updated in alter table is based 
only on the column name/type between new and old columns, and not including 
column comment.

> Alter table change column comment should not try to get column stats for 
> update
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-16803
>                 URL: https://issues.apache.org/jira/browse/HIVE-16803
>             Project: Hive
>          Issue Type: Bug
>          Components: Statistics
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>            Priority: Minor
>         Attachments: HIVE-16803.patch
>
>
> When running command like "alter table .. change .." (e.g. ALTER TABLE 
> testtbl CHANGE col col string COMMENT 'change column comment';) to change a 
> column's comment, Hive should not go to fetch the column stats for update 
> since the comment change does not affect table/partition column stats.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to