Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: seek row for sorted columns (#5238)
- Change algorithm for sorted columns - Use `SortedColumnsAttribute.getOrderForColumn` instead of `guessSorted` to guarantee - Add a binary search algorithm to find first/last occurrence in a sorted list - Check next/prev row first, then loop around to end/start and get last/first occurrence - e.g. for `[1, 2, 2, 3]` and on the last `2`, the algorithm would check the next value (`3`) first, then search for first occurrence of `1, 2, 2` - Change algorithm for unsorted columns to return `-1` when not found, instead of the closest value - Replace `ConcurrentMethod` with snapshots --------- Co-authored-by: Ryan Caudy <rcaudy@gmail.com> Co-authored-by: Colin Alworth <colin@vertispan.com>
- Loading branch information