Skip to content

[Rust] DivideByZero when running arrow crate when simd feature is disabled #24773

Closed

Description

@asfimport

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

 

% cargo test --no-default-features

 

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 

 

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.

 

Reporter: R. Tyler Croy / @rtyler
Assignee: Paddy Horan / @paddyhoran

Related issues:

Note: This issue was originally created as ARROW-8610. Please see the migration documentation for further details.

Activity

  1. asfimport commented on May 2, 2020

    @asfimport
    Author

    Neville Dipale / @nevi-me:
    This will be fixed as part of ARROW-6718

  2. added this to the 1.0.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions