System.out.println("TWO:"+s2.toString());
Assert.assertTrue(HCatDataCheckUtil.recordsEqual(r,(HCatRecord)s));
Assert.assertTrue(HCatDataCheckUtil.recordsEqual(r,(HCatRecord)s2));
// serialize using another serde, and read out that object repr.
LazySimpleSerDe testSD = new LazySimpleSerDe();
testSD.initialize(conf, tblProps);
Writable s3 = testSD.serialize(s, hrsd.getObjectInspector());
System.out.println("THREE:"+s3.toString());
Object o3 = testSD.deserialize(s3);
Assert.assertFalse(r.getClass().equals(o3.getClass()));
// then serialize again using hrsd, and compare results
HCatRecord s4 = (HCatRecord) hrsd.serialize(o3, testSD.getObjectInspector());
System.out.println("FOUR:"+s4.toString());
// Test LazyHCatRecord init and read
LazyHCatRecord s5 = new LazyHCatRecord(o3,testSD.getObjectInspector());
System.out.println("FIVE:"+s5.toString());
LazyHCatRecord s6 = new LazyHCatRecord(s4,hrsd.getObjectInspector());
System.out.println("SIX:"+s6.toString());