PREHOOK: query: -- Ensure Enum fields are converted to strings (instead of struct) create table convert_enum_to_string partitioned by (b string) row format serde "org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer" with serdeproperties ( "serialization.class"="org.apache.hadoop.hive.serde2.thrift.test.MegaStruct", "serialization.format"="org.apache.thrift.protocol.TBinaryProtocol") PREHOOK: type: CREATETABLE POSTHOOK: query: -- Ensure Enum fields are converted to strings (instead of struct) create table convert_enum_to_string partitioned by (b string) row format serde "org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer" with serdeproperties ( "serialization.class"="org.apache.hadoop.hive.serde2.thrift.test.MegaStruct", "serialization.format"="org.apache.thrift.protocol.TBinaryProtocol") POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@convert_enum_to_string PREHOOK: query: describe convert_enum_to_string PREHOOK: type: DESCTABLE POSTHOOK: query: describe convert_enum_to_string POSTHOOK: type: DESCTABLE my_bool boolean from deserializer my_byte tinyint from deserializer my_16bit_int smallint from deserializer my_32bit_int int from deserializer my_64bit_int bigint from deserializer my_double double from deserializer my_string string from deserializer my_binary struct from deserializer my_string_string_map map from deserializer my_string_enum_map map from deserializer my_enum_string_map map from deserializer my_enum_struct_map map>> from deserializer my_enum_stringlist_map map> from deserializer my_enum_structlist_map map>>> from deserializer my_stringlist array from deserializer my_structlist array>> from deserializer my_enumlist array from deserializer my_stringset struct<> from deserializer my_enumset struct<> from deserializer my_structset struct<> from deserializer optionals struct<> from deserializer b string