8000 Offset buffer contains garbled data when exporting empty string arrays from Java · Issue #704 · apache/arrow-java · GitHub
[go: up one dir, main page]

Skip to content

Offset buffer contains garbled data when exporting empty string arrays from Java #704

@Kontinuation

Description

@Kontinuation

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

apache/arrow#40043 fixes exporting empty string arrays by exporting a non-empty offset buffer. However, the offset buffer is not properly initialized. The first byte of the offset buffer may not be 0 and causes weird errors on the importing side. See apache/datafusion-comet#1615 for a issue of datafusion-comet caused by this.

This may also relates to #88. apache/arrow#40043 introduces a bug that corrupts the offset buffer before reading.

Metadata

Metadata

Assignees

Labels

Type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0