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

handle RNTupleCardinality field and add test file #209

Merged
merged 2 commits into from
Jan 28, 2023
Merged

Conversation

Moelf
Copy link
Member

@Moelf Moelf commented Jan 28, 2023

fix #208

We treat RNTupleCardinality as a special field type.

Except this field type is not uniquely identified with struct_role, it needs a combination of role and the underlying column type (is it Index32 or Index64).

Unfortunately, Column metadata is separate, so we have a bit of "dispatch by value" the situation at hand. See discussion also: root-project/root#12127 (comment)

@codecov
Copy link

codecov bot commented Jan 28, 2023

Codecov Report

Base: 90.00% // Head: 90.33% // Increases project coverage by +0.33% 🎉

Coverage data is based on head (36755c0) compared to base (591787b).
Patch coverage: 81.81% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #209      +/-   ##
==========================================
+ Coverage   90.00%   90.33%   +0.33%     
==========================================
  Files          18       18              
  Lines        2071     2091      +20     
==========================================
+ Hits         1864     1889      +25     
+ Misses        207      202       -5     
Impacted Files Coverage Δ
src/RNTuple/bootstrap.jl 95.69% <ø> (+6.00%) ⬆️
src/UnROOT.jl 100.00% <ø> (ø)
src/iteration.jl 87.15% <0.00%> (-0.81%) ⬇️
src/RNTuple/fieldcolumn_reading.jl 94.73% <81.81%> (-4.02%) ⬇️
src/RNTuple/fieldcolumn_schema.jl 96.10% <100.00%> (+6.10%) ⬆️
src/RNTuple/header.jl 93.75% <0.00%> (+6.25%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Moelf Moelf merged commit 175220a into master Jan 28, 2023
@Moelf Moelf deleted the RNTupleCardinality branch January 28, 2023 21:02
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.

RNTupleCardinality field not interpreted correction
1 participant