You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0282]: type annotations needed
--> /usr/local/cargo/git/checkouts/iceberg-rust-1cfaaa0dd97c960f/7a5ad1f/crates/iceberg/src/io/storage.rs:115:21
|
115 | Ok((op, stripped))| ^^ cannot infer type of the type parameter `E` declared on the enum `Result`|
help: consider specifying the generic arguments
|
115 | Ok::<(Operator, &str), E>((op, stripped))| +++++++++++++++++++++++
Expected behavior
Compilation and link pass with no issues.
Willingness to contribute
None
The text was updated successfully, but these errors were encountered:
A followup question: what's the idiomatic way to test different combination of features in CI, to prevent it happen?
Local cargo test and cargo build only build for default / all features, which is purpose for "features".
## Which issue does this PR close?
- Closes#1303
## What changes are included in this PR?
This PR makes return type `Return<>` explicit.
## Are these changes tested?
I included a reproduction environment on the issue, and verify it
compiles with no issue after my fix.
Apache Iceberg Rust version
0.4.0 (latest version)
Describe the bug
I'm using main branch, and suffers compilation failure when only storage-fs feature included.
To Reproduce
Reproduce code and repo: https://github.com/dentiny/iceberg-rust-namespace-exists
The above repo attempts to include only
storage-fs
feature, and regular build commandcargo build
fails with compilation failure:Expected behavior
Compilation and link pass with no issues.
Willingness to contribute
None
The text was updated successfully, but these errors were encountered: