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

[ez][hud][ch] Fix numbers being converted to strings #5604

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Aug 28, 2024

Fixes the issue discussed here #5566 (comment) (ints being converted to string by json)

The behavior is documented here: https://clickhouse.com/docs/en/integrations/language-clients/javascript#integral-types-int64-int128-int256-uint64-uint128-uint256

It is to protect against some datatypes being larger than Number.MAX_SAFE_INTEGER, but this value is 9007199254740991 (2^53 - 1) which is pretty large

Testing out ghstack --direct again

[ghstack-poisoned]
@clee2000
Copy link
Contributor Author

clee2000 commented Aug 28, 2024

Copy link

vercel bot commented Aug 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2024 7:31pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 28, 2024
@clee2000 clee2000 requested a review from a team August 28, 2024 19:35
@clee2000 clee2000 changed the title [hud][ch] Fix numbers being converted to strings [ez][hud][ch] Fix numbers being converted to strings Aug 28, 2024
@clee2000 clee2000 merged commit 8f429bc into main Aug 28, 2024
7 checks passed
@clee2000 clee2000 deleted the gh/clee2000/3/head branch August 28, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants