Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapArray::new_from_strings creates nullable entries field #4807

Closed
wjones127 opened this issue Sep 9, 2023 · 0 comments · Fixed by #4808
Closed

MapArray::new_from_strings creates nullable entries field #4807

wjones127 opened this issue Sep 9, 2023 · 0 comments · Fixed by #4808
Assignees
Labels
arrow Changes to the arrow crate bug

Comments

@wjones127
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant