You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment in the StringView implementation, public ArrowBuf[] getBuffers(boolean clear) function only returns the offset, validity and value buffers. But for recreating views entirely and support related features it would be better to introduce additional function or improve the existing function to return the view buffers.
Component(s)
Java
The text was updated successfully, but these errors were encountered:
vibhatha
changed the title
[Java] Implement a function to retrieve reference buffers
[Java] Implement a function to retrieve reference buffers in StringView
Apr 2, 2024
…n StringView (#41796)
### Rationale for this change
This PR includes a minor changes to the `getBuffers` method in `BaseVariableWidthViewVector`.
### What changes are included in this PR?
Previously the fixed buffers were the only ones returned from this method because of lack of clarity in the initial implementation stage. In this PR, it includes the variadic buffers to the result. A test case has also being added.
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: #40930
Authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
…fers in StringView (apache#41796)
### Rationale for this change
This PR includes a minor changes to the `getBuffers` method in `BaseVariableWidthViewVector`.
### What changes are included in this PR?
Previously the fixed buffers were the only ones returned from this method because of lack of clarity in the initial implementation stage. In this PR, it includes the variadic buffers to the result. A test case has also being added.
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: apache#40930
Authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Describe the enhancement requested
At the moment in the StringView implementation,
public ArrowBuf[] getBuffers(boolean clear)
function only returns theoffset, validity and value
buffers. But for recreating views entirely and support related features it would be better to introduce additional function or improve the existing function to return the view buffers.Component(s)
Java
The text was updated successfully, but these errors were encountered: