File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1077,6 +1077,7 @@ ROOT::Internal::RPagePersistentSink::InitFromDescriptor(const ROOT::RNTupleDescr
10771077{
10781078 // Create new descriptor
10791079 fDescriptorBuilder .SetSchemaFromExisting (srcDescriptor);
1080+ fDescriptorBuilder .SetVersionForWriting ();
10801081 const auto &descriptor = fDescriptorBuilder .GetDescriptor ();
10811082
10821083 // Create column/page ranges
@@ -1215,6 +1216,8 @@ ROOT::Internal::RPagePersistentSink::AddColumnRepresentation(const ROOT::RFieldD
12151216 ++columnIndex;
12161217 }
12171218
1219+ fDescriptorBuilder .EnsureValidDescriptor ().ThrowOnError ();
1220+
12181221 return firstPhysicalIndex;
12191222}
12201223
@@ -1238,6 +1241,8 @@ void ROOT::Internal::RPagePersistentSink::AddAliasColumn(const ROOT::RNTupleDesc
12381241 .FirstElementIndex (pointedColumn.GetFirstElementIndex ())
12391242 .RepresentationIndex (pointedColumn.GetRepresentationIndex ());
12401243 fDescriptorBuilder .AddColumn (columnBuilder.MakeDescriptor ().Unwrap ());
1244+
1245+ fDescriptorBuilder .EnsureValidDescriptor ().ThrowOnError ();
12411246}
12421247
12431248void ROOT::Internal::RPagePersistentSink::CommitSuppressedColumn (ColumnHandle_t columnHandle)
You can’t perform that action at this time.
0 commit comments