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

GH-324: [Java] c data interface to share value vector, vsr and reader #325

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

davisusanibar
Copy link
Contributor

To close #324


For Python Consumer and Java Producer, please consider:

- The Root Allocator should be shared for all memory allocations.
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be RootAllocator?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, let me update that

Copy link
Contributor

Choose a reason for hiding this comment

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

@davisusanibar if it is the case, there are a few instances below.

java/source/cdata.rst Outdated Show resolved Hide resolved
Sharing ValueVector
*******************

Java Side:
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe: Java Component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed


[1, 7, 93]

Python Side:
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe Python Component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed


jvmargs=["-Darrow.memory.debug.allocator=true"]
jpype.startJVM(*jvmargs, jvmpath=jpype.getDefaultJVMPath(), classpath=[
"./target/java-python-by-cdata-1.0-SNAPSHOT-jar-with-dependencies.jar"])
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to leave a comment regarding the jar we have mentioned here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

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.

[Java] How to use the C Data Interface for Java <--> Python
3 participants