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
Address review findings on SearchSortedPrimitiveArray
- Fix RefCell double-borrow panic in IndexOrd<Option<T>>::index_cmp: the
RefMut guard from is_valid was still alive when value() re-borrowed the
ctx, so searching any valid element with an optional needle panicked
with BorrowMutError. Add regression tests covering Option<T> searches
with and without nulls.
- Stop swallowing the underlying error in Patches
search_index_binary_search_scalar; the map_err replaced real execution
errors with a misleading "indices must be a primitive array" message.
- Pass the in-scope ExecutionCtx to find_physical_index in RunEnd
scalar_at and slice instead of spinning up a fresh LEGACY_SESSION ctx
per call.
- Add doc comments to the new public SearchSortedPrimitiveArray API and
document the null-as-zero semantics of plain T searches.
- Restore VortexResult<()> + ? style in test_search_sorted_primitive.
Signed-off-by: "Robert Kruszewski" <robert@spiraldb.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments