-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-7913: [C++][Python][R] C++ implementation of C data interface #6483
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
Conversation
|
Should I add extension type support in this PR or open a JIRA to do it later? |
|
For me, I'm fine with a followup. Think we'll also need a followup to handle ChunkedArray and Table anyway, IIRC. |
bkietz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this!
Lots of comments:
ci/docker/linux-apt-r.dockerfile
Outdated
| @@ -63,6 +67,18 @@ COPY ci/scripts/r_deps.sh /arrow/ci/scripts/ | |||
| COPY r/DESCRIPTION /arrow/r/ | |||
| RUN /arrow/ci/scripts/r_deps.sh /arrow | |||
|
|
|||
| # Set up Python 3 and its dependencies | |||
| RUN ln -s /usr/bin/python3 /usr/local/bin/python && \ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a call to update-alternatives or so?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea. At least I don't see a /etc/alternatives/python on Ubuntu.
cpp/src/arrow/c/bridge.cc
Outdated
| return Status::OK(); | ||
| } | ||
|
|
||
| Status ImportNullBitmap(int32_t buffer_id = 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Status ImportNullBitmap(int32_t buffer_id = 0) { | |
| Status ImportNullBitmap() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine as is.
python/pyarrow/cffi.py
Outdated
| }; | ||
| """ | ||
|
|
||
| # TODO use out-of-line mode for faster import and avoid C parsing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # TODO use out-of-line mode for faster import and avoid C parsing | |
| # TODO(pitrou) use out-of-line mode for faster import and avoid C parsing |
bkietz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this!
Lots of comments:
c2606d6 to
c4e3551
Compare
|
Rebasing. |
c4e3551 to
d18ec1d
Compare
|
CI is green; I'd like to merge now. @bkietz do you consent? |
bkietz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging
No description provided.