Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix test withno appdata #991

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ TConclusionStatus TGeneralCompactColumnEngineChanges::DoConstructBlobs(TConstruc
NChanges::TGeneralCompactionCounters::OnPortionsKind(insertedPortionsSize, compactedPortionsSize, otherPortionsSize);
NChanges::TGeneralCompactionCounters::OnRepackPortions(portionsCount, portionsSize);

if (AppDataVerified().ColumnShardConfig.GetUseChunkedMergeOnCompaction()) {
if (!HasAppData() || AppDataVerified().ColumnShardConfig.GetUseChunkedMergeOnCompaction()) {
BuildAppendedPortionsByChunks(context);
} else {
BuildAppendedPortionsByFullBatches(context);
Expand Down
10 changes: 5 additions & 5 deletions ydb/core/tx/columnshard/engines/ut_insert_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class TTestInsertTableDB : public IDbWrapper {
return true;
}

void WriteColumn(ui32, const TPortionInfo&, const TColumnRecord&) override {}
void EraseColumn(ui32, const TPortionInfo&, const TColumnRecord&) override {}
bool LoadColumns(ui32, const std::function<void(const TPortionInfo&, const TColumnChunkLoadContext&)>&) override { return true; }
void WriteColumn(const TPortionInfo&, const TColumnRecord&) override {}
void EraseColumn(const TPortionInfo&, const TColumnRecord&) override {}
bool LoadColumns(const std::function<void(const TPortionInfo&, const TColumnChunkLoadContext&)>&) override { return true; }

void WriteCounter(ui32, ui32, ui64) override {}
bool LoadCounters(ui32, const std::function<void(ui32 id, ui64 value)>&) override { return true; }
void WriteCounter(ui32, ui64) override {}
bool LoadCounters(const std::function<void(ui32 id, ui64 value)>&) override { return true; }
};

}
Expand Down
Loading