PREHOOK: query: create table if not exists union2_t1(r string, c string, v string) PREHOOK: type: CREATETABLE POSTHOOK: query: create table if not exists union2_t1(r string, c string, v string) POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@union2_t1 PREHOOK: query: create table if not exists union2_t2(s string, c string, v string) PREHOOK: type: CREATETABLE POSTHOOK: query: create table if not exists union2_t2(s string, c string, v string) POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@union2_t2 FAILED: Error in semantic analysis: Schema of both sides of union should match: Column v is of type string on first table and type double on second table