Skip to content

Row Format: API to check if datatypes are supported #3077

@crepererum

Description

@crepererum

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm trying to use the arrow row format in DataFusion. For that it would be helpful to know early (read: before piping any actual payload through physical execution) if a certain data type is supported by the row format or not.

Describe the solution you'd like
RowConverter::new should check supported types and return a Result<> if types are not supported. RowConverter::convert_{columns,rows} should never bail out due to unsupported types.

Describe alternatives you've considered
Piping some one-row payload through the converter to check if the types would be supported. This seems to be a hack though.

Additional context
-

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions