You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/05/14 23:39:00 UTC
[jira] [Created] (ARROW-8808) [Rust] Divide by zero in
arrays/builder.rs
Andy Grove created ARROW-8808:
---------------------------------
Summary: [Rust] Divide by zero in arrays/builder.rs
Key: ARROW-8808
URL: https://issues.apache.org/jira/browse/ARROW-8808
Project: Apache Arrow
Issue Type: Bug
Components: Rust
Reporter: Andy Grove
Fix For: 1.0.0
Integration testing exposed a bug in cases where values_data.len() is zero. This fails with divide by zero error.
{code:java}
// check that values_data length is multiple of len
assert!(
values_data.len() / len == self.list_len as usize,
"Values of FixedSizeList must have equal lengths, values have length {} and list has {}",
values_data.len(),
len
); {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)