Skip to content

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

@asfimport

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions