You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2019/09/07 16:19:00 UTC

[jira] [Closed] (ARROW-6255) [Rust] [Parquet] Cannot use any published parquet crate due to parquet-format breaking change

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

Andy Grove closed ARROW-6255.
-----------------------------
      Assignee: Chao Sun
    Resolution: Resolved

This was fixed by commit 0a2fec89c98efd534fd14d9b3757257aefcc6c55 back in July

> [Rust] [Parquet] Cannot use any published parquet crate due to parquet-format breaking change
> ---------------------------------------------------------------------------------------------
>
>                 Key: ARROW-6255
>                 URL: https://issues.apache.org/jira/browse/ARROW-6255
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust
>    Affects Versions: 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.14.1
>            Reporter: Andy Grove
>            Assignee: Chao Sun
>            Priority: Major
>             Fix For: 0.15.0
>
>
> 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.
> {code:java}
>    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`{code}
> 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



--
This message was sent by Atlassian Jira
(v8.3.2#803003)