-
Notifications
You must be signed in to change notification settings - Fork 7
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
Can't handle resultset with 128 bit int #141
Comments
The solution is to consider mapping hge to Numpy object array |
adding a 128 bit column definition to our cffi layer:
is not supported by cffi:
|
Is it not possible to cast the array of int128 returned by monetdbe as a numpy structured array? In that case the array in memory is still properly aligned and in theory could directly be cased into an array of 128 bits integers if needed. E.g. if there is native implementation available on the user side to directly handle 128 bits. Otherwise the user can always access the individual high and low part of the huge integer through the structured array interface of numpy. |
one of the issues is that cffi doesn't support int128 directly yet, so we first need to work around that to even get access to values. |
keyerror_bug.zip
The text was updated successfully, but these errors were encountered: