Uh oh!
There was an error while loading. Please reload this page.
ARROW-11187: [Rust] [Parquet] Fix Build error by Pin specific parquet-format-rs version - #9138
ARROW-11187: [Rust] [Parquet] Fix Build error by Pin specific parquet-format-rs version#9138nevi-me wants to merge 1 commit into
Conversation
nevi-me
commented
Jan 8, 2021
We had pinned the version at some point, we must have unpinned it while updating dependencies. |
alamb
commented
Jan 8, 2021
I think given that 2.6.1 --> 2.7.0 was a breaking change, the default versioning scheme wanted to see it use major version numbers (aka 2.7.0 should have been 3.0.0) |
alamb
commented
Jan 8, 2021
Thanks for fixing this @nevi-me ! |
mqy
commented
Jan 8, 2021
Thanks @nevi-me I guess the reason that I can't reproduce this failure may related to crate cache somehow? |
@alamb the version of the crate follows the Parquet format versioning. I was thinking about it today, I'll open a PR in the crate, suggesting how the versioning can work going forward. We released We can use |
alamb
commented
Jan 8, 2021
mqy
commented
Jan 8, 2021
@alamb reproduced, thanks! Here is the output from my local BTW, should we check and pin all dependencies in this way to avoid suddenly broking? |
codecov-io
commented
Jan 8, 2021
Codecov Report
@@ Coverage Diff @@## master #9138 +/- ##
==========================================
- Coverage 82.60% 82.57% -0.04%
==========================================
Files 204 204 Lines 50496 50879 +383 ==========================================
+ Hits 41713 42011 +298 - Misses 8783 8868 +85
Continue to review full report at Codecov.
|
nevi-me
commented
Jan 8, 2021
Historically, we seldom have issues with minor version of crates being updated. I think the effort to pin everything isn't worth it. It's actually by luck that we caught the parquet-format-rs update before a new major Arrow release. |
| [dependencies] | ||
| parquet-format = "2.6.1" | ||
| parquet-format = "~2.6.1" |
There was a problem hiding this comment.
nit: can we add a comment here for future reference? I think this is not the first time we got this error.
jorgecarleitao
commented
Jan 8, 2021
Having a library version be set after a format version is funny, as it is entirely possible to backward incompatibly change an API without backward incompatibly change the format, and vice-versa. IMO the contract that different implementations sign about a format is independent of the contract that the consumers of a library sign with the developers of the library. Given the decision to version that package as such, IMO we should pin the exact version in |
alamb
commented
Jan 8, 2021
I agree |
parquet-format 2.7.0 was released yesterday, and our cargo.toml file specifies 2.6.1, which means cargo will update this on new builds or of you run
cargo updateSadly this version of new parquet format causes a build error:
This PR pins the version so that it will not pick up 2.7