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
{{ message }}
Repository navigation
Downcast _SEQUENCE_NUMBER and _VALUE_KIND once per batch in sort merge #1192
I searched in the issues and found nothing similar.
Description
SortMergeCursor::sequence_number and value_kind look up and downcast _SEQUENCE_NUMBER and _VALUE_KIND from the batch for every row the merge emits. The column and its type don't change within a batch, so this can be done once when the cursor is created.
Measured on one instance, alternating main and the change over 8 rounds with 2M keys × 3 overlapping rounds:
Activity