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 12:28:20 UTC

[GitHub] [arrow-rs] jamescorbett commented on issue #1390: `FixedSizeBinaryArray::try_from_sparse_iter` failed when given all Nones

jamescorbett commented on issue #1390:
URL: https://github.com/apache/arrow-rs/issues/1390#issuecomment-1059953874


   > Has it already been fixed?
   > 
   > ```rust
   > fn test_fixed_size_binary_array_from_sparse_iter() {
   >     let none_option: Option<[u8; 32]> = None;
   >     let input_arg = vec![none_option, none_option, none_option, none_option];
   >     let arr =
   >         FixedSizeBinaryArray::try_from_sparse_iter(input_arg.into_iter()).unwrap();
   >     assert_eq!(0, arr.value_length());
   >     assert_eq!(4, arr.len())
   > }
   > ```
   > 
   > I create and run this unit test, and it is ok.
   
   
   The issue is not this. The error occurs when using the schema.


-- 
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