diff --git a/arrow-array/src/array/list_view_array.rs b/arrow-array/src/array/list_view_array.rs index 0d938e1a110..10228bf5c54 100644 --- a/arrow-array/src/array/list_view_array.rs +++ b/arrow-array/src/array/list_view_array.rs @@ -449,7 +449,9 @@ impl GenericListViewArray { } } else { return Err(ArrowError::InvalidArgumentError(format!( - "[Large]ListViewArray's datatype must be [Large]ListViewArray(). It is {:?}", + "{}ListViewArray's datatype must be {}ListViewArray(). It is {:?}", + OffsetSize::PREFIX, + OffsetSize::PREFIX, data.data_type() ))); }