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
Sort columns in st_column_changed before automigrating. (#3203)
# Description of Changes
In `st_column_changed`, `iter_st_column_for_table` returns rows in
physical storage order. In simple cases (without unrelated deletes) this
will be the same as insertion order, and therefore also the same as
sorted order, but in cases with multiple column-changing automigrations
the physical storage order of the rows diverges from the correct sorted
order. Because this isn't a hot path, we can just call `.sort()` and not
worry about it.
# API and ABI breaking changes
N/a
# Expected complexity level and risk
1
# Testing
None yet. Needs manual testing with BitCraft update.
---------
Signed-off-by: Mazdak Farrokhzad <[email protected]>
Co-authored-by: Mazdak Farrokhzad <[email protected]>
Co-authored-by: Shubham Mishra <[email protected]>
0 commit comments