This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
[NSE-473]Optimize ArrowColumnarToRow performance #474
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zhouyuan
reviewed
Aug 16, 2021
arrowSchema, batch.numRows, bufAddrs.toArray, bufSizes.toArray, | ||
SparkMemoryUtils.contextMemoryPool().getNativeInstanceId) | ||
val size = estimateBufferSize(batch.numCols(), batch.numRows()) + totalVariableSize.toInt | ||
val directBuffer = ByteBuffer.allocateDirect(size).asInstanceOf[DirectBuffer] |
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.
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.
Updated.
JkSelf
force-pushed
the
ColumnarToRowOP3
branch
16 times, most recently
from
August 24, 2021 06:20
0b3d47c
to
7ba8693
Compare
JkSelf
force-pushed
the
ColumnarToRowOP3
branch
5 times, most recently
from
August 28, 2021 08:46
762cdbd
to
a9d658f
Compare
* [NSE-465] Provide option to rely on JVM GC to release Arrow buffers in Java
… to allocate and free memory
JkSelf
force-pushed
the
ColumnarToRowOP3
branch
from
September 1, 2021 06:23
7ba73dc
to
549434b
Compare
JkSelf
force-pushed
the
ColumnarToRowOP3
branch
from
September 2, 2021 14:19
14c2ef0
to
549434b
Compare
@JkSelf thanks for the continuing efforts! |
Close #473 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
How was this patch tested?
existing tests