Skip to content

Commit

Permalink
Fixed clearing table stats after alter operaion (ydb-platform#10509)
Browse files Browse the repository at this point in the history
  • Loading branch information
aavdonkin authored and zverevgeny committed Jan 5, 2025
1 parent 56becf9 commit 8442266
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/tx/schemeshard/olap/manager/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ void TTablesStorage::TTableExtractedGuard::UseAlterDataVerified() {
TColumnTableInfo::TPtr alterInfo = Object->AlterData;
Y_ABORT_UNLESS(alterInfo);
alterInfo->AlterBody.Clear();
auto stats = Object->Stats;
Object = alterInfo;
Object->Stats = stats;
}

std::unordered_set<TPathId> TTablesStorage::GetAllPathIds() const {
Expand Down

0 comments on commit 8442266

Please sign in to comment.