Skip to content

Conversation

jblomer
Copy link
Contributor

@jblomer jblomer commented Oct 2, 2025

When matching the in-memory field to the on-disk field fails, print a trace of the type hierarchy in-memory and on-disk that helps users to pinpoint the violating sub field.

Follow-up of #19937 (review)

@jblomer jblomer self-assigned this Oct 2, 2025
Copy link

github-actions bot commented Oct 2, 2025

Test Results

    22 files      22 suites   3d 20h 49m 10s ⏱️
 3 684 tests  3 684 ✅ 0 💤 0 ❌
79 153 runs  79 153 ✅ 0 💤 0 ❌

Results for commit daddb67.

return (actualTypeName == ROOT::Internal::GetRenormalizedTypeName(ROOT::Internal::GetDemangledTypeName(ti)));
}

std::string ROOT::Internal::GetTypeTraceReport(const RFieldBase &field, const RNTupleDescriptor &desc)
Copy link
Member

Choose a reason for hiding this comment

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

Could we/Should we add a test that this routine print what we want it to print?

Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

LGTM (delta the missing test and/or sample output in the commit)

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.

2 participants