Skip to content

Enhancement: more benevolent LeafEntry #141

@simonmandlik

Description

@simonmandlik

Currently, the following fails:

julia schema(["1", 1])
ERROR: InconsistentSchema at root: Can't store `Int64` into `LeafEntry{String}`!

which is ok as long as we want to process the data in this leaf all as Strings or all as Numbers. However, if the amount of values is small, we might want to process this as a categorical variable.

In such case, we need a way of schema creation that wouldn't fail. What would be a suitable interface for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions