The object inspector parameter should be type `PrimitiveObjectInspector`