-
Couldn't load subscription status.
- Fork 118
refactor: remove storing UUID in LogPathFileType::UuidCheckpoint #1317
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
refactor: remove storing UUID in LogPathFileType::UuidCheckpoint #1317
Conversation
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.
Just one nit :)
Co-authored-by: OussamaSaoudi <[email protected]>
| ["checkpoint", uuid, "json" | "parquet"] => { | ||
| let uuid = parse_path_part(uuid, UUID_PART_LEN, url)?; | ||
| LogPathFileType::UuidCheckpoint(uuid) | ||
| let _ = parse_path_part::<String>(uuid, UUID_PART_LEN, url)?; |
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.
Do we actually care that it's a valid UUID if we never use it for anything but a filename?
(but the Delta spec does say it must be a UUID, so I guess we have to)
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.
Yeah I think we might as well verify it
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1317 +/- ##
==========================================
- Coverage 84.81% 84.79% -0.03%
==========================================
Files 113 113
Lines 28647 28642 -5
Branches 28647 28642 -5
==========================================
- Hits 24297 24286 -11
- Misses 3196 3197 +1
- Partials 1154 1159 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
LGTM! thanks!
Fixes #1307