Skip to content

[ntuple] Schema evolution fixes - #23196

Open
jblomer wants to merge 3 commits into
root-project:masterfrom
jblomer:ntuple-fix-evolution
Open

[ntuple] Schema evolution fixes#23196
jblomer wants to merge 3 commits into
root-project:masterfrom
jblomer:ntuple-fix-evolution

Conversation

@jblomer

@jblomer jblomer commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #23146
Fixes #17713

@jblomer jblomer self-assigned this Aug 30, 2026
@jblomer
jblomer force-pushed the ntuple-fix-evolution branch 3 times, most recently from fe4b41b to a879404 Compare August 30, 2026 21:58
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown

Test Results

    21 files      21 suites   3d 0h 28m 11s ⏱️
 3 870 tests  3 868 ✅ 0 💤 2 ❌
71 374 runs  71 371 ✅ 1 💤 2 ❌

For more details on these failures, see this check.

Results for commit 4c9c7d4.

♻️ This comment has been updated with latest results.

@jblomer
jblomer force-pushed the ntuple-fix-evolution branch 3 times, most recently from 35b0064 to 1942bf1 Compare September 1, 2026 11:30
If during schema evolution a conversion streamer info is required, we
have to load the schema info records from the ROOT file. If the RNTuple
is loaded through the RMiniFile, this requires an extra call.

@hahnjo hahnjo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some considerations for simplification

Comment thread tree/ntuple/src/RFieldMeta.cxx Outdated
Comment on lines +555 to +558
if (fieldDesc.GetTypeVersion() != GetTypeVersion() || fieldDesc.GetTypeName() != GetTypeName()) {
// We need the on-disk streamer info for the conversion streamer info
pageSource.LoadStreamerInfo();
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this an optimization to only load the streamer infos when needed? How much would it cost to always load them when opening the file?

Comment thread tree/ntuple/src/RFieldMeta.cxx Outdated
@jblomer
jblomer force-pushed the ntuple-fix-evolution branch from 1942bf1 to 4c9c7d4 Compare September 2, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants