mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
fix: [GoSDK] Sync empty result set handling (#36177)
Related to #33952 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
700a443e85
commit
08e681174a
@ -71,9 +71,6 @@ func IDColumns(schema *entity.Schema, ids *schemapb.IDs, begin, end int) (Column
|
||||
if pkField == nil {
|
||||
return nil, errors.New("PK Field not found")
|
||||
}
|
||||
if ids == nil {
|
||||
return nil, errors.New("nil Ids from response")
|
||||
}
|
||||
switch pkField.DataType {
|
||||
case entity.FieldTypeInt64:
|
||||
data := ids.GetIntId().GetData()
|
||||
|
Loading…
Reference in New Issue
Block a user