Format: Add reserved field id to data_file#4750
Merged
rdblue merged 1 commit intoapache:masterfrom May 17, 2022
Merged
Conversation
Member
Author
|
@rdblue can you see if this is what you meant in this comment #3015 (comment)? Wasn't entirely sure |
rdblue
reviewed
May 17, 2022
| 1. Single-value serialization for lower and upper bounds is detailed in Appendix D. | ||
| 2. For `float` and `double`, the value `-0.0` must precede `+0.0`, as in the IEEE 754 `totalOrder` predicate. NaNs are not permitted as lower or upper bounds. | ||
| 3. If sort order ID is missing or unknown, then the order is assumed to be unsorted. Only data files and equality delete files should be written with a non-null order id. [Position deletes](#position-delete-files) are required to be sorted by file and position, not a table order, and should set sort order id to null. Readers must ignore sort order id for position delete files. | ||
| 4. The following field ids are reserved on `data_file`: 141. |
Contributor
There was a problem hiding this comment.
Oh, I see. This is for spec_id that doesn't actually appear in the file. This seems reasonable to me.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The generated field spec_id is added to data_file metadata table in #3015
As per #3015 (comment) , this is a late follow up to mark the field id as reserved.