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
update NumberDataPoint to support DoubleVal and IntVal #3689
update NumberDataPoint to support DoubleVal and IntVal #3689
Conversation
4274350
to
096ba31
Compare
096ba31
to
a7fcf19
Compare
a7fcf19
to
e7f06ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM only 2 minor comments
tv.SetDoubleVal(float64(17.13)) | ||
tv.SetIntVal(int64(17)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be only one set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SetDoubleVal for now, added a TODO to remember to test with both int and double values in the future.
e7f06ca
to
e1058b2
Compare
Description: updating NumberDataPoint to support both Double and Int, this is a stepping stone to remove IntDataPoint altogether.
Link to tracking Issue: Part of #3534