Skip to content

choose reader strategy #31

Description

@leoyala

At the moment, the package provides a csv reader that is based on the tabular reader protocol. It is however required to define a way to select the appropriate reader when using the CLI interface when creating snapshots.

Options:

  1. Infer reader from file extension: csv -> CvReader, etc. This option seems too limited when implemented alone.
  2. Let user define reader in the CLI: dstrack ... --reader <reader_identifier>.
  3. Let dstrack discover entry points that match the tabular reader protocol. This might require more effort from users as they have to declare the entry points in their codebase.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions