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

[Java] Cleanup JDBC interfaces and eliminate one memcopy for binary/varchar fields #22677

Closed
asfimport opened this issue Aug 20, 2019 · 2 comments

Comments

@asfimport
Copy link

  • If we use direct setting of fields, we can avoid the extra temporary buffer and memcpy by setting bytes directly.
  • We should overwrite existing vectors in consumers before returning results, to avoid the possibility of closing vectors in use (or alternatively make sure we retain the underlying buffers).
  • Try to eliminate some of the state in load() by moving initialization to the constructor.

Reporter: Micah Kornfield / @emkornfield
Assignee: Ji Liu / @tianchen92

PRs and other links:

Note: This issue was originally created as ARROW-6296. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Ji Liu / @tianchen92:
Are you planning to do this yourself?

@asfimport
Copy link
Author

Micah Kornfield / @emkornfield:
Issue resolved by pull request 5152
#5152

@asfimport asfimport added this to the 0.15.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants