Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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