update GetColumnRange api

This commit is contained in:
silverweed 2024-07-16 14:37:26 +02:00
parent 4aaaf2ee59
commit 83ea4a0096

View file

@ -109,9 +109,7 @@ void gather_metadata(Arena *arena, RMicroFileReader &reader, const RNTuple_File_
}
++n_clusters;
// for (const RClusterDescriptor::RColumnRange &col_range : cluster_desc.GetColumnRangeIterable()) {
for (auto col_id : cluster_desc.GetColumnIds()) {
const auto &col_range = cluster_desc.GetColumnRange(col_id);
for (const RClusterDescriptor::RColumnRange &col_range : cluster_desc.GetColumnRangeIterable()) {
// insert page infos sorted by byte range
// @Speed: this is slow! speed it up!
const auto &page_range = cluster_desc.GetPageRange(col_range.fPhysicalColumnId);