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

chore: miscellaneous RNTuple improvements #1250

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ariostas
Copy link
Collaborator

This PR addresses the issues in #1220. I fixed the __len__ method so that it returns the number of top-level columns instead of the number of entries, which is now the num_entries property.

I'll work on implementing an iterate method and update this description when it's ready.

Comment on lines +211 to +236
rntuple_locator_type_uri = 0x01
rntuple_locator_type_daos = 0x02

rntuple_env_type_header = 0x01
rntuple_env_type_footer = 0x02
rntuple_env_type_pagelist = 0x03
rntuple_env_type_metadata = 0x04

rntuple_field_role_leaf = 0x00
rntuple_field_role_vector = 0x01
rntuple_field_role_struct = 0x02
rntuple_field_role_union = 0x03
rntuple_field_role_unsplit = 0x04

rntuple_field_flag_repetitive = 0x01
rntuple_field_flag_projected = 0x02
rntuple_field_flag_checksum = 0x04

rntuple_col_flag_deferred = 0x08

rntuple_extra_type_identifier_root = 0x00

rntuple_user_metadata_type_int = 0x01
rntuple_user_metadata_type_bool = 0x02
rntuple_user_metadata_type_double = 0x03
rntuple_user_metadata_type_string = 0x04
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Maybe these should be enums

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.

RNtuple __len__ should return the number of keys, and have a num_entries property for the number of entries
1 participant