-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-5434: [Memory][Java] Introduce wrappers for backward compatibility. #4406
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
praveenbingo
commented
May 29, 2019
- Introduce some wrapper methods to reduce amount of client changes.
- Changes were introduced as part of patch to support arrow buffers on random memory.
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.
can we mark these as "@deprecated", so clients know they should moving off of them?
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.
done.
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.
why deprecate ? It's a useful convenience fn, so also retain.
|
@praveenbingo I think we prefer creating new issues instead of multiple PRs attached to the same issue. Do you mind creating a new one? |
Sure will do. |
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.
why deprecate ? It's a useful convenience fn, so also retain.
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.
agree this should be deprecated - readerIndex and writerIndex should move to NettyArrowBuf
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.
ideally we should not have duplicate methods doing the same work, at some point in the future we should remove the older..
…ibility. - Introduce some wrapper methods to reduce amount of client changes. - Changes were introduced as part of patch to support arrow buffers on random memory.
46b1492 to
389c107
Compare
Codecov Report
@@ Coverage Diff @@
## master #4406 +/- ##
==========================================
+ Coverage 88.21% 89.38% +1.17%
==========================================
Files 677 639 -38
Lines 78799 88885 +10086
Branches 1251 0 -1251
==========================================
+ Hits 69509 79449 +9940
- Misses 9054 9436 +382
+ Partials 236 0 -236Continue to review full report at Codecov.
|
|
@pravindra can you please merge if this looks ok to you. |
…ity. - Introduce some wrapper methods to reduce amount of client changes. - Changes were introduced as part of patch to support arrow buffers on random memory. Author: Praveen <praveen@dremio.com> Closes apache#4406 from praveenbingo/ARROW-3191-1 and squashes the following commits: 389c107 <Praveen> Fix review comments and ci. fdab3dd <Praveen> ARROW-3191: Introduce wrappers to keep backward compatibility.