[ 
https://issues.apache.org/jira/browse/ARROW-11073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Lamb updated ARROW-11073:
--------------------------------
    Description: 
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}


  was:
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 


> [Rust] Lint Error on CI Tests
> -----------------------------
>
>                 Key: ARROW-11073
>                 URL: https://issues.apache.org/jira/browse/ARROW-11073
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Andrew Lamb
>            Assignee: Andrew Lamb
>            Priority: Major
>
> 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}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to