Talked about this in person so putting the notes here: 1) Currently the user must use ByteArrayRef. Ill file a enhancement jira to make this not depend on hive code in HcatRecord 2) struct should be a List<Object>
On Tue, Mar 27, 2012 at 10:26 AM, David Capwell <[email protected]> wrote: > I am testing MR with all the different data types that hcat supports and > had a few questions: > > 1) If I put my schema as binary and try to write new byte[0] to the hcat > record, I will get an exception saying "java.lang.ClassCastException: [B > cannot be cast to org.apache.hadoop.hive.serde2.lazy.ByteArrayRef". Should > this be the class used for hcatrecord while writing binary? > 2) If my schema has a struct in it, what should I write to the hcat > record? What class should I use? > > Thanks for your time reading this email. >
