Uh oh!
There was an error while loading. Please reload this page.
ARROW-1192: [JAVA] Use buffer slice for splitAndTransfer in List and … - #819
ARROW-1192: [JAVA] Use buffer slice for splitAndTransfer in List and …#819StevenMPhillips wants to merge 1 commit into
Conversation
…Union vectors Includes a fix for splitAndTransfer in BitVector for the case when split length is 0
xhochy
commented
Jul 17, 2017
@StevenMPhillips Can you give a bit more context on this change so that I'm able to review it? |
wesm
commented
Jul 17, 2017
Needs a unit test also |
jacques-n
commented
Jul 20, 2017
@siddharthteotia, can you take over this pull request and add some unit tests? The goal of this PR was to update some vectors so they were more efficient at splitting vectors into subvectors. Many vectors are already efficient, minimizing manipulation of data. However, the ListVector and BitVector were doing far more work than necessary. In Dremio we use splitAndTransfer when unrolling lists. Ensuring that these apis are efficient substantially reduces CPU overhead during this operation. See the code using it here: https://github.com/dremio/dremio-oss/blob/master/sabot/kernel/src/main/java/com/dremio/sabot/op/flatten/FlattenTemplate.java#L205. Probably makes sense to move our Dremio code for this class over to Arrow as well: |
@jacques-n |
siddharthteotia
commented
Jul 27, 2017
I have opened a new PR -- #901 |
wesm
commented
Jul 29, 2017
This one can be closed |
wesm
commented
Aug 4, 2017
Can this be closed? |
jacques-n
commented
Aug 8, 2017
@StevenMPhillips, please close. |
wesm
commented
Sep 19, 2017
@StevenMPhillips can you close? |
…Union vectors
Includes a fix for splitAndTransfer in BitVector for the case when split length is 0