Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Do not write empty validity in IPC. (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao authored Dec 17, 2021
1 parent 565cfae commit cc27dbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/io/ipc/write/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,7 @@ fn write_bitmap(
}
}
None => {
// in IPC, the null bitmap is always be present
let slice = vec![0u8; length.saturating_add(7) / 8];
write_bytes(&slice, buffers, arrow_data, offset, compression)
buffers.push(Schema::Buffer::new(*offset, 0));
}
}
}
Expand Down

0 comments on commit cc27dbe

Please sign in to comment.