Skip to content

[Java] Fix BaseVariableWidthViewVector #44088

@ViggoC

Description

@ViggoC

Describe the bug, including details regarding any error messages, version, and platform.

Fix some bug in BaseVariableWidthViewVector

  1. Fix handleSafe(), while (index >= getValueCapacity()) may goes into a dead loop until the validityBufferSize is overflow when dataLength == 0,
  2. Fix copyFrom() and copyFromSafe(), the logic is wrong if fromIndex != thisIndex or the initialCapacity of the source and target vector is different.

Component(s)

Java

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions