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 2012/11/05 23:50:13 UTC
[jira] [Created] (HIVE-3672) Support altering partition column type
in Hive
Jingwei Lu created HIVE-3672:
--------------------------------
Summary: 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
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
[jira] [Commented] (HIVE-3672) Support altering partition column
type in Hive
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491904#comment-13491904 ]
Jingwei Lu commented on HIVE-3672:
----------------------------------
Review is at:
https://reviews.facebook.net/D6537
> 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
>
> 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
[jira] [Updated] (HIVE-3672) Support altering partition column type
in Hive
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ 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.1.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
> 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
[jira] [Work started] (HIVE-3672) Support altering partition column
type in Hive
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-3672 started by Jingwei Lu.
> 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
>
> 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
[jira] [Work stopped] (HIVE-3672) Support altering partition column
type in Hive
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-3672 stopped by Jingwei Lu.
> 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
>
> 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
[jira] [Updated] (HIVE-3672) Support altering partition column type
in Hive
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ 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)
> 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