Skip to content

Commit

Permalink
TPortionInfo::GetRecordsCount speed up (#9614)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Sep 23, 2024
1 parent 9918d3c commit bacb7fa
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 bacb7fa

Please sign in to comment.