Schema fieldSchema = SchemaUtil.fieldSchema(schema, fm.getFieldName()); ValidationException.check( SchemaUtil.isConsistentWithMappingType( fieldSchema.getType(), fm.getMappingType()), "Field type %s is not compatible with mapping %s",
Schema fieldSchema = SchemaUtil.fieldSchema(schema, fm.getFieldName()); ValidationException.check( SchemaUtil.isConsistentWithMappingType( fieldSchema.getType(), fm.getMappingType()), "Field type %s is not compatible with mapping %s",