How to bulkinsert a field of datatype.ARRAY from files? #34083
Answered
by
xiaofan-luan
Wiley-Z
asked this question in
Q&A and General discussion
-
It seems bulkinsert doesn't process ndarray of object type. How should I organize and save these data? |
Beta Was this translation helpful? Give feedback.
Answered by
xiaofan-luan
Jun 23, 2024
Replies: 1 comment 5 replies
-
currently for bulkinsert array you will need to convert numpy to a parquet file. here is a code about how to import array |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
Wiley-Z
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
currently for bulkinsert array you will need to convert numpy to a parquet file.
here is a code about how to import array
https://github.com/milvus-io/pymilvus/blob/f7a4839a8a6b05620985d25cde47b63247a561e7/examples/example_bulkwriter.py#L51