batchinsert repeated key handling