-
Notifications
You must be signed in to change notification settings - Fork 35
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
Error with more than 2^31-1 observations #43
Comments
…teger bug * Closes #43 * Added option to selectively test via gtools, test[] * Gtools exits with error if `_N > 2^31-1` and points the user to the pertinent bug report. The SPI uses long integers (32-bit) instead of long long integers (64-bit) for its observation numbers (not to mention theyare signed integers, but alas). At any rate, this de facto limits the number of observations to 2^31-1.
Re-open because technically it hasn't been fixed. It just throws the correct error now. |
Any update on this bug - is it correctable now? |
@miserton Not afaik. I would contact StataCorp to ask about updates to this point, since I cannot fix it until they update the SPI. Sorry! |
I reached out to StataCorp:
Unless gtools could call the C code through Java or Python, it doesn't look like the 2.1B limitation will be overcome. |
@miserton That's a bit of a strange answer since changing stplugin.h in particular would only involve adding a long long type (and in my system long is 64-bit anyway). I always thought the issue were the internals, and that chancing the internal function to take 64-bit input was difficult for some reason. But I don't really know. In any case, you are right this is unlikely to be resolved any time soon, if ever. |
A bug in Stata causes gtools to exit with error if the user has more than 2^31-1 observations in memory. See this bug report.
I contacted StataCorp about it and they replied:
The text was updated successfully, but these errors were encountered: