Skip to content

ARROW-7913: [C++][Python][R] C++ implementation of C data interface#6483

Closed
pitrou wants to merge 6 commits into
apache:masterfrom
pitrou:ARROW-7913-c-data-interface-impl
Closed

ARROW-7913: [C++][Python][R] C++ implementation of C data interface#6483
pitrou wants to merge 6 commits into
apache:masterfrom
pitrou:ARROW-7913-c-data-interface-impl

Conversation

@pitrou

@pitrou pitrou commented Feb 24, 2020

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown

@pitrou

pitrou commented Feb 24, 2020

Copy link
Copy Markdown
Member Author

Should I add extension type support in this PR or open a JIRA to do it later?

@nealrichardson

Copy link
Copy Markdown
Member

For me, I'm fine with a followup. Think we'll also need a followup to handle ChunkedArray and Table anyway, IIRC.

@bkietz bkietz self-requested a review February 25, 2020 14:36

@bkietz bkietz left a comment

Copy link
Copy Markdown
Member

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:

Comment thread cpp/src/arrow/c/bridge.h Outdated
Comment thread ci/docker/linux-apt-r.dockerfile Outdated

Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member Author

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.

Comment thread ci/docker/linux-apt-r.dockerfile Outdated
Comment thread cpp/src/arrow/array/builder_time.h Outdated
Comment thread cpp/src/arrow/c/helpers.h Outdated
Comment thread cpp/src/arrow/c/bridge.cc Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
Status ImportNullBitmap(int32_t buffer_id = 0) {
Status ImportNullBitmap() {

Copy link
Copy Markdown
Member Author

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.

Comment thread cpp/src/arrow/c/bridge.cc Outdated
Comment thread cpp/src/arrow/c/bridge.cc Outdated
Comment thread r/tests/testthat/test-python.R Outdated
Comment thread python/pyarrow/cffi.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
# 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 bkietz left a comment

Copy link
Copy Markdown
Member

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:

@pitrou pitrou force-pushed the ARROW-7913-c-data-interface-impl branch 5 times, most recently from c2606d6 to c4e3551 Compare March 2, 2020 14:08
@pitrou

pitrou commented Mar 2, 2020

Copy link
Copy Markdown
Member Author

Rebasing.

@pitrou pitrou force-pushed the ARROW-7913-c-data-interface-impl branch from c4e3551 to d18ec1d Compare March 2, 2020 14:23
@nealrichardson

Copy link
Copy Markdown
Member

CI is green; I'd like to merge now. @bkietz do you consent?

@bkietz bkietz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

merging

@bkietz bkietz closed this in 24ce242 Mar 2, 2020
@pitrou pitrou deleted the ARROW-7913-c-data-interface-impl branch March 2, 2020 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants