Skip to content

Commit

Permalink
TPortionInfo::GetRecordsCount speed up (ydb-platform#9614)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored and zverevgeny committed Jan 5, 2025
1 parent 0eda71a commit 74a0c3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/tx/columnshard/engines/portions/portion_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ class TPortionInfo {
if (!columnIdFirst || *columnIdFirst == i.ColumnId) {
result += i.GetMeta().GetNumRows();
columnIdFirst = i.ColumnId;
} else {
break;
}
}
return result;
Expand Down

0 comments on commit 74a0c3d

Please sign in to comment.