Skip to content

Don't try to infer nulls in CSV schema inference #2859

@Dandandan

Description

@Dandandan

Describe the bug

This came up in apache/datafusion#3783

I believe it is safer choice to infer nullable types always, and the benefit of having non-null inferred is relatively limited.

To Reproduce

Infer csv with nulls that occur after beyond the number of rows schema inference is using.

Expected behavior

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratebug

    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