You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/05/16 07:52:00 UTC
[jira] [Resolved] (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 ]
Neville Dipale resolved ARROW-8808.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 7186
[https://github.com/apache/arrow/pull/7186]
> [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: 50m
> 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)