Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rust): fix size_in_bytes in last_checkpoint_ to i64 #2649

Merged
merged 2 commits into from
Jul 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading