alamb commented on a change in pull request #8853:
URL: https://github.com/apache/arrow/pull/8853#discussion_r542643059
##########
File path: rust/arrow/src/array/array_binary.rs
##########
@@ -373,6 +376,45 @@ impl From<Vec<Vec<u8>>> for FixedSizeBinaryArray {
}
}
+impl From<Vec<Option<Vec<u8>>>> for FixedSizeBinaryArray {
+ fn from(data: Vec<Option<Vec<u8>>>) -> Self {
+ let len = data.len();
+ assert!(len > 0);
+ // try to estimate the size. This may not be possible no entry is
valid => panic
Review comment:
Filed https://issues.apache.org/jira/browse/ARROW-10903
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]