throw exception when the schema has no such field.