Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Alway return 21 when describe collection #54

Open
huuson235 opened this issue Nov 10, 2022 · 0 comments
Open

Alway return 21 when describe collection #54

huuson235 opened this issue Nov 10, 2022 · 0 comments

Comments

@huuson235
Copy link

CMD: describe collection -c col
Return: 21
Schema below

fields = [
    FieldSchema(name="id", dtype=DataType.INT64, is_primary=True, auto_id=True),
    FieldSchema(name="image_url", dtype=DataType.VARCHAR, max_length=MAX_LENGTH_URL),
    FieldSchema(name="customer_code", dtype=DataType.VARCHAR, max_length=MAX_LENGTH_C_CODE),
    FieldSchema(name="embedding", dtype=DataType.FLOAT_VECTOR, dim=512),
    FieldSchema(name="created_at_raw", dtype=DataType.VARCHAR, max_length=20),
    FieldSchema(name="created_at", dtype=DataType.INT64),
]

schema = CollectionSchema(fields, "Database")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant