Skip to content

Commit 9211935

Browse files
committed
rebase
1 parent 0f3f7ad commit 9211935

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

ydb/core/tx/columnshard/columnshard_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ class TCompactionExecutor: public NOlap::NDataFetcher::IFetchCallback {
567567
TActorContext::AsActorContext().Send(ParentActorId, std::move(ev));
568568
}
569569

570-
virtual std::optional<ui64> GetNecessaryDataMemory(const std::shared_ptr<NOlap::NReader::NCommon::TColumnsSetIds>& columnIds,
570+
virtual ui64 GetNecessaryDataMemory(const std::shared_ptr<NOlap::NReader::NCommon::TColumnsSetIds>& columnIds,
571571
const std::vector<NOlap::TPortionDataAccessor>& acc) const override {
572572
AFL_VERIFY(!columnIds);
573573
THashMap<ui32, ui64> memoryByColumns;

ydb/core/tx/columnshard/data_reader/fetcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class TPortionsDataFetcher: TNonCopyable {
6868
CurrentContext.GetMemoryProcessId(), CurrentContext.GetMemoryScopeId(), CurrentContext.GetMemoryGroupId(), { task }, 0);
6969
}
7070

71-
std::optional<ui64> GetNecessaryDataMemory(
71+
ui64 GetNecessaryDataMemory(
7272
const std::shared_ptr<NReader::NCommon::TColumnsSetIds>& columnIds, const std::vector<TPortionDataAccessor>& acc) const {
7373
return Callback->GetNecessaryDataMemory(columnIds, acc);
7474
}

ydb/core/tx/columnshard/engines/reader/plain_reader/iterator/source.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,7 @@ class TPortionDataSource: public IDataSource {
247247
}
248248

249249
virtual THashMap<TChunkAddress, TString> DecodeBlobAddresses(NBlobOperations::NRead::TCompositeReadBlobs&& blobsOriginal) const override {
250-
auto result = GetStageData().GetPortionAccessor().DecodeBlobAddresses(blobsOriginal, Schema->GetIndexInfo());
251-
AFL_VERIFY(blobsOriginal.IsEmpty())("blobs", blobsOriginal.DebugString());
252-
return result;
250+
return GetStageData().GetPortionAccessor().DecodeBlobAddresses(std::move(blobsOriginal), Schema->GetIndexInfo());
253251
}
254252

255253
virtual ui64 GetColumnsVolume(const std::set<ui32>& columnIds, const EMemType type) const override {

ydb/core/tx/columnshard/engines/reader/simple_reader/iterator/source.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ class TPortionDataSource: public IDataSource {
411411
}
412412

413413
virtual THashMap<TChunkAddress, TString> DecodeBlobAddresses(NBlobOperations::NRead::TCompositeReadBlobs&& blobsOriginal) const override {
414-
THashMap<TChunkAddress, TString> result = GetStageData().GetPortionAccessor().DecodeBlobAddresses(blobsOriginal, Schema->GetIndexInfo());
415-
AFL_VERIFY(blobsOriginal.IsEmpty())("blobs", blobsOriginal.DebugString())("source", DebugJson().GetStringRobust());
416-
return result;
414+
return GetStageData().GetPortionAccessor().DecodeBlobAddresses(std::move(blobsOriginal), Schema->GetIndexInfo());
417415
}
418416

419417
virtual ui64 GetColumnsVolume(const std::set<ui32>& columnIds, const EMemType type) const override {

0 commit comments

Comments
 (0)