JavaStringFloatObjectInspector foi = (JavaStringFloatObjectInspector) sf.getFieldObjectInspector();
assertEquals(-3.1415 , foi.get(result.get("cfloat")),0.001);
sf = soi.getStructFieldRef("cdouble");
assertTrue(sf.getFieldObjectInspector() instanceof JavaStringDoubleObjectInspector);
JavaStringDoubleObjectInspector doi = (JavaStringDoubleObjectInspector) sf.getFieldObjectInspector();
assertEquals(-43424234234.4243423 , doi.get(result.get("cdouble")),0.001);
}