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

mechanism to handle entries with Number=X where X > 1 #1

Open
brentp opened this issue Mar 10, 2016 · 0 comments
Open

mechanism to handle entries with Number=X where X > 1 #1

brentp opened this issue Mar 10, 2016 · 0 comments

Comments

@brentp
Copy link
Member

brentp commented Mar 10, 2016

For fixed numbers, e.g. Number=2, we could create two fields, so

##INFO=<ID=abc,Number=2,Type=Float,...>

we could have in the database

abc_1 FLOAT
abc_2 FLOAT

or we could have an additional table with a many-to-1, that would give an additional table to join to for every column that had Number != 1.

I think the best option is to default to database type = VARCHAR for stuff with Number > 1 but allow a --force-split option or something similar so the user can specify arguments that they want to be split into sepearate columns as for abc above.

--force-split abc --force-split dp4

etc.

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

1 participant