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
@msmygit can I suggest we go one further...we know the partition key, and we're selecting by token range so should get the origin records in partition key order. Maybe we make this be a "max batch size" and allow it to be a really big number, and then automatically send the batch when the partition key changes?
Which is to say, the batch will be the smaller of "records in the partition" or .batchSize configuration setting? In this way, we would avoid multi-partition batches.
Automatically set
.batchSize
to1
if a table has a primary key that is also the partition key. Example tables as follows:Example 1:
Example 2:
or use the default.
The text was updated successfully, but these errors were encountered: