You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workload: allow BatchedTuples to contain duplicates
Previously the BatchedTuples used to load initial data for a workload
disallowed duplicate keys violating uniqueness constraints. Some of the
workload key generators may inevitably generate duplicates when hashing keys
because of the relatively small key space of 64-bit integers.
This commit updates the BatchedTuples type so that the workload can indicate
the possible existence of duplicates, and updates the data loader to use INSERT
... ON CONFLICT DO NOTHING queries to perform the insertion, effectively
ignoring the duplicates.
0 commit comments