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

Document enumeration path map in the spec. #5203

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

teo-tsirpanis
Copy link
Member

@teo-tsirpanis teo-tsirpanis commented Jul 19, 2024

SC-51428

I noticed that the array schema format specification does not include the enumeration name-path map introduced in #4051. This PR updates the documentation.

I used the term "enumeration filename" to describe the string written after the enumeration name because it is just the file's name, and updated previous usages of "enumeration pathname" or "enumeration URI" in code.


TYPE: NO_HISTORY
DESC: Added documentation for the enumeration path map in array scehmas, present since format version 20.

@teo-tsirpanis teo-tsirpanis requested a review from KiterLuc July 19, 2024 18:30
Comment on lines +756 to +765
// enumeration_num (uint32_t)
// enumeration_name_length #1 (uint32_t)
// enumeration_name_chars #1 (string)
// enumeration_filename_length #1 (uint32_t)
// enumeration_filename_chars #1 (string)
// enumeration_name_length #2 (uint32_t)
// enumeration_name_chars #2 (string)
// enumeration_filename_length #2 (uint32_t)
// enumeration_filename_chars #2 (string)
// ...
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe these inline storage format comments should be removed. There must be a single source of truth for the storage format, and that will be in format_spec.

@KiterLuc KiterLuc merged commit 378cae1 into dev Jul 25, 2024
64 checks passed
@KiterLuc KiterLuc deleted the teo/enumeration-path-map-spec branch July 25, 2024 12:17
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 this pull request may close these issues.

2 participants