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

[SDK]: Support Array DataType for milvus #27168

Closed
1 task done
xiaocai2333 opened this issue Sep 18, 2023 · 3 comments
Closed
1 task done

[SDK]: Support Array DataType for milvus #27168

xiaocai2333 opened this issue Sep 18, 2023 · 3 comments
Assignees
Labels
area/api kind/feature Issues related to feature request from users

Comments

@xiaocai2333
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Support Array DataType for milvus.

  1. There is an element_type field to represent the type of the actual element.
  2. There is an upper limit on the number of elements max_capacity. If element type is VARCHAR, it must contain max_length.
    pymilvus example:
pk_field = FieldSchema(name="id", dtype=DataType.INT64, is_primary=True, auto_id=False)
int_array_field = FieldSchema(name="int_array", dtype=DataType.ARRAY, element_type=DataType.INT64, max_capacity=100)
str_array_field = FieldSchema(name="string_array", dtype=DataType.ARRAY, element_type=DataType.VARCHAR,
                              max_capacity=100, max_length=100)
float_vector = FieldSchema(name="float_vector", dtype=DataType.FLOAT_VECTOR, dim=dim)
schema = CollectionSchema(fields=[pk_field, int_array_field, str_array_field, float_vector],
                          enable_dynamic_field=True)

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

@XuanYang-cn @congqixia @yhmo @yelusion2 @shanghaikid @nameczz

@xiaocai2333 xiaocai2333 added the kind/feature Issues related to feature request from users label Sep 18, 2023
@xiaocai2333
Copy link
Contributor Author

/assign

@xiaocai2333
Copy link
Contributor Author

/close

@sre-ci-robot
Copy link
Contributor

@xiaocai2333: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api kind/feature Issues related to feature request from users
Projects
None yet
Development

No branches or pull requests

3 participants