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

Open
yangshuai0711 opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

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:

@shanghaikid shanghaikid added the bug Something isn't working label Oct 11, 2023
@shanghaikid shanghaikid self-assigned this Oct 13, 2023
@shanghaikid shanghaikid reopened this Mar 11, 2024
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

No branches or pull requests

2 participants