You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kylebarron (via GitHub)" <gi...@apache.org> on 2025/08/22 02:05:58 UTC
[I] parquet: No method named `to_ne_bytes` found for struct `bloom_filter::Block` for target `s390x-unknown-linux-gnu` [arrow-rs]
kylebarron opened a new issue, #8207:
URL: https://github.com/apache/arrow-rs/issues/8207
**Describe the bug**
When [publishing Python wheels on CI](https://github.com/kylebarron/arro3/actions/runs/17143321818/job/48634791091) for the latest version of [arro3-io](https://github.com/kylebarron/arro3), which uses the `parquet` crate, it no longer builds for `parquet` v56 on the `s390x-unknown-linux-gnu` target. (It built fine for `parquet` v55).
```
error[E0599]: no method named `to_ne_bytes` found for struct `bloom_filter::Block` in the current scope
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parquet-56.0.0/src/bloom_filter/mod.rs:125:27
|
105 | struct Block([u32; 8]);
| ------------ method `to_ne_bytes` not found for this struct
...
125 | self.swap_bytes().to_ne_bytes()
| ^^^^^^^^^^^
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_ne_bytes`, perhaps you need to implement it:
candidate #1: `num::traits::ToBytes`
help: there is a method `to_le_bytes` with a similar name
|
125 - self.swap_bytes().to_ne_bytes()
125 + self.swap_bytes().to_le_bytes()
|
```
**To Reproduce**
I'm not exactly sure how to reproduce this outside of CI. On my mac, I can't reproduce for that target; it succeeds for `cargo build -p parquet --target s390x-unknown-linux-gnu` and fails for a different reason (with `ring`) when `--all-features` is passed.
**Expected behavior**
Should compile.
**Additional context**
I'm not sure if there are specific targets that are supported/unsupported? If `s390x-unknown-linux-gnu` is not supported, I can close this issue and just not build Python wheels for that target.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] parquet: No method named `to_ne_bytes` found for struct `bloom_filter::Block` for target `s390x-unknown-linux-gnu` [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #8207: parquet: No method named `to_ne_bytes` found for struct `bloom_filter::Block` for target `s390x-unknown-linux-gnu`
URL: https://github.com/apache/arrow-rs/issues/8207
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] parquet: No method named `to_ne_bytes` found for struct `bloom_filter::Block` for target `s390x-unknown-linux-gnu` [arrow-rs]
Posted by "jhorstmann (via GitHub)" <gi...@apache.org>.
jhorstmann commented on issue #8207:
URL: https://github.com/apache/arrow-rs/issues/8207#issuecomment-3213671245
This sounds related to the performance optimizations that I did in <https://github.com/apache/arrow-rs/pull/7824>, let me take a look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org