HiveVarchar varchar = new HiveVarchar("Hello World", 32);
Map<Text, OrcStruct> map = new HashMap<Text, OrcStruct>();
OrcStruct value = OrcUtils.createOrcStruct(mapValueTypeInfo, new Text("age"), new IntWritable(24));
map.put(new Text("Bob"), value);
OrcStruct s = OrcUtils.createOrcStruct(typeInfo, new IntWritable(1024), new Text("Alice"),
null, new HiveVarcharWritable(varchar), map);
OrcWritable w = new OrcWritable();
w.set(s);
testInputOutputFn(ptype, s, w);
}