JavaBooleanObjectInspector jboi = (JavaBooleanObjectInspector) sf.getFieldObjectInspector();
assertEquals(true, jboi.get(result.get("cboolean")));
sf = soi.getStructFieldRef("ctinyint");
assertTrue(sf.getFieldObjectInspector() instanceof JavaStringByteObjectInspector);
JavaStringByteObjectInspector boi = (JavaStringByteObjectInspector) sf.getFieldObjectInspector();
assertEquals(-1, boi.get(result.get("ctinyint")));
sf = soi.getStructFieldRef("csmallint");
assertTrue(sf.getFieldObjectInspector() instanceof JavaStringShortObjectInspector);
JavaStringShortObjectInspector shoi = (JavaStringShortObjectInspector) sf.getFieldObjectInspector();
assertEquals(-200, shoi.get(result.get("csmallint")));