-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GH-40937: [Java] Implement Holder-based functions for ViewVarCharVector #44187
base: main
Are you sure you want to change the base?
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.
Added a few comments. Thanks for starting this work.
java/vector/src/main/java/org/apache/arrow/vector/ViewVarCharVector.java
Outdated
Show resolved
Hide resolved
|
||
NullableViewVarCharHolder stringHolder = new NullableViewVarCharHolder(); | ||
|
||
setAndCheck(viewVarCharVector, 1, strings.get(0), stringHolder); |
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.
To check overwrite?
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 do we need this? Could you explain a bit?
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.
I think it's not needed. I just missed it while adjusting the code. But you reminded me that it is necessary to add some overwrite test cases.
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.
I don't think it is a must. It is okay to leave it at this moment.
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.
PR LGTM. Just a few minor suggestions.
Thanks for working on this.
java/vector/src/main/java/org/apache/arrow/vector/ViewVarCharVector.java
Outdated
Show resolved
Hide resolved
java/vector/src/main/java/org/apache/arrow/vector/ViewVarCharVector.java
Outdated
Show resolved
Hide resolved
@lidavidm PR LGTM, please take a look. |
Thanks for your review. |
@ViggoC let's do it here. |
Whichever is easier for you. |
ViewVarCharVector
#40937