You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/06 14:06:41 UTC
[GitHub] [arrow-rs] jackwener edited a comment on issue #1390: `FixedSizeBinaryArray::try_from_sparse_iter` failed when given all Nones
jackwener edited a comment on issue #1390:
URL: https://github.com/apache/arrow-rs/issues/1390#issuecomment-1059967732
I reproduce it successfully.
```rust
#[test]
fn test() {
let schema =
Schema::new(vec![Field::new("a", DataType::FixedSizeBinary(32), false)]);
let none_option: Option<[u8; 2]> = None;
let item = FixedSizeBinaryArray::try_from_sparse_iter(
vec![none_option, none_option, none_option].into_iter(),
)
.unwrap();
let rb = RecordBatch::try_new(Arc::new(schema), vec![Arc::new(item)]).unwrap();
}
```
--
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