pymilvus
pymilvus copied to clipboard
[QUESTION]: varchar 字符长度的计算方式 ?
Is there an existing issue for this?
- [X] I have searched the existing issues
What is your question?
我将VARCHAR 的最大长度设置为200,然后,我在存入数据的时候,使用100去过滤文本长度,最后还是报文本长度有237,超出最大长度限制。我想请问,milvus计算文本的逻辑是什么呢?是按照什么去计算文本的长度的呢?
Anything else?
No response
Hi @sc-lj Milvus calculates the text length in bytes, it may be longer than expected if you stored non-ASCII characters like Chinese/Japanese (2~4 bytes per character)