Skip to content

Conversation

@jblomer
Copy link
Contributor

@jblomer jblomer commented Nov 7, 2025

Fixes #20282

In the templated version of the RClassField, the type name passed to
TClass::GetClass() must not use the RNTuple normalized name but the
demangled name or the meta normalized name. Otherwise, RNTuple may
normalize, e.g., `long long` to `std::int64_t`, which in turn gets
normalized by Meta to `unsigned long`.
@jblomer jblomer self-assigned this Nov 7, 2025
@jblomer jblomer force-pushed the ntuple-fix-streamer-info branch from e93e580 to 4be5f02 Compare November 7, 2025 12:36
@jblomer jblomer requested a review from bellenot as a code owner November 7, 2025 12:36
@jblomer jblomer force-pushed the ntuple-fix-streamer-info branch from 4be5f02 to 86ffa2a Compare November 7, 2025 12:46
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results

    21 files      21 suites   3d 15h 18m 42s ⏱️
 3 741 tests  3 741 ✅ 0 💤 0 ❌
76 697 runs  76 697 ✅ 0 💤 0 ❌

Results for commit 1f6a481.

♻️ This comment has been updated with latest results.

Get the streamer info records of class fields and streamer fields from
their meta (TClass) normalized name. Previously, the names came from
the descriptor, which has them already RNTuple normalized.
@jblomer jblomer force-pushed the ntuple-fix-streamer-info branch from 86ffa2a to 1f6a481 Compare November 8, 2025 20:27
Copy link
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

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

LGTM; still an open question for IsCustomClass, but feel free to keep the function for now and resolve the thread

@jblomer jblomer merged commit b0357ff into root-project:master Nov 10, 2025
26 of 27 checks passed
@jblomer jblomer deleted the ntuple-fix-streamer-info branch November 10, 2025 16:00
@makortel
Copy link

Thanks! Could we have this PR backported to 6.36?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ntuple] use meta normalized name for streamer info records

3 participants