You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/05/07 11:13:00 UTC

[jira] [Resolved] (ARROW-8610) [Rust] DivideByZero when running arrow crate when simd feature is disabled

     [ https://issues.apache.org/jira/browse/ARROW-8610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neville Dipale resolved ARROW-8610.
-----------------------------------
      Assignee: Paddy Horan
    Resolution: Fixed

> [Rust] 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
>            Assignee: Paddy Horan
>            Priority: Major
>             Fix For: 1.0.0
>
>
> 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)