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

[Rust] [Parquet] Cannot use any published parquet crate due to parquet-format breaking change

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.14.1
    • Fix Version/s: 0.15.0
    • Component/s: Rust
    • Labels:
      None

      Description

      As a user who wants to use the Rust version of Arrow, I am unable to use any of the previously published versions due to the recent breaking change in parquet-format 2.6.0.

      To reproduce, simply create an empty Rust project using "cargo init example --bin", add a dependency on any version of parquet e.g. "parquet-0.14.1" and attempt to build the project.

         Compiling parquet v0.13.0
      
      error[E0599]: no variant or associated item named `BOOLEAN` found for type `parquet_format::parquet_format::Type` in the current scope
      
         --> /Users/agrove/.cargo/registry/src/github.com-1ecc6299db9ec823/parquet-0.13.0/src/basic.rs:408:28
      
          |
      
      408 |             parquet::Type::BOOLEAN => Type::BOOLEAN,
      
          |                            ^^^^^^^ variant or associated item not found in `parquet_format::parquet_format::Type`

      This bug has already been fixed in master [1], but there is no usable published crate. We could consider publishing a 0.14.2 to resolve this or just wait until the 0.15.0 release. We could also consider using this Jira to at least document a workaround, if one exists (maybe Cargo provides a mechanism for overriding transitive dependencies?).

       

      [1] https://issues.apache.org/jira/browse/ARROW-6047

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                csun Chao Sun
                Reporter:
                andygrove Andy Grove
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: