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

He Yongqiang commented on HIVE-571:
-----------------------------------

so the syntax should be: 
alter table change [column] old_col_name new_col_name

@Namit, why we can not change the datatype?

> add ability to rename a column.
> -------------------------------
>
>                 Key: HIVE-571
>                 URL: https://issues.apache.org/jira/browse/HIVE-571
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Metastore
>    Affects Versions: 0.4.0
>            Reporter: Prasad Chakka
>             Fix For: 0.4.0
>
>
> currently only way to rename a column is to use 'REPLACE COLUMNS' which can 
> be cumbersome if the table has lots of columns.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to