diff --git a/arrow/src/ipc/convert.rs b/arrow/src/ipc/convert.rs index 158a756ce4d..218d495113d 100644 --- a/arrow/src/ipc/convert.rs +++ b/arrow/src/ipc/convert.rs @@ -188,9 +188,9 @@ pub fn try_schema_from_ipc_buffer(buffer: &[u8]) -> Result { })?; Ok(fb_to_schema(ipc_schema)) } else { - Err(ArrowError::ParseError(format!( - "The buffer length is less than 4, parser buffer to Schema" - ))) + Err(ArrowError::ParseError( + "The buffer length is less than 4 and missing the continuation maker or length of buffer".to_string() + )) } }