alamb commented on code in PR #6834:
URL: https://github.com/apache/arrow-datafusion/pull/6834#discussion_r1251208791


##########
datafusion/physical-expr/src/hash_utils.rs:
##########
@@ -96,6 +96,12 @@ fn hash_array_primitive<T>(
     T: ArrowPrimitiveType,
     <T as arrow_array::ArrowPrimitiveType>::Native: HashValue,
 {
+    assert_eq!(

Review Comment:
   this is the same assert copied from a few  lines down and makes me feel 
better about
   
   ```rust
                   let value = unsafe { array.value_unchecked(i) };
   ```



-- 
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