Cherry-pick from master
pr: #41161#41197#41234
Related to #41108#40928
Also this PR bump milvusclient go SDK version to v2.5.2
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Cherry-pick from master
pr: #40443
See failure run in #40352
This PR:
- move metaheader map to client struct from config
- set default value for field schema
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Cherry pick from master
pr: #40268#40284#40328#40373#40381
------------------------------------------
#### fix: [GoSDK] Pass base64 passwd content instead of raw data
(#40268)
Related to #40261
Also add some options for create collection options and refine some
behavior
------------------------------------------
#### fix: [GoSDK] Return role without grants (#40284)
Related to #40274
Previousy DescribeRole returns only roles with grants, this PR add
select role action to check role existence.
Also added database properties related option
-----------------------------------------
#### fix: [GoSDK] Pass only valid data for nullable column (#40328)
Related to #40327
-----------------------------------------
#### enhance: [GoSDK] Add DescribeReplica API & sync rbac v2 (#40373)
Related to #31293#37031
This PR:
- Add DescribeReplica API
- Add unified RBAC v2 API names(AddPrivilegesToGroup,
RemovePrivilegesFromGroup, GrantPrivilegeV2, RevokePrivilegeV2)
- Mark old ones deprecated
-----------------------------------------
#### enhance: [GoSDK] support update ts caching policy(#40381)
Related to #39093
This PR add update timestamp check and retry policy according to the
design of the related issue
-----------------------------------------
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Cherry-pick from master
pr: #40134
Related to #39095
Previous PR #39990 update pkg module path using "/v2" package name, this
PR update milvusclient go sdk dependency for this update
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #31293
- Rename `UsingDatabase` to `UseDatabase`
- Uncomment default value methods
- Add missing RBAC APIs
- Add some resource group APIs
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Previous PR: #37978
This unit test is unable due to dim is a random number. When dim is
large enough precision loss will be greater than 0.04
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #35853
This PR contains following changes:
- Add function and related proto and helper functions
- Remove the insert column missing check and leave it to server
- Add text as search input data
- Add some unit tests for logic above
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>