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

Upgrade Arrow to 0.15.0, link python arrow from prebuilt library #768

Merged
merged 5 commits into from
Oct 20, 2019

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Oct 14, 2019

This PR upgrades our version of arrow to 0.15.0, and restricts the custom build of arrow + flatbuffers to WASM and C++ only builds.

For Python builds, we link against libarrow.15.dylib which is built when you run pip install pyarrow. Make sure pyarrow is upgraded to the latest version.

Works on my machine :)

Copy link
Member

@timkpaine timkpaine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cmake/modules/FindPyArrow.cmake Outdated Show resolved Hide resolved
@timkpaine timkpaine added enhancement Feature requests or improvements Python labels Oct 15, 2019
@@ -47,6 +47,7 @@ find_path(PYTHON_PYARROW_INCLUDE_DIR arrow/python/api.h
HINTS "${__pyarrow_path}" "${PYTHON_INCLUDE_PATH}" NO_DEFAULT_PATH)

set(PYTHON_PYARROW_LIBRARY_DIR ${__pyarrow_library_dirs})
set(PYTHON_PYARROW_SHARED_LIBRARY ${__pyarrow_library_dirs}/libarrow.15${CMAKE_SHARED_LIBRARY_SUFFIX})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me validate on windows

@codecov-io
Copy link

Codecov Report

Merging #768 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #768   +/-   ##
=======================================
  Coverage   91.99%   91.99%           
=======================================
  Files          50       50           
  Lines        3359     3359           
=======================================
  Hits         3090     3090           
  Misses        269      269

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 cd203b4...a520b17. Read the comment docs.

@texodus
Copy link
Member

texodus commented Oct 20, 2019

Thanks for the PR! Looks Good!

I've updated the docker images to use pyarrow 0.15.0, but at least for now these are not used.

@texodus texodus merged commit 403e71f into master Oct 20, 2019
@texodus texodus deleted the upgrade-arrow branch October 20, 2019 04:56
@texodus texodus removed the enhancement Feature requests or improvements label Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants