Skip to content

Add handling for corrupted rows e.g. enum property onBadLines with options ERROR, WARN or SKIP to all ToIon plugins e.g. CsvToIon #80

@anna-geller

Description

@anna-geller

Feature description

in pandas, there is a "on_bad_lines" property:

on_bad_lines{‘error’, ‘warn’, ‘skip’}, default ‘error’
Specifies what to do upon encountering a bad line (a line with too many fields). Allowed values are :

'`error`', raise an Exception when a bad line is encountered.

'`warn`', raise a warning when a bad line is encountered and skip that line.

'`skip`', skip bad lines without raising or warning when they are encountered.

It's worth adding an enum property onBadLines with options ERROR, WARN or SKIP to all ToIon tasks to allow a more configurable handling of bad lines:

image

Metadata

Metadata

Assignees

Labels

area/backendNeeds backend code changesarea/pluginPlugin-related issue or feature requestenhancementNew feature or requestgood first issueGreat issue for new contributors

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions