Skip to content

Support Continue on Error in CSV Reader #4809

@GCHQDeveloper61637

Description

@GCHQDeveloper61637

Describe the bug
Attempting to read malformed CSV records where the number of columns doesn't match the schema leads to an out-of-memory error.

To Reproduce
See minimal example Rust code below.

arrow_bug.txt

Expected behavior
The CSV reader should start re-start reading from the first newline/delimiter after the malformed row is encountered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions