-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
[sql lab] handle large ints, prevent overflow #5829
Conversation
@@ -86,13 +86,6 @@ describe('async actions', () => { | |||
expect(dispatch.args[0][0].type).to.equal(actions.START_QUERY); | |||
}); | |||
|
|||
it('calls querySuccess on ajax success', () => { |
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.
Was a dupe to test on line 58
Codecov Report
@@ Coverage Diff @@
## master #5829 +/- ##
==========================================
- Coverage 63.75% 63.74% -0.01%
==========================================
Files 374 374
Lines 23320 23322 +2
Branches 2608 2608
==========================================
Hits 14867 14867
- Misses 8440 8442 +2
Partials 13 13
Continue to review full report at Codecov.
|
426bca3
to
ab6bef7
Compare
Nice! |
@mistercrunch this has to be adde back to |
I think the easiest way to support this is by exposing |
@williaster the issue is around JSON parsing when JSON contains big integer. JS does not support large ints and just overflows (number parsed out is different to the number in the JSON). |
* [sql lab] handle large ints, prevent overflow * Fix tests (cherry picked from commit 039e7c5)
* [sql lab] handle large ints, prevent overflow * Fix tests
* [sql lab] handle large ints, prevent overflow * Fix tests
No description provided.