You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2012/12/06 16:23:09 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 ]

Namit Jain updated HIVE-3672:
-----------------------------

    Status: Open  (was: Patch Available)

comments on phabricator
                
> 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
>    Affects Versions: 0.10.0
>            Reporter: Jingwei Lu
>            Assignee: Jingwei Lu
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3672.1.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