Skip to content

Publicly export MapFieldNames #2118

@alanhe

Description

@alanhe

Describe your question
arrow::array::MapBuilder is public (#1355), but MapFieldNames is not, making it impossible to call new() and with_capacity() with a proper value.

pub fn new(
field_names: Option<MapFieldNames>,
key_builder: K,
value_builder: V,
) -> Self {
let capacity = key_builder.len();
Self::with_capacity(field_names, key_builder, value_builder, capacity)
}

I guess MapFieldNames should be exported too, should it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratebugquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions