You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Part of #5374
@XiangpengHao implemented optimized row format --> ByteView (StringView / BinaryView) encoding/decoding in #5945 / #6044
It also adds benchmarks so we can test🎉
However, as mentioned in https://github.com/apache/arrow-rs/pull/6044/files#r1676803119 the output array in #6044 will have both short and long strings even though only the long strings are used in the view definition (the short strings are included to do fast utf8 validation)
This results in more memory used for the output array than neccessary
Describe the solution you'd like
reduce memory required by output array
Describe alternatives you've considered
One idea is to use a separate utf8 validation buffer for short strings, similarly to
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Part of #5374
@XiangpengHao implemented optimized row format --> ByteView (StringView / BinaryView) encoding/decoding in #5945 / #6044
It also adds benchmarks so we can test🎉
However, as mentioned in https://github.com/apache/arrow-rs/pull/6044/files#r1676803119 the output array in #6044 will have both short and long strings even though only the long strings are used in the view definition (the short strings are included to do fast utf8 validation)
This results in more memory used for the output array than neccessary
Describe the solution you'd like
reduce memory required by output array
Describe alternatives you've considered
One idea is to use a separate utf8 validation buffer for short strings, similarly to
arrow-rs/parquet/src/arrow/array_reader/byte_view_array.rs
Lines 623 to 668 in 0002b4d
Additional context
The text was updated successfully, but these errors were encountered: