Hive 1.1.0 Alter table partition type from int to string
I have a table which has a partition of type int but which I want to convert to string. However, I can't figure out how to do this. The table description is: Col1 timestamp Col2 string Col3 string Col4 string Part_col int # Partition information # col_name data_type comment Part_col int The partitions I have created are Part_col=0, Part_col=1, ..., Part_col=23 I want to change them to Part_col='0' etc I run this command in hive: set hive.exec.dynamic.partitions = true; Alter table tbl_name partition (Part_col=0) Part_col Part_col string; I have also tried using "partition (Part_col)" to change