You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2020/12/30 12:13:00 UTC
[jira] [Resolved] (ARROW-11073) [Rust] Lint Error on CI Tests in
/arrow/rust/arrow/src/ipc/reader.rs
[ https://issues.apache.org/jira/browse/ARROW-11073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lamb resolved ARROW-11073.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 9046
[https://github.com/apache/arrow/pull/9046]
> [Rust] Lint Error on CI Tests in /arrow/rust/arrow/src/ipc/reader.rs
> --------------------------------------------------------------------
>
> Key: ARROW-11073
> URL: https://issues.apache.org/jira/browse/ARROW-11073
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Rustfmt error was introduced in this PR: https://github.com/apache/arrow/commit/30ce2eb5d4dc6136594f005f6b7ec7315afc9a88
> Which leads to errors such as
> https://github.com/apache/arrow/pull/8648/checks?check_run_id=1625423680
> {code}
> Diff in /arrow/rust/arrow/src/ipc/reader.rs at line 160:
> let null_count = struct_node.null_count() as usize;
> let struct_array = if null_count > 0 {
> // create struct array from fields, arrays and null data
> - StructArray::from((
> - struct_arrays,
> - null_buffer,
> - ))
> + StructArray::from((struct_arrays, null_buffer))
> } else {
> StructArray::from(struct_arrays)
> };
> {code}
> On all PRs in the repo
--
This message was sent by Atlassian Jira
(v8.3.4#803005)