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

Enhance Variables to support Integer/Float #545

Closed
wbari opened this issue Mar 2, 2017 · 2 comments
Closed

Enhance Variables to support Integer/Float #545

wbari opened this issue Mar 2, 2017 · 2 comments

Comments

@wbari
Copy link
Contributor

wbari commented Mar 2, 2017

Currently Variables inside VariableSet and AnnotationSet support the following data types:
CATEGORICAL, NUMERIC, OBJECT, BOOLEAN, TEXT. Integer, float, double, long all are supported under NUMERIC category and doesn't respect datatype on persistence. User would like to distinguish among these data types, store data with proper type and later retrieve it as well.

For example : INTEGER 1 must be stored as 1 and returned as 1 as well whereas Double 2.0 must be stored as double and returned as 2.0

@pfurio pfurio self-assigned this May 9, 2017
@pfurio pfurio added this to the v1.1.0 milestone May 9, 2017
@pfurio pfurio closed this as completed in 51a5127 May 9, 2017
@pfurio
Copy link
Member

pfurio commented May 9, 2017

NUMERIC variable type has been removed and two new variables have been added, INTEGER and DOUBLE as can be seen here.

  • A migration script will be needed to change existing NUMERIC variable types for DOUBLE

@pfurio
Copy link
Member

pfurio commented May 16, 2017

Migration script can be found in https://gist.github.com/pfurio/ace5d31a4f42750801ac4070bd830e8b

@pfurio pfurio closed this as completed May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants