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

[I] Would you be open to exposing the contents of BooleanBuilder? [arrow-rs]

HadrienG2 opened a new issue, #5757:
URL: https://github.com/apache/arrow-rs/issues/5757

   **Which part is this question about**
   API of `arrow_array::builder::BooleanBuilder`.
   
   **Describe your question**
   Unlike `PrimitiveBuilder`, `BooleanBuilder` does not expose a slice of values. I assume that is because the booleans are bit-packed and there was either fear of user confusion, or a desire to be able to change the storage representation later on. How open would you be to exposing these bits somehow, possibly behind an abstraction layer that hides the exact storage layout?
   
   **Additional context**
   This would enable a more uniform API in my prototype for #5700.


-- 
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] Would you be open to exposing the contents of BooleanBuilder? [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #5757: Would you be open to exposing the contents of BooleanBuilder?
URL: https://github.com/apache/arrow-rs/issues/5757


-- 
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] Would you be open to exposing the contents of BooleanBuilder? [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5757:
URL: https://github.com/apache/arrow-rs/issues/5757#issuecomment-2106323900

   I see no issue with exposing the bit packed representation in a read only fashion, we do this for validity anyway.


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