You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2024/08/05 17:46:31 UTC

[I] Add functions to pack bit from arrays [arrow-nanoarrow]

WillAyd opened a new issue, #575:
URL: https://github.com/apache/arrow-nanoarrow/issues/575

   Looks like right now nanoarrow offers `ArrowBitsUnpackInt8` and `ArrowBitsUnpackInt32` to unpack a bitmap into int8 and int32 arrays, respectively. However, there is no function to go in the other direction, packing a bitmap from an array.
   
   I think this would be helpful to have for libraries that need to convert between bit and bytemasks, for example when try to interoperate between Arrow and NumPy


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add functions to pack bitmask from arrays [arrow-nanoarrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #575:
URL: https://github.com/apache/arrow-nanoarrow/issues/575#issuecomment-2269643680

   Ah OK cool - yea I think that makes sense as long as you are working with a bitmap with a size_bits of 0.
   
   Happy to close out as that works for my use case. Can leave it to future issues to refine this as needed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add functions to pack bitmask from arrays [arrow-nanoarrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd closed issue #575: Add functions to pack bitmask from arrays
URL: https://github.com/apache/arrow-nanoarrow/issues/575


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add functions to pack bitmask from arrays [arrow-nanoarrow]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #575:
URL: https://github.com/apache/arrow-nanoarrow/issues/575#issuecomment-2269604891

   I think this is `ArrowBitmapAppendInt8/32()`? (This could probably be improved and/or separated from the `ArrowBitmap`, though!)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org