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

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

Open
1 task done
weiZhenkun opened this issue Jun 24, 2024 · 3 comments
Assignees
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@weiZhenkun
Copy link
Contributor

weiZhenkun commented Jun 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

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:

create a Collection with a varchar field
make a csv file,the varchar field with values like "{"key":123,"key2":456}"
import the file into a exist partition
Attu version: 2.3.10

Expected Behavior

same as zilliztech/attu#282

Steps To Reproduce

same as https://github.com/zilliztech/attu/issues/282

Anything else?

No response

@weiZhenkun weiZhenkun added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 24, 2024
@yanliang567
Copy link
Contributor

/assign @shanghaikid
please help to take a look
/unassign

@yanliang567 yanliang567 added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 25, 2024
@xiaofan-luan
Copy link
Contributor

did we support csv import?

@shanghaikid
Copy link
Contributor

did we support csv import?

attu support 5mb csv import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

4 participants