Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11073

[Rust] Lint Error on CI Tests in /arrow/rust/arrow/src/ipc/reader.rs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Rust

    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

      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)
                   };
      

      On all PRs in the repo

      Attachments

        Issue Links

          Activity

            People

              alamb Andrew Lamb
              alamb Andrew Lamb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h