Closed
Description
This is part of the larger project to implement StringViewArray
-- see #5374
After #5468 we will next need to implement StringViewArray
For inspiration I think you can look at #4585
(specifically arrow-array/src/array/byte_view_array.rs
https://github.com/apache/arrow-rs/pull/4585/files#diff-160ecd8082d5d28081f01cdb08a898cb8f49b17149c7118bf96746ddaae24b4f)
Basic tasks:
- Create
Utf8ViewArray
and implementArray
for it. This should follow the outline from Add StringViewArray and BinaryViewArray (#4253) #4585 and implement a similar API toStringArray
https://docs.rs/arrow/latest/arrow/array/type.StringArray.html - Add documentaton for new array, with documentation
- Examples of constructing the array in docs
- Tests for basic creation APIs (like
new()
andnew_unchecked
,value()
,is_null()
etc).
Potentially: implement pretty printing for Utf8ViewArray
via ArrayFormatter
, though this could be done as a separate ticket / PR.