Github user fhueske commented on the pull request:
https://github.com/apache/flink/pull/426#issuecomment-77272091
How are fields in the CSV file mapped to POJO fields? I assume it is the
order of fields in the POJO type information, right? Is that order the same as
in the POJO definition or some other such as alphanumeric ordering of the field
name? This might not be obvious for users.
Would it make sense to add a `String[]` to map POJO fields to field
positions in the CSV file, i.e., `String[] {"name", "age", "zip"}` would map
the POJO field `name` to the first CSV field, and so on.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---