Understanding the behavior of failed Salesforce batch operations that do not roll back successfully inserted records in the batch
When a batch insert failed due to incorrect data in the second or subsequent batches, the driver inserted one or more records of non-primitive data types into Salesforce.