You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/05/15 01:39:00 UTC
[jira] [Assigned] (ARROW-8808) [Rust] Divide by zero in
arrays/builder.rs
[ https://issues.apache.org/jira/browse/ARROW-8808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove reassigned ARROW-8808:
---------------------------------
Assignee: Andy Grove
> [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
> Assignee: Andy Grove
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)