R. Tyler Croy created ARROW-8610:
------------------------------------

             Summary: DivideByZero when running arrow crate when simd feature 
is disabled
                 Key: ARROW-8610
                 URL: https://issues.apache.org/jira/browse/ARROW-8610
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust
            Reporter: R. Tyler Croy


This is reproducible when running without simd features, or when trying to 
compile on an {{aarch64}} machine as well.

 

{{% cargo test --no-default-features}}

 
{code:java}
failures:---- 
compute::kernels::arithmetic::tests::test_primitive_array_divide_with_nulls 
stdout ----
thread 
'compute::kernels::arithmetic::tests::test_primitive_array_divide_with_nulls' 
panicked at 'called `Result::unwrap()` on an `Err` value: DivideByZero', 
src/libcore/result.rs:1187:5
failures:
    
compute::kernels::arithmetic::tests::test_primitive_array_divide_with_nullstest 
result: FAILED. 312 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out 
{code}
 

I tried to address the issue this myself, and it looks like the {{divide}} 
function with the {{simd}} feature doesn't work properly, something is up with 
{{math_op}} but I don't understand this well enough.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to