Neville Dipale created ARROW-10041:
--------------------------------------
Summary: [Rust] Possible to create LargeStringArray with
DataType::Utf8
Key: ARROW-10041
URL: https://issues.apache.org/jira/browse/ARROW-10041
Project: Apache Arrow
Issue Type: Bug
Components: Rust
Affects Versions: 1.0.1
Reporter: Neville Dipale
We don't perform enough checks on ArrayData when creating StringArray and
LargeStringArray. As they use different integer sizes for offsets, this can
create a problem where Offset<Vec<i32>> could be correctly reinterpreted as
Offset<Vec<i64>> and vice versa.
We should add checks that pervent this. The same might apply for List and
LargeList
--
This message was sent by Atlassian Jira
(v8.3.4#803005)