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

No warning/error appears when importing a CSV with multiple columns with the same name #26

Open
tudoramariei opened this issue Aug 4, 2023 · 0 comments
Labels
back-end bug 🐛 Something isn't working

Comments

@tudoramariei
Copy link
Member

When trying to upload a CSV with multiple columns using the same name, the table is created with all the columns up to the second same-named column. An error is displayed, but it doesn't help the user figure out what happened.

Expected:

  1. A user tries to upload a table that has two columns named "phone"
  2. When pressing continue, the two identical columns are highlighted

Actual:

  1. A user tries to upload a table that has two columns named "phone"
  2. When pressing continue, an error is displayed: Something went wrong
    • in the background, the table has been created
    • the new table has all the columns up to the second same-named column
  3. When pressing continue a second time, a different error is displayed: This table name is already being used

Sample CSV: sample.csv

Screenshot of the first press of Continue:
Screenshot 2023-08-04 at 11 42 36

Screenshot of the second press of Continue:
Screenshot 2023-08-04 at 11 42 43

Screenshot of the table structure:
Screenshot 2023-08-04 at 11 48 10

@tudoramariei tudoramariei added back-end bug 🐛 Something isn't working labels Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant