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

The query result displays large numbers as NaN #6768

Open
starworks-readonly opened this issue Feb 15, 2024 · 2 comments
Open

The query result displays large numbers as NaN #6768

starworks-readonly opened this issue Feb 15, 2024 · 2 comments

Comments

@starworks-readonly
Copy link

Issue Summary

The query result in a table displays large numbers as NaN (e.g. U128(1e21)).

Steps to Reproduce

  1. For a clickhouse data source execute the query:
SELECT toString(toUInt128('1000000000000000000000')) as s, toUInt128('1000000000000000000000') as i
Screen Shot 2024-02-15 at 10 20 24 AM

The result displays string fine, while u128 result as NaN.

Technical details:

  • Redash Version: Version: 8.0.0+b32245 (a16f551)
  • Browser/OS: Brave, Mac
  • How did you install Redash: AWS image
@starworks-readonly
Copy link
Author

Same issue after upgrade to Version: 10.0.0 (9c928bd)

@eradman
Copy link
Collaborator

eradman commented Apr 18, 2024

This is a known problem with Numeral-js. The only solution we have at the moment is to build Redash with a patched version of this library; see #6731

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

2 participants