Skip to content

Commit

Permalink
Fixed clearing table stats after alter operaion (#10509)
Browse files Browse the repository at this point in the history
  • Loading branch information
aavdonkin authored Oct 18, 2024
1 parent 707927e commit f0a6e7f
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 f0a6e7f

Please sign in to comment.