-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Spec - Add -1 to Manifest Entry's data_file.record_count to indicate unknown #3284
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
Closed
kbendick
wants to merge
4
commits into
apache:master
from
kbendick:update-datafile-recordcount-spec-for-unknown
Closed
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
a204f31
Spec - Add -1 to data_file.record_count to indicate unknown record co…
kbendick 4924662
Remove added period
kbendick fd501ab
Move -1 to be in description and match the language of row-oriented f…
kbendick 20b9cc3
Simply mention that -1 is unknown without mentioning details
kbendick 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 hidden or 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
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.
Shouldn't it be added to the last column? (description)
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 did that initially, but there are a few places that place it under description.
However, those are arguably placed under
Typeand notDescriptionbecause they're enums, whereas this is just one possible magic value (so I personally agree thatdescriptionis the better column for this).That's mostly why I made this a draft actually 😅
Here's an example of the values being in
Type:iceberg/site/docs/spec.md
Line 488 in 86350db
As well as here:
iceberg/site/docs/spec.md
Lines 374 to 378 in 86350db
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.
But since this is just a caveat on one magic value, I do tend to agree with you.
I'm open to either. Given it's the spec, I figured I'd let others weigh in.
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 updated it to be in
Description@szehon-ho. I copied language similar to an entry a few lines down.