DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[Bug] [Milvus] collection name can only contain numbers, letters and underscores: invalid parameter

Open csunny opened this issue 1 year ago • 2 comments
trafficstars

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

  • [ ] Chat Data
  • [ ] Chat Excel
  • [ ] Chat DB
  • [X] Chat Knowledge
  • [ ] Model Management
  • [ ] Dashboard
  • [ ] Plugins

Installation Information

Device information

None

Models information

None

What happened

RPC error: [has_collection], <MilvusException: (code=5, message=Invalid collection name: milvus_测试. collection name can only contain numbers, letters and underscores: invalid parameter)>, <Time:{'RPC start': '2024-03-01 09:51:03.496826', 'RPC error': '2024-03-01 09:51:03.524910'}>

What you expected to happen

Fix this

How to reproduce

When the space name is Mixed languages, this error will occur. such as milvus_测试

Additional context

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

csunny avatar Mar 01 '24 01:03 csunny

This issue has been marked as stale, because it has been over 30 days without any activity.

github-actions[bot] avatar Mar 31 '24 21:03 github-actions[bot]

+1 能否在前端加个判定呢,the first character of a collection name must be an underscore or letter: invalid parameter

paul-yangmy avatar Apr 10 '24 07:04 paul-yangmy

This issue has been marked as stale, because it has been over 30 days without any activity.

github-actions[bot] avatar Jun 03 '24 21:06 github-actions[bot]

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.

github-actions[bot] avatar Jun 10 '24 21:06 github-actions[bot]

+1。有大量数据要迁到milvus,这个限制导致了左右数据很难对齐

eigen2017 avatar Aug 13 '24 10:08 eigen2017