You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2009/06/29 23:23:14 UTC
[Hadoop Wiki] Update of "Hive/LanguageManual/DDL" by AdamKramer
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by AdamKramer:
http://wiki.apache.org/hadoop/Hive/LanguageManual/DDL
------------------------------------------------------------------------------
ALTER TABLE table_name RENAME TO new_table_name
}}}
- This statement lets you change the name of a table to a different name. The location of the data or partitions do not change.
+ This statement lets you change the name of a table to a different name. '''The location of the data and the names of partitions do not change!''' In other words, the old table name is not "freed," and writing to it will alter the "renamed" table's data!
=== Add/Repalce Columns ===
{{{