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
Describe the bug
The error message should report the number of buffers instead of the arrays length:
if data.buffers().len() != 1 {
return Err(ArrowError::InvalidArgumentError(
format!("ListArray data should contain a single buffer only (value offsets), had {}",
data.len())));
}
To Reproduce
Try to create a ListArray using ArrayDataBuilder and make_array, but forgetting to add a buffer.
Expected behavior
Error message should contain the actual number of buffers.
The text was updated successfully, but these errors were encountered:
Describe the bug
The error message should report the number of buffers instead of the arrays length:
To Reproduce
Try to create a ListArray using ArrayDataBuilder and make_array, but forgetting to add a buffer.
Expected behavior
Error message should contain the actual number of buffers.
The text was updated successfully, but these errors were encountered: