Skip to content

Commit d6814a7

Browse files
committed
update logic
1 parent 463ff19 commit d6814a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arrow-ord/src/sort.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,8 @@ fn sort_byte_view<T: ByteViewType>(
334334

335335
// 3.1 Both inline (≤12 bytes): compare full 128-bit key including length
336336
if len_a <= MAX_INLINE_VIEW_LEN && len_b <= MAX_INLINE_VIEW_LEN {
337-
return inline_key_fast(raw_a).cmp(&inline_key_fast(raw_b));
337+
return GenericByteViewArray::<T>::inline_key_fast(raw_a)
338+
.cmp(&GenericByteViewArray::<T>::inline_key_fast(raw_b));
338339
}
339340

340341
// 3.2 Compare 4-byte prefix in big-endian order

0 commit comments

Comments
 (0)