HIVE-5297 Hive does not honor type for partition columns
Review Request #14155 - Created Sept. 16, 2013 and updated
Hive does not consider the type of the partition column while writing partitions. Consider for example the query: create table tab1 (id1 int, id2 string) PARTITIONED BY(month string,day int) row format delimited fields terminated by ','; alter table tab1 add partition (month='June', day='second'); Hive accepts this query. However if you try to select from this table and insert into another expecting schema match, it will insert nulls instead.
Ran all tests.