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

Import error when frequency value too big #159

Closed
shreema26 opened this issue Dec 12, 2023 · 3 comments
Closed

Import error when frequency value too big #159

shreema26 opened this issue Dec 12, 2023 · 3 comments
Assignees
Labels

Comments

@shreema26
Copy link

usagi

Encountering an issue with the input string, resulting in an error, as seen in the attached screenshot. The same error persists for the first row of the description column in multiple CSV files.

@janblom janblom self-assigned this Dec 12, 2023
@janblom janblom added the bug label Dec 12, 2023
@MaximMoinat
Copy link
Collaborator

See also #148. A very quick (and a bit dirty) fix is to preprocess the input file and report the frequency in thousands or millions.

@shreema26
Copy link
Author

Hi @MaximMoinat
I saw the solution in #148 where you have given solution that "The frequency is stored in an int, and the maximum value of a Java integer is 2^31-1 = 2,147,483,647. Probably any frequency exceeding this will raise the above error.

We should either change the data type to a big integer OR raise a more insightful error."
In my case no frequency is exceeding 2,147,483,647.

@MaximMoinat
Copy link
Collaborator

@janblom FYI: the issue is not about frequency value being too big, but input string being not numeric ('excision of lump').
image

@MaximMoinat MaximMoinat closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants