Closed anuveyatsu closed 6 years ago
TESTED:
Everything is fixed except Number type.
1.0
is rendered as 1
Tested on datahub.io and on testing.datahub.io
@anuveyatsu
@AcckiyGerman I left it for a reason. We still want to have some values converted to JS objects, e.g., we want Number type to not be String so we can use the values in graphs. But 1.1
would still be 1.1
. Another example is Date, sometimes you can have some unusual format but it gets rendered in ISO format. Why? Because otherwise, we wouldn't be able to use those date values in the graphs again.
I guess I should edit the issue desctiption so you can close the issue.
Thanks for update.
I just checked that Numbers values is the same in result data. If it is render 1
instead 1.0
only on the frontend - that's OK
FIXED:
Different data types are rendered properly in the preview table. Only exception is 1.0
-> 1
for using this values in the graphs.
When rendering data types below, the values are getting converted:
[1]
is rendered as1
{"one": 1}
is rendered as[object Object]
2018-01
is rendered as2018, 1
How to reproduce
Expected behavior