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

64-bit integers are rounded before displaying #220

Open
adamhooper opened this issue Nov 9, 2020 · 0 comments
Open

64-bit integers are rounded before displaying #220

adamhooper opened this issue Nov 9, 2020 · 0 comments

Comments

@adamhooper
Copy link
Contributor

Steps to reproduce:

  1. Add a Twitter Step
  2. Duplicate the "id" column and convert it to text

Expected results: the Text "id" column and Number "id" column have the same values
Actual results: the Text "id" values are correct; the Number ones are incorrect

The problem: we send 64-bit integers as JSON, and the browser's parser converts them to Float and then converts them back to Integer to display them -- losing precision.

Solution: let's use a BigInt-compatible library for parsing JSON table data from the server.

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