bjchambers opened a new issue #742:
URL: https://github.com/apache/arrow-rs/issues/742


   **Describe the bug**
   
   As in #738 and #740, `modulus_scalar` and `divide_scalar` don't work on 
slices.
   
   **To Reproduce**
   
   ```
       #[test]
       fn test_primitive_array_modulus_scalar_sliced() {
           let a = Int32Array::from(vec![Some(15), None, Some(9), Some(8), 
None]);
           let a = a.slice(1, 4);
           let a = as_primitive_array(&a);
           let actual = modulus_scalar(a, 3).unwrap();
           let expected = Int32Array::from(vec![None, Some(0), Some(2), None]);
           assert_eq!(actual, expected);
       }
   ```
   
   **Expected behavior**
   The test succeeds.
   
   **Actual behavior**
   The test doesn't succeed.
   
   **Additional context**
   


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