tustvold opened a new issue, #4688:
URL: https://github.com/apache/arrow-rs/issues/4688

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   The dictionary comparison kernels fail to account for nulls nested within 
dictionaries
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   ```
   fn test_dictionary_nested_nulls() {
           let keys = Int32Array::from(vec![0, 1, 2]);
           let v1 = Arc::new(Int32Array::from(vec![Some(0), None, Some(2)]));
           let a = DictionaryArray::new(keys.clone(), v1);
           let v2 = Arc::new(Int32Array::from(vec![None, Some(0), Some(2)]));
           let b = DictionaryArray::new(keys, v2);
   
           let r = eq_dyn(&a, &b).unwrap();
           assert_eq!(r.null_count(), 2);
       }
   ```
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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