alamb commented on a change in pull request #691:
URL: https://github.com/apache/arrow-rs/pull/691#discussion_r705499936



##########
File path: arrow/src/array/equal/list.rs
##########
@@ -138,7 +138,7 @@ pub(super) fn list_equal<T: OffsetSizeTrait>(
             child_rhs_nulls.as_ref(),
             lhs_offsets[lhs_start].to_usize().unwrap(),
             rhs_offsets[rhs_start].to_usize().unwrap(),
-            (lhs_offsets[len] - lhs_offsets[lhs_start])
+            (lhs_offsets[lhs_start + len] - lhs_offsets[lhs_start])

Review comment:
       The code/bug in question appears to have been introduced in 
https://github.com/apache/arrow/pull/8541 (and thus is also in arrow 5.0, and 
thus does not need to be backported directly into arrow 5.x) -- I was worried I 
had backported a bug into arrow 5.3 which needed a fix backported anyways




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to