Skip to content

Fix the big int parsing exception by treating big int as string. #5

Open
wants to merge 1 commit into from

1 participant

@calccalc

The big integers (above 2^31-1) in the input data crashed the learning program. This fix catches the exception then uses string instead of int to handle the input for the big integers.

@calccalc

Correction to the original description. The program actually didn't crash. It just printed the exception stack. But for some applications it's just stupid to discard all those fields that appear to be big int numbers. That's why I made this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.