nevi-me commented on pull request #8560: URL: https://github.com/apache/arrow/pull/8560#issuecomment-721407466
I think we have a similar problem with building arrays from `ArrayDataBuilder` because when building `ArrayData`, we don't check if the length of the array corresponds with the buffer's length (or if it's even specified). So something like the below gets created, but ends up as a 0-len array ```rust // try build array data without specifying length ArrayData::builder(DataType::_).buffers(vec![buffer1, buffer2]).build() ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
