You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "albertlockett (via GitHub)" <gi...@apache.org> on 2025/06/04 21:18:18 UTC

[I] Support `add_nulls` on additional builder types [arrow-rs]

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   I have a need to create array builders for many different types and then add some number of nulls to them. I noticed that only some builder types support `append_nulls`.
   
   **Describe the solution you'd like**
   I'd like it if there was an efficient way to add many nulls to my builder. Some builders expose an `add_nulls` method (like [BooleanBulder](https://docs.rs/arrow/latest/arrow/array/struct.BooleanBuilder.html#method.append_nulls) for example), while others do not, including:
   - FixedSizeBinaryDictionaryBuilder
   - FixedSizedBinaryBuilder
   - GenericBytesBuilder
   - GenericListBuilder
   - StructBuilder
   
   **Describe alternatives you've considered**
   call `append_null` many times.
   ```rs
   for _ in 0..n {
     builder.append_null();
   }
   ```
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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] Support `add_nulls` on additional builder types [arrow-rs]

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

   `label_issue.py` automatically added labels {'arrow'} from #7606


-- 
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] Support `add_nulls` on additional builder types [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7605: Support `add_nulls` on additional builder types
URL: https://github.com/apache/arrow-rs/issues/7605


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