File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
ydb/core/tx/columnshard/engines/portions Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,19 @@ TPortionDataAccessor TPortionInfoConstructor::Build(const bool needChunksNormali
1313 AFL_VERIFY (!Constructed);
1414 Constructed = true ;
1515
16+ MetaConstructor.ColumnRawBytes = 0 ;
17+ MetaConstructor.ColumnBlobBytes = 0 ;
18+ MetaConstructor.IndexRawBytes = 0 ;
19+ MetaConstructor.IndexBlobBytes = 0 ;
20+
1621 MetaConstructor.RecordsCount = GetRecordsCount ();
1722 for (auto && r : Records) {
18- MetaConstructor.ColumnRawBytes += r.GetMeta ().GetRawBytes ();
19- MetaConstructor.ColumnBlobBytes += r.GetBlobRange ().GetSize ();
23+ * MetaConstructor.ColumnRawBytes += r.GetMeta ().GetRawBytes ();
24+ * MetaConstructor.ColumnBlobBytes += r.GetBlobRange ().GetSize ();
2025 }
2126 for (auto && r : Indexes) {
22- MetaConstructor.IndexRawBytes += r.GetRawBytes ();
23- MetaConstructor.IndexBlobBytes += r.GetDataSize ();
27+ * MetaConstructor.IndexRawBytes += r.GetRawBytes ();
28+ * MetaConstructor.IndexBlobBytes += r.GetDataSize ();
2429 }
2530
2631 std::shared_ptr<TPortionInfo> result (new TPortionInfo (MetaConstructor.Build ()));
You can’t perform that action at this time.
0 commit comments