Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Fail for missing column values (CsvParser.Feature.FAIL_ON_MISSING_COLUMNS) #140

@jwilmoth

Description

@jwilmoth

With a bean definition like:

class Person {
  String firstName;
  String lastName;
  int age;
  int birthYear;
}

The following string input "name" is functionally equivalent to "name,," even when using a CsvMapper with a schema created from the class. This makes it impossible to ensure the input was purposely truncated or done so in error. This request is to enable functionality that would require the number of field delimiters equal the number of fields defined in the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions