You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ritchie (Jira)" <ji...@apache.org> on 2021/01/26 08:41:00 UTC
[jira] [Updated] (ARROW-11387) [Rust] Arrow 3.0.0 release with simd
feature doesn't compile without feature=avx512.
[ https://issues.apache.org/jira/browse/ARROW-11387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ritchie updated ARROW-11387:
----------------------------
Summary: [Rust] Arrow 3.0.0 release with simd feature doesn't compile without feature=avx512. (was: [Rust] Arrow 3.0.0 release doesn't compile without feature=avx512.)
> [Rust] Arrow 3.0.0 release with simd feature doesn't compile without feature=avx512.
> ------------------------------------------------------------------------------------
>
> Key: ARROW-11387
> URL: https://issues.apache.org/jira/browse/ARROW-11387
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Affects Versions: 3.0.0
> Reporter: Ritchie
> Priority: Major
>
>
> {code:java}
> // code placeholder
> {code}
> When updating to the `3.0.0` release I experienced compilation errors.
>
>
> {code:java}
> error[E0432]: unresolved import `crate::buffer::buffer_bin_or`
> --> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-3.0.0/src/array/array_struct.rs:28:14
> |
> 28 | buffer::{buffer_bin_or, Buffer},
> | ^^^^^^^^^^^^^ no `buffer_bin_or` in `buffer`error[E0432]: unresolved imports `crate::buffer::buffer_bin_and`, `crate::buffer::buffer_bin_or`
> --> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-3.0.0/src/compute/kernels/boolean.rs:30:5
> |
> 30 | buffer_bin_and, buffer_bin_or, buffer_unary_not, Buffer, MutableBuffer,
> | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `buffer_bin_or` in `buffer`
> | |
> | no `buffer_bin_and` in `buffer`error[E0432]: unresolved import `crate::buffer::buffer_bin_and`
> --> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-3.0.0/src/compute/kernels/take.rs:29:23
> |
> 29 | use crate::{array::*, buffer::buffer_bin_and};
> | ^^^^^^^^^^^^^^^^^^^^^^ no `buffer_bin_and` in `buffer`error[E0432]: unresolved imports `crate::buffer::buffer_bin_and`, `crate::buffer::buffer_bin_or`
> --> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-3.0.0/src/compute/util.rs:21:21
> |
> 21 | use crate::buffer::{buffer_bin_and, buffer_bin_or, Buffer};
> | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `buffer_bin_or` in `buffer`
> | |
> | no `buffer_bin_and` in `buffer`error[E0425]: cannot find function `buffer_bin_and` in this scope
> --> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-3.0.0/src/buffer.rs:667:12
> |
> 667 | Ok(buffer_bin_and(&self, 0, &rhs, 0, len_in_bits))
> | ^^^^^^^^^^^^^^--------------------------------
> | |
> | help: try calling `buffer_bin_and` as a method: `self.buffer_bin_and(0, &rhs, 0, len_in_bits)`error[E0425]: cannot find function `buffer_bin_or` in this scope
> --> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-3.0.0/src/buffer.rs:683:12
> |
> 683 | Ok(buffer_bin_or(&self, 0, &rhs, 0, len_in_bits))
> | ^^^^^^^^^^^^^--------------------------------
> | |
> | help: try calling `buffer_bin_or` as a method: `self.buffer_bin_or(0, &rhs, 0, len_in_bits)`
> {code}
> It turns out that compilation was successful when I enable the `avx512` feature.
> *For completeness:*
> It compiles on features
>
> {code:java}
> [avx512, simd]
> or
> []{code}
>
> It does not compile with features
> {code:java}
> [simd]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)