[ https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingwei Lu updated HIVE-3672: ----------------------------- Status: Patch Available (was: Open) update with one more test case to query partitions with different type. > 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