-
Notifications
You must be signed in to change notification settings - Fork 19
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-48: Implement VectorAppender for BaseVariableWidthViewVector #454
base: main
Are you sure you want to change the base?
Conversation
bfa1bcf
to
5470deb
Compare
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.
Does this test the case of multiple data buffers?
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.
You mean ViewVarCharVector.dataBuffers.size() > 1
. I'm afraid not. I'll check it, and add a case if it's not covered.
VectorAppender appender = new VectorAppender(target); | ||
delta.accept(appender, null); | ||
|
||
assertEquals(2, target.getDataBuffers().size()); |
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.
@lidavidm ViewVarCharVector.dataBuffers.size() > 1
is already covered in this test case.
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.
But what about the cases where target
and delta
have more than one data buffer before appending?
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.
It's covered in e918540.
Fixes #48.