Hi Jon since a partition appears as a column ( for example with *desc
table_name* ) you could try renaming the partition as if it was a column as
explained in the wiki :

ALTER TABLE table_name CHANGE [COLUMN] col_old_name col_new_name
column_type [COMMENT col_comment] [FIRST|AFTER column_name]

I didn't try it myself, and I will like to know if it works I will probably
need it too ;-)
Regards,
Eric


2011/6/2 Jon Bender <jonathan.ben...@gmail.com>

> Hey all,
>
> Just wondering what the best way is to rename specific Hive table
> partitions.  Is there some HiveQL command for this, or will I need to insert
> into new partitions to reflect the new naming convention?
>
> Cheers,
> Jon
>

Reply via email to