You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kylebarron (via GitHub)" <gi...@apache.org> on 2023/09/05 02:31:14 UTC

[GitHub] [arrow-rs] kylebarron opened a new issue, #4775: object-store: Can't use `http` feature on its own

kylebarron opened a new issue, #4775:
URL: https://github.com/apache/arrow-rs/issues/4775

   **Describe the bug**
   
   With object store set as a dependency using:
   
   ```toml
   object_store = {version = "0.7.0", optional = true, features = ["http"]}
   ```
   
   I'm getting 
   
   ```
   error[E0432]: unresolved import `crate::client::header`
     --> /Users/kyle/.cargo/registry/src/index.crates.io-6f17d22bba15001f/object_store-0.7.0/src/http/mod.rs:43:20
      |
   43 | use crate::client::header::header_meta;
      |                    ^^^^^^ could not find `header` in `client`
   
   error[E0433]: failed to resolve: could not find `header` in `client`
     --> /Users/kyle/.cargo/registry/src/index.crates.io-6f17d22bba15001f/object_store-0.7.0/src/http/mod.rs:66:32
      |
   66 |         source: crate::client::header::Error,
      |                                ^^^^^^ could not find `header` in `client`
   ```
   
   Specifically it looks like that mod is only built if one of aws, gcp, or azure are built.
   
   https://github.com/apache/arrow-rs/blob/b66c57c4b441140f61af846a3371a957e82a5ff7/object_store/src/client/mod.rs#L38-L39
   
   **To Reproduce**
   
   Check out this PR: https://github.com/kylebarron/parquet-wasm/pull/311
   
   ```
   > cargo build --features arrow1 --features async
   ```
   
   ```
   error[E0432]: unresolved import `crate::client::header`
     --> /Users/kyle/.cargo/registry/src/index.crates.io-6f17d22bba15001f/object_store-0.7.0/src/http/mod.rs:43:20
      |
   43 | use crate::client::header::header_meta;
      |                    ^^^^^^ could not find `header` in `client`
   
      Compiling snap v1.1.0
   error[E0433]: failed to resolve: could not find `header` in `client`
     --> /Users/kyle/.cargo/registry/src/index.crates.io-6f17d22bba15001f/object_store-0.7.0/src/http/mod.rs:66:32
      |
   66 |         source: crate::client::header::Error,
      |                                ^^^^^^ could not find `header` in `client`
   ```
   
   **Expected behavior**
   
   I'm trying to use object store in wasm, so I can use only the `http` feature.
   
   **Additional context**
   


-- 
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.apache.org

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


Re: [I] object-store: could not find `header` in `client` for `http` feature [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #4775:
URL: https://github.com/apache/arrow-rs/issues/4775#issuecomment-2741683609

   Migrating from arrow-rs issue [#4775](https://github.com/apache/arrow-rs/issues/4775)


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


[GitHub] [arrow-rs] tustvold commented on issue #4775: object-store: could not find `header` in `client` for `http` feature

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4775:
URL: https://github.com/apache/arrow-rs/issues/4775#issuecomment-1723616111

   `label_issue.py` automatically added labels {'object-store'} from #4796


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


[GitHub] [arrow-rs] alamb closed issue #4775: object-store: could not find `header` in `client` for `http` feature

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #4775: object-store: could not find `header` in `client` for `http` feature
URL: https://github.com/apache/arrow-rs/issues/4775


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