Skip to content

Proposal: Implement CSVReader Configuration #40

@dixonwhitmire

Description

@dixonwhitmire

This proposal supports the addition of a new configuration model, CsvReaderParams, to the existing DataContract model.

CsvReaderParams collects the existing "csv reader params" within the General and FileDefinition, so that all "csv reader params" are managed within a single document. Collected parameters include:

CsvReaderParams is implemented as an Optional field within the General and FileDefinition configurations. When CsvReaderParams is defined in both General and FileDefinition models, the FileDefinition.CsvReaderParams overrides values set in General.CsvReaderParams.

If CsvReaderParams is not configured within the General model, a default instance is created with appropriate defaults, based on the defaults for the 1.1.0 release.

  • emptyFieldValues = None
  • valueDelimiter = ","
  • convertColumnsToString = True
  • headers = None
  • skipRows = None

Finally the existing fields will remain where they are for a "reasonable" amount of time to allow users to migrate to the new configuration model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions