You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jingwei Lu (JIRA)" <ji...@apache.org> on 2013/02/01 08:31:14 UTC

[jira] [Updated] (HIVE-3672) Support altering partition column type in Hive

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

Jingwei Lu updated HIVE-3672:
-----------------------------

    Attachment: HIVE-3672.5.patch.txt
    
> Support altering partition column type in Hive
> ----------------------------------------------
>
>                 Key: HIVE-3672
>                 URL: https://issues.apache.org/jira/browse/HIVE-3672
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI, SQL
>            Reporter: Jingwei Lu
>            Assignee: Jingwei Lu
>              Labels: features
>         Attachments: HIVE-3672.1.patch.txt, HIVE-3672.2.patch.txt, HIVE-3672.3.patch.txt, HIVE-3672.4.patch.txt, HIVE-3672.5.patch.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Currently, Hive does not allow altering partition column types.  As we've discouraged users from using non-string partition column types, this presents a problem for users who want to change there partition columns to be strings, they have to rename their table, create a new table, and copy all the data over.
> To support this via the CLI, adding a command like ALTER TABLE <table_name> PARTITION COLUMN (<column_name> <new type>);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira