[DO NOT Merge] Very initial pass - ByteBuffer -> Memory#3915
[DO NOT Merge] Very initial pass - ByteBuffer -> Memory#3915niketh wants to merge 1 commit intoapache:masterfrom
Conversation
There was a problem hiding this comment.
This method should be a part of Memory interface.
There was a problem hiding this comment.
If it should exist, should be a part of the memory library, not Druid
There was a problem hiding this comment.
Memory should be Closeable or AutoCloseable
There was a problem hiding this comment.
In #3915 we came to agreement that Memory should be in it's small dedicated library, not datasketches
There was a problem hiding this comment.
@niketh sorry, wrong link. @gianm suggested that here: #3892 (comment) and I agreed here: #3892 (comment)
There was a problem hiding this comment.
I haven't agreed. And @leventov and I are busy working out a solution that should work for both DataSketches and Druid. Let's not jump to conclusions before we determine that a fork is the only solution.
There was a problem hiding this comment.
@leerho it is already done since apache/datasketches-java@92e67a9. and the dependency is already com.yahoo.datasketches:memory, that I missed when wrote my previous comments in this small thread.
|
@cheddar @leventov @gianm @fjy @leerho @akashdw Part 2 of the ByteBuffer -> Memory changes. There are only a few more changes left and we should have a version that will be compatible with already persisted segments. I will be posting Part 3 later this week, which should be the final one (sans code review refactoring) |
|
@niketh what's the point of doing this with the old API? |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@druid.apache.org list. Thank you for your contributions. |
|
This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
@cheddar @leventov This is a very initial pass at moving ByteBuffer -> Memory.