From 21a966e8b2e4074c1ea3ad27318bdf41b1b01ee5 Mon Sep 17 00:00:00 2001 From: liukun4515 Date: Wed, 31 Aug 2022 15:40:55 +0800 Subject: [PATCH] fix lint --- arrow/src/ipc/convert.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() + )) } }