Skip to content

[Format] Is Buffer lengths buffer REQUIRED in C data format of BinaryView #43989

@robert3005

Description

@robert3005

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

C Data interface section on BinaryView mentions that this array type requires an additional buffer to be produced when sending the array. However, it doesn't mention whether that addtional array always has to be present even if there's no data buffers. This could happen for example if your array only contains short strings.

For reference the implementation assumes there are at least 3 buffers which I assume is view, nulls and buffer lengths

if (c_struct_->n_buffers < 3) {

Component(s)

Format

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions