-
Notifications
You must be signed in to change notification settings - Fork 60
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!: add in-commit timestamps table properties #558
Merged
zachschuermann
merged 8 commits into
delta-io:main
from
zachschuermann:ict-table-property
Feb 6, 2025
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e4c68b9
add ict table property
zachschuermann c2bdd9e
Merge remote-tracking branch 'upstream/main' into ict-table-property
zachschuermann 8bd83e7
fix
zachschuermann e4201f2
address feedback
zachschuermann 2a2a79d
Merge remote-tracking branch 'upstream/main' into ict-table-property
zachschuermann 6e63f34
Merge branch 'main' into ict-table-property
zachschuermann 19d4d89
cleanup int parsing
zachschuermann bf7759d
Merge remote-tracking branch 'origin/ict-table-property' into ict-tab…
zachschuermann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
parse_uint
already returns an option. Why not just: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.
ah i actually had to think about this for a sec too lol - we actually want to return
None
in the case it doesn't parse. if we leave it as justparse_uint(v)
then it will set the value toNone
and returnSome
perhaps we should rethink this code and try to rewrite it more nicely considering both you and I have now stumbled on it :)
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.
Ah you're right! Thx for the clarification
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.
This also took a solid minute to grok, does the class/method have a doc comment explaining the intended behavior?
Basically, we want the entire method to return None if a required property fails to parse (indicating failure) -- not merely set that property to None (it was probably None already)?
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.
yep exactly. added a comment to clarify but given this has tripped up three of us now I think we should rewrite lol
made a quick issue: #682