[ 
https://issues.apache.org/jira/browse/HIVE-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134238#comment-14134238
 ] 

Jason Dere commented on HIVE-7971:
----------------------------------

The alter table command does not currently have the ability to alter multiple 
partitions at once. True it will still be painful to have to potentially change 
lots of existing partitions, but we need to at least give the user a way to 
change the existing partition due to the reasons listed above.

> 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
>         Attachments: HIVE-7971.1.patch
>
>
> 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)

Reply via email to