Saving all output to "!!{outputDirectory}!!/convert_enum_to_string.q.raw". Enter "record" with no arguments to stop it. >>> !run !!{qFileDirectory}!!/convert_enum_to_string.q >>> -- 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"); No rows affected >>> >>> describe convert_enum_to_string; 'col_name','data_type','comment' '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','array','from deserializer' 'my_enumset','array','from deserializer' 'my_structset','array>','from deserializer' 'b','string','' 21 rows selected >>> !record