-
Notifications
You must be signed in to change notification settings - Fork 14
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
test: memoryview of Apache Arrow buffers (#9) #11
test: memoryview of Apache Arrow buffers (#9) #11
Conversation
725d40c
to
4e3a6f2
Compare
The failure seems to be at this line, with |
It looks like the |
Ok, putting some debugging into PyO3 clarifies this. The issue is that the PyArrow buffer has a signed char type. You can see that like this:
Here's the table of format specifiers. Compare that to regular unsigned char format of a regular bytes object:
That leads to a fix. If I replace |
I think it will be a good approach, in the end, it's just bytes that will be processed, the type information will probably be lost (in the blake library) and nobody should be making any memory copies. |
I've pushed beb4e32, which includes a fix and some tests, so I'll close out this PR. Thanks for pointing me to this! |
Great, thanks! Are you planning a release soon?
(from mobile phone)
…On Sat, 12 Sep 2020, 02:28 oconnor663, ***@***.***> wrote:
I've pushed beb4e32
<beb4e32>,
which includes a fix and some tests, so I'll close out this PR. Thanks for
pointing me to this!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANPEPLN63TVJWPG56HT2ZDSFK6BNANCNFSM4RHJ3UPQ>
.
|
Just pushed version 0.1.7 :) |
This tests the issue mentioned in #9, which gives me