You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/10/18 18:08:30 UTC

[GitHub] [arrow-rs] alamb commented on issue #840: Build error in downstream crate `odbc2parquet` after updating to `parquet 6.0.0` -- unresolved import `arrow::ipc`

alamb commented on issue #840:
URL: https://github.com/apache/arrow-rs/issues/840#issuecomment-946031970


   For the record the error is:
   
   ```
   error[E0433]: failed to resolve: could not find `ipc` in `arrow`
      --> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\parquet-6.0.0\src\arrow\schema.rs:189:26
       |
   189 |             match arrow::ipc::root_as_message(slice) {
       |                          ^^^ could not find `ipc` in `arrow`
   ```
   
   Sorry @pacman82  -- the workaround as you have discovered in https://github.com/pacman82/odbc2parquet/commit/bbc6036d207f93e679974441324a578b10296321 is to disable the optional arrow dependency if you don't need it
   
   Another workaround, if anyone else needs the optional `arrow` feature of the `parquet` crate, is to add something like the following to your Cargo.toml file
   
   ```toml
   arrow = { version = "6.0.0" , features = ["ipc"] }
   ```
   
   (yes add the arrow crate)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org