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 #148

Open
MaximMoinat opened this issue May 16, 2022 · 2 comments
Open

Import error when frequency value too big #148

MaximMoinat opened this issue May 16, 2022 · 2 comments
Labels

Comments

@MaximMoinat
Copy link
Collaborator

As reported by Carlos Augusto Lima de Campos on the OHDSI Forums.

image

image

Problem does not occur when the frequency is imported as millions (i.e. 31429).

@MaximMoinat
Copy link
Collaborator Author

MaximMoinat commented May 16, 2022

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.

@carlosalcampos
Copy link

Thanks @MaximMoinat !

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

2 participants