Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate column names are not supported #7

Open
d6y opened this issue Jun 27, 2018 · 0 comments
Open

Duplicate column names are not supported #7

d6y opened this issue Jun 27, 2018 · 0 comments

Comments

@d6y
Copy link
Collaborator

d6y commented Jun 27, 2018

A CSV with duplicate column names...

Home School, Allocation, Joint School, Allocation

...modelled as: (String, Double, Option[String], Option[Double]) will fail to parse a valid row such as:

Foo, 1,,

...reporting that "Allocation" is not a number. There's some confusion over "Allocation" being required, but optional in the second usage.

Not sure what to do about this. Possibly warn if there are duplicate columns? or support duplicate columns.

@d6y needs to provide a test case to demonstrate this is actually an issue and not a figment of his imagination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant