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 2013/02/07 04:53:16 UTC

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

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

Namit Jain edited comment on HIVE-3672 at 2/7/13 3:52 AM:
----------------------------------------------------------

[~jingweilu], can you refresh ? The patch is not applying cleanly.
                
      was (Author: namit):
    [~jingweilu], can you refresh ?
                  
> 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, HIVE-3672.6.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