Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 4.x arrow-rs from crates.io rather than git sha #395

Merged
merged 1 commit into from
May 24, 2021

Conversation

alamb
Copy link
Contributor

@alamb alamb commented May 23, 2021

Which issue does this PR close?

Closes #393

Rationale for this change

Currently datafusion relies on a git sha of the arrow-rs crate. Historically this was required to get updates on a more frequent basis than every quarter when Arrow did major releases. With apache/arrow-rs#292 we are implementing biweekly arrow releases.

This also means prior to this PR that any project that uses datafusion and arrow together requires pinning arrow-rs to the exact same gitsha.

What changes are included in this PR?

Pin to arrow-rs "version 4.0"

However, given the way cargo interprets versions, this (somewhat confusingly) means the latest "4.x" release.

You can see that 4.1 (the most recently released version of arrow-rs) is used by doing something like

cargo update
cargo tree | grep arrow
...
├── arrow v4.1.0 (*)
...

Are there any user-facing changes?

Yes -- the version of arrow-rs used by dependent projects needs to be updated to be 4.0 (or some variant) as well. However, this is no different than what has happened previously when we updated the git sha (dependent crates needed to follow the sha exactly).

This should make future datafusion upgrades easier as arrow dependent versions will only need to be updated on major releases, not each datafusion release

@alamb alamb added enhancement New feature or request datafusion Changes in the datafusion crate api change Changes the API exposed to users of the crate labels May 23, 2021
@alamb alamb changed the title Use arrow-rs from crates.io Use 4.x arrow-rs from crates.io rather than git sha May 23, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #395 (7f1cff7) into master (9eca329) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #395   +/-   ##
=======================================
  Coverage   74.94%   74.94%           
=======================================
  Files         146      146           
  Lines       24314    24314           
=======================================
  Hits        18221    18221           
  Misses       6093     6093           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9eca329...7f1cff7. Read the comment docs.

@Dandandan Dandandan merged commit 4bf2b42 into apache:master May 24, 2021
@alamb alamb deleted the alamb/use_published_arrow branch May 24, 2021 13:02
@alamb
Copy link
Contributor Author

alamb commented May 24, 2021

🎉

@alamb alamb mentioned this pull request Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate datafusion Changes in the datafusion crate enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use published versions of arrow rather than github shas
5 participants