mhilton commented on issue #9157:
URL: https://github.com/apache/arrow-rs/issues/9157#issuecomment-3745001285
By the way I expect you actually wanted your assertions to be:
```rust
assert!(String::from_utf8(array.value(0).to_vec()).is_ok());
// value 1 is invalid utf8
assert!(String::from_utf8(array.value(1).to_vec()).is_err());
assert!(String::from_utf8(array.value(2).to_vec()).is_ok());
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]