Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Improve error message for unnest with empty list #148

@ablaagaard

Description

@ablaagaard

Reduced test case:
dataFrameOf("a", "b")(listOf(), 1).unnest("a")
fails with "Provided data does not coerce to tabular shape"

It took me a while to figure out from a larger dataset that the empty list was the problem.
I guess unnest could also be defined to unnest to zero rows in this case, but maybe that is too magical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions