You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/08 13:09:15 UTC

[GitHub] [arrow-rs] HaoYang670 opened a new issue, #2026: The `DecimalArrayBuilder` should use `FixedSizedBinaryBuilder`

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   Currently, the decimal array builder use `FixedSizedListBuilder`. This is not a good solution because:
   1. `DecimalArray::from_fixed_size_list_array` is a “dangerous” function: The null buffer of the child data is dropped.
   2. More space is occupied: To build a fixed size list array, we have to create another child array data. But what we need is just the value buffer
   
   **Describe the solution you'd like**
   - [ ] add new function DecimalArray::from_fixed_size_binary_array`
   - [ ] Update the decimal builder to use `FixedSizedBinaryBuilder`
   - [ ] **Optional**, deprecate `DecimalArray::from_fixed_size_list_array`
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features you've considered.
   
   **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


[GitHub] [arrow-rs] tustvold closed issue #2026: The `DecimalArrayBuilder` should use `FixedSizedBinaryBuilder`

Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2026: The `DecimalArrayBuilder` should use `FixedSizedBinaryBuilder`
URL: https://github.com/apache/arrow-rs/issues/2026


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