Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to convert schema #58

Open
joosthooz opened this issue Aug 25, 2022 · 3 comments
Open

Add functionality to convert schema #58

joosthooz opened this issue Aug 25, 2022 · 3 comments
Assignees

Comments

@joosthooz
Copy link
Collaborator

Following up on #36
We would like to be able to convert columns in a dataset to some type specified by the user. This could for example be done by allowing the user to specify a schema on the cmdline, that is used to convert the dataset to if it is different from the schema in the dataset itself.

One challenge is how to store this modified dataset, because there is no place for this in the directory structure.

@alistaire47
Copy link
Collaborator

I wonder if we're headed towards using a hash of the metadata as a dirname

@joosthooz joosthooz self-assigned this Sep 6, 2022
@joosthooz
Copy link
Collaborator Author

I wonder if we're headed towards using a hash of the metadata as a dirname

Yes, it will become very challenging to distinguish between instances of a certain dataset with different schema's... Besides that, we need to take into account that 1) some properties are optional (but we can fix that with defaults) and 2) users should be able to prune entries and right now, they can just use the directory structure to prune multiple entries underneath a given directory.

@joosthooz
Copy link
Collaborator Author

Update: with #62 a uuid is now generated as dirname to store dataset variants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants