From eb0b1bce81472083e3b830223f163972cdfeeb96 Mon Sep 17 00:00:00 2001 From: Eric Fu Date: Tue, 19 Nov 2024 16:18:19 +0800 Subject: [PATCH] fix bug --- src/common/src/types/to_binary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/types/to_binary.rs b/src/common/src/types/to_binary.rs index 4deec3a829352..7c5e88dbc10cf 100644 --- a/src/common/src/types/to_binary.rs +++ b/src/common/src/types/to_binary.rs @@ -97,7 +97,7 @@ impl ToBinary for ListRef<'_> { let mut buf = BytesMut::new(); buf.put_i32(1); // Number of dimensions (must be 1) buf.put_i32(1); // Has nulls? - buf.put_i32(ty.to_oid()); // Element type + buf.put_i32(element_ty.to_oid()); // Element type buf.put_i32(self.len() as i32); // Length of 1st dimension buf.put_i32(0); // Offset of 1st dimension for element in self.iter() {