Skip to content

Commit

Permalink
fix: minor bug of to_binary_with_type of List (#19571)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyufjh authored Nov 26, 2024
1 parent a3c2648 commit 4752db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/src/types/to_binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl ToBinary for ListRef<'_> {
buf.put_i32(1); // Has nulls?
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
buf.put_i32(1); // Offset of 1st dimension, starting from 1
for element in self.iter() {
match element {
None => {
Expand Down

0 comments on commit 4752db6

Please sign in to comment.