Skip to content

CsvDataSource should throw exceptions on error #954

Closed
@sebastian-peter

Description

@sebastian-peter

CsvDataSource returns empty stream/set on error, which does not seem to make much sense.
It seems to me that the input file not existing can be fine (a lot of input sources are optional), but errors during reading and parsing of csv files should still escalate and not just produce an empty stream.

Methods: distinctRowsWithLog, buildStreamWithFieldsToAttributesMap (2x)

Don't forget to adapt JavaDoc.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcode qualityCode readability or structure is improved

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions