ArrayData::from_pyarrow Should Validate ArrayData
Open
bug
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 1.3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 169
Description
**Describe the bug**
ArrayData::from_pyarrow does not perform any validation of the data that it is fed, this allows constructing an invalid ArrayData using safe APIs, violating soundness.
**To Reproduce**
**Expected behavior**
We should probably provide an `unsafe` unchecked version of this API, with a corresponding safe version that performs validation
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.