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:
congqixia 2024-09-12 10:27:08 +08:00 committed by GitHub
parent 700a443e85
commit 08e681174a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()