Skip to content

MapArray::new_from_strings creates nullable entries field #4807

Closed

Description

@wjones127

Describe the bug

This line creates a nullable entries field:

Arc::new(Field::new(
"entries",
entry_struct.data_type().clone(),
true,
)),

The Arrow spec dictates this should not be nullable:

https://github.com/apache/arrow/blob/c4b01c60fba85bbfc3a1b1510e179153c0f79515/format/Schema.fbs#L124

To Reproduce

Expected behavior

Creates a compliant map array.

Additional context

Activity

  1. added
    arrow
    bug
    on Sep 9, 2023
  2. self-assigned this
    on Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arrowbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions