PREHOOK: query: create table tab1 (id1 int, id2 string) PARTITIONED BY(month string,day int) row format delimited fields terminated by ',' PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@tab1 POSTHOOK: query: create table tab1 (id1 int, id2 string) PARTITIONED BY(month string,day int) row format delimited fields terminated by ',' POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@tab1 FAILED: SemanticException [Error 10248]: Cannot add partition column day of type string as it cannot be converted to type int