You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2014/09/04 01:53:51 UTC

[jira] [Created] (HIVE-7971) Support alter table change/replace/add columns for existing partitions

Jason Dere created HIVE-7971:
--------------------------------

             Summary: Support alter table change/replace/add columns for existing partitions
                 Key: HIVE-7971
                 URL: https://issues.apache.org/jira/browse/HIVE-7971
             Project: Hive
          Issue Type: Bug
            Reporter: Jason Dere
            Assignee: Jason Dere


ALTER TABLE CHANGE COLUMN is allowed for tables, but not for partitions. Same for add/replace columns.
Allowing this for partitions can be useful in some cases. For example, one user has tables with Hive 0.12 Decimal columns, which do not specify precision/scale. To be able to properly read the decimal values from the existing partitions, the column types in the partitions need to be changed to decimal types with precision/scale.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)