Skip to content
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

Write last index segment in footer for body partitions flavour #34

Closed
philipnbbc opened this issue Sep 7, 2023 · 0 comments · Fixed by #35
Closed

Write last index segment in footer for body partitions flavour #34

philipnbbc opened this issue Sep 7, 2023 · 0 comments · Fixed by #35

Comments

@philipnbbc
Copy link
Collaborator

#30 changed OP1a to always write the last index table segment in a index-only body partition and not in the footer partition. That change needs to be partially reverted because it broke compatibility with RDD 44 section 5.3.2 which states that for files that are not segmented "In such a file, all Index Tables shall be stored in the Footer Partition, the Header Partition, or both.".

For the body partition flavour, if there are multiple index table segments and the index is repeated, then the last index table segment is written to a index-only body partition. Otherwise the last index table segment is written to the footer partition. If there is only 1 index table segment then it will be written to the footer partition, whether index repetition is selected or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant