-
Notifications
You must be signed in to change notification settings - Fork 421
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
fix: add sizeInBytes
to _last_checkpoint and change size
to # of actions
#1477
Conversation
ACTION NEEDED delta-rs follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
sizeInBytes
to _last_checkpoint and change size
to # of actionssizeInBytes
to _last_checkpoint and change size
to # of actions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the test is finding something is still wrong in the read path.
rust/src/action/mod.rs
Outdated
size: 0, | ||
parts: None, | ||
}); | ||
cp = Some(CheckPoint::new(version, 0, None)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wjones127 this was the culprit. Fixing...
cp = Some(CheckPoint::new(version, 0, None)); | |
cp = Some(CheckPoint::new(curr_ver, 0, None)); |
…actions The `size` field should be the number of actions stored in the checkpoint while `sizeInBytes` is used for the total size in bytes. Added `CheckPointBuilder` to make the creation of these easier to use. - Closes delta-io#1468
152800a
to
f58e2a0
Compare
Thanks @cmackenzie1! |
Description
The
size
field should be the number of actions stored in the checkpoint whilesizeInBytes
is used for the total size in bytes.Added
CheckPointBuilder
to make the creation of these easier to use.Related Issue(s)
Documentation
https://github.com/delta-io/delta/blob/master/PROTOCOL.md#last-checkpoint-file