Insert task hash by primarykeys (#11819)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/11894/head
yukun 2021-11-16 14:21:27 +08:00 committed by GitHub
parent 959d8c2ce1
commit 27d711e5d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -687,10 +687,9 @@ func (it *insertTask) checkFieldAutoIDAndHashPK() error {
Data: it.BaseInsertTask.RowIDs,
},
}
it.HashPK(it.BaseInsertTask.RowIDs)
} else {
it.HashPK(it.BaseInsertTask.RowIDs)
it.HashPK(primaryData)
}
sliceIndex := make([]uint32, rowNums)