blob: 3dc4a6ad42523a7adc0a9a88dbf505eb32f5081a [file] [log] [blame]
-- Ensure Enum fields are converted to strings (instead of struct<value:int>)
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");
describe convert_enum_to_string;