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
[SPARK-38028][SQL] Expose Arrow Vector from ArrowColumnVector #35326
Conversation
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.
+1, LGTM. Thank you, @viirya .
I guess it's fine to expose .. @BryanCutler FYI. |
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.
LGTM too
Merged to master for Apache Spark 3.3. |
Thank you @dongjoon-hyun @sunchao @HyukjinKwon |
A little late, but SGTM |
Thank you, @BryanCutler . |
Thank you @BryanCutler |
### What changes were proposed in this pull request? This change exposes Arrow Vector from `ArrowColumnVector`. ### Why are the changes needed? In some cases we need to work with Arrow Vectors behind `ColumnVector` using Arrow APIs. For example, some Spark extension libraries need to consume Arrow Vectors. For now, it is impossible as the Arrow Vector is private member in `ArrowColumnVector`. We need to expose the Arrow Vector from `ArrowColumnVector`. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests. Closes apache#35326 from viirya/arrow_vector. Authored-by: Liang-Chi Hsieh <viirya@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
This change exposes Arrow Vector from
ArrowColumnVector
.Why are the changes needed?
In some cases we need to work with Arrow Vectors behind
ColumnVector
using Arrow APIs. For example, some Spark extension libraries need to consume Arrow Vectors. For now, it is impossible as the Arrow Vector is private member inArrowColumnVector
. We need to expose the Arrow Vector fromArrowColumnVector
.Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests.