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

when importing data through csv, the content of varchar type with a json format will become [object Object]. #282

Closed
yangshuai0711 opened this issue Oct 10, 2023 · 0 comments · Fixed by #556
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yangshuai0711
Copy link

Describe the bug:

when importing data through csv, the content of varchar type with a json format will become [object Object].

After checking, in attu front-end code, csv parsing library will parse a json format varchar value into an object, and the backend will handle it as a string.

Steps to reproduce:

  1. create a Collection with a varchar field
  2. make a csv file,the varchar field with values like "{""key"":123,""key2"":456}"
  3. import the file into a exist partition

Attu version:

2.2.8

Attu version:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants