Skip to content

Commit

Permalink
feat(rust): fix size_in_bytes in last_checkpoint_ to i64 (#2649)
Browse files Browse the repository at this point in the history
# Description
see #2646 


# Related Issue(s)
closes #2646
  • Loading branch information
sherlockbeard authored Jul 6, 2024
1 parent 9370151 commit 59849dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/core/src/kernel/snapshot/log_segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,13 @@ struct CheckpointMetadata {
#[allow(unreachable_pub)] // used by acceptance tests (TODO make an fn accessor?)
pub version: i64,
/// The number of actions that are stored in the checkpoint.
pub(crate) size: i32,
pub(crate) size: i64,
/// The number of fragments if the last checkpoint was written in multiple parts.
pub(crate) parts: Option<i32>,
/// The number of bytes of the checkpoint.
pub(crate) size_in_bytes: Option<i32>,
pub(crate) size_in_bytes: Option<i64>,
/// The number of AddFile actions in the checkpoint.
pub(crate) num_of_add_files: Option<i32>,
pub(crate) num_of_add_files: Option<i64>,
/// The schema of the checkpoint file.
pub(crate) checkpoint_schema: Option<Schema>,
/// The checksum of the last checkpoint JSON.
Expand Down

0 comments on commit 59849dd

Please sign in to comment.