You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2026/08/30 03:55:35 UTC
[I] degenerate 0 sized fixed size list misbehaves under take [arrow-rs]
Jefffrey opened a new issue, #10914:
URL: https://github.com/apache/arrow-rs/issues/10914
### Describe the bug
got codex to run some correctness checks against take kernel, it surfaced this bug:
```rust
// arrow-select/src/take.rs
#[test]
fn test_take_zero_sized_fixed_size_list() {
let input = FixedSizeListArray::try_new_with_length(
Field::new_list_field(DataType::Int32, true).into(),
0,
Arc::new(Int32Array::new_null(0)),
None,
3,
)
.unwrap();
let indices = UInt32Array::from(vec![2, 0]);
let result = take(&input, &indices, None).unwrap();
assert_eq!(result.len(), 2);
}
```
on main this test fails:
```sh
---- take::tests::test_take_zero_sized_fixed_size_list stdout ----
thread 'take::tests::test_take_zero_sized_fixed_size_list' (35753445) panicked at arrow-select/src/take.rs:3232:9:
assertion `left == right` failed
left: 0
right: 2
```
it should succeed
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
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] degenerate 0 sized fixed size list misbehaves under take [arrow-rs]
Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey closed issue #10914: degenerate 0 sized fixed size list misbehaves under take
URL: https://github.com/apache/arrow-rs/issues/10914
--
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] degenerate 0 sized fixed size list misbehaves under take [arrow-rs]
Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey commented on issue #10914:
URL: https://github.com/apache/arrow-rs/issues/10914#issuecomment-5466577022
fyi @Rich-T-kid
--
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